Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Stephan Herrmann | a1dd2df | 2017-12-05 20:11:07 +0100 | [diff] [blame^] | 3 | Copyright (c) 2012, 2016 Eclipse Foundation and others. |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 4 | All rights reserved. This program and the accompanying materials |
| 5 | are made available under the terms of the Eclipse Distribution License v1.0 |
| 6 | which accompanies this distribution, and is available at |
| 7 | http://www.eclipse.org/org/documents/edl-v10.php |
| 8 | |
| 9 | Contributors: |
| 10 | Igor Fedorenko - initial implementation |
| 11 | --> |
Stephan Herrmann | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 12 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 13 | <modelVersion>4.0.0</modelVersion> |
| 14 | <parent> |
| 15 | <artifactId>eclipse.jdt.core</artifactId> |
| 16 | <groupId>eclipse.jdt.core</groupId> |
Stephan Herrmann | a1dd2df | 2017-12-05 20:11:07 +0100 | [diff] [blame^] | 17 | <version>4.8.0-SNAPSHOT</version> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 18 | </parent> |
Stephan Herrmann | 396f334 | 2013-03-14 14:31:57 +0100 | [diff] [blame] | 19 | <groupId>org.eclipse.jdt</groupId> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 20 | <artifactId>org.eclipse.jdt.core</artifactId> |
Stephan Herrmann | a1dd2df | 2017-12-05 20:11:07 +0100 | [diff] [blame^] | 21 | <version>3.14.0-SNAPSHOT</version> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 22 | <packaging>eclipse-plugin</packaging> |
| 23 | |
Stephan Herrmann | 4c6c500 | 2013-09-12 23:09:47 +0200 | [diff] [blame] | 24 | <properties> |
| 25 | <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars> |
Stephan Herrmann | d4cbc68 | 2016-10-28 20:51:00 +0200 | [diff] [blame] | 26 | <code.ignoredWarnings>-warn:+fieldHiding,-unavoidableGenericProblems</code.ignoredWarnings> |
Stephan Herrmann | 4c6c500 | 2013-09-12 23:09:47 +0200 | [diff] [blame] | 27 | </properties> |
| 28 | |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 29 | <build> |
| 30 | <plugins> |
Stephan Herrmann | 309166a | 2013-06-07 21:35:48 +0200 | [diff] [blame] | 31 | <plugin> |
| 32 | <artifactId>maven-antrun-plugin</artifactId> |
| 33 | <executions> |
| 34 | <execution> |
| 35 | <phase>prepare-package</phase> |
| 36 | <configuration> |
| 37 | <tasks> |
| 38 | <replace token="bundle_qualifier," value="${buildQualifier}," dir="${project.build.directory}/classes"> |
Stephan Herrmann | 6a72b27 | 2013-07-14 17:29:27 +0200 | [diff] [blame] | 39 | <include name="org/eclipse/jdt/internal/compiler/batch/messages.properties"/> |
Stephan Herrmann | 309166a | 2013-06-07 21:35:48 +0200 | [diff] [blame] | 40 | </replace> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 41 | <replace token="bundle_version" value="${unqualifiedVersion}" dir="${project.build.directory}/classes"> |
Stephan Herrmann | 881bc14 | 2014-10-03 22:03:34 +0200 | [diff] [blame] | 42 | <include name="org/eclipse/jdt/internal/compiler/batch/messages.properties"/> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 43 | </replace> |
Stephan Herrmann | 309166a | 2013-06-07 21:35:48 +0200 | [diff] [blame] | 44 | </tasks> |
| 45 | </configuration> |
| 46 | <goals> |
| 47 | <goal>run</goal> |
| 48 | </goals> |
| 49 | </execution> |
| 50 | </executions> |
| 51 | </plugin> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 52 | <plugin> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 53 | <artifactId>maven-resources-plugin</artifactId> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 54 | <executions> |
| 55 | <execution> |
| 56 | <id>copy-batch-compiler-source</id> |
| 57 | <phase>package</phase> |
| 58 | <goals> |
| 59 | <goal>copy-resources</goal> |
| 60 | </goals> |
| 61 | <configuration> |
| 62 | <outputDirectory>${project.build.directory}/scripts/source</outputDirectory> |
| 63 | <resources> |
| 64 | <resource> |
| 65 | <directory>${project.basedir}/scripts/source</directory> |
| 66 | <filtering>true</filtering> |
| 67 | </resource> |
| 68 | </resources> |
| 69 | </configuration> |
| 70 | </execution> |
| 71 | </executions> |
| 72 | </plugin> |
| 73 | <plugin> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 74 | <groupId>org.eclipse.tycho.extras</groupId> |
| 75 | <artifactId>tycho-custom-bundle-plugin</artifactId> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 76 | <version>${tycho-extras.version}</version> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 77 | <executions> |
| 78 | <execution> |
| 79 | <id>antadapter</id> |
| 80 | <phase>package</phase> |
| 81 | <goals> |
| 82 | <goal>custom-bundle</goal> |
| 83 | </goals> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 84 | <configuration> |
| 85 | <archive> |
| 86 | <addMavenDescriptor>false</addMavenDescriptor> |
| 87 | </archive> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 88 | <bundleLocation>${project.basedir}/scripts/antadapter</bundleLocation> |
| 89 | <classifier>antadapter</classifier> |
| 90 | <fileSets> |
| 91 | <fileSet> |
| 92 | <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory> |
| 93 | <excludes> |
| 94 | <exclude>org/eclipse/jdt/core/CheckDebugAttributes*.*</exclude> |
| 95 | <exclude>org/eclipse/jdt/core/BuildJarIndex*.*</exclude> |
| 96 | </excludes> |
| 97 | </fileSet> |
| 98 | </fileSets> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | <execution> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 102 | <id>batch-compiler-src</id> |
| 103 | <phase>package</phase> |
| 104 | <goals> |
| 105 | <goal>custom-bundle</goal> |
| 106 | </goals> |
| 107 | <configuration> |
| 108 | <archive> |
| 109 | <addMavenDescriptor>false</addMavenDescriptor> |
| 110 | </archive> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 111 | <bundleLocation>${project.build.directory}/scripts/source</bundleLocation> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 112 | <classifier>batch-compiler-src</classifier> |
| 113 | <fileSets> |
| 114 | <fileSet> |
| 115 | <directory>${project.basedir}/batch</directory> |
| 116 | </fileSet> |
| 117 | <fileSet> |
| 118 | <directory>${project.basedir}/compiler</directory> |
| 119 | </fileSet> |
| 120 | <fileSet> |
| 121 | <directory>${project.basedir}/antadapter</directory> |
| 122 | <excludes> |
| 123 | <exclude>org/eclipse/jdt/core/CheckDebugAttributes.java</exclude> |
| 124 | <exclude>org/eclipse/jdt/core/BuildJarIndex.java</exclude> |
| 125 | </excludes> |
| 126 | </fileSet> |
| 127 | <fileSet> |
| 128 | <directory>${project.basedir}/../org.eclipse.jdt.compiler.tool/src</directory> |
| 129 | </fileSet> |
| 130 | <fileSet> |
| 131 | <directory>${project.basedir}/../org.eclipse.jdt.compiler.apt/src</directory> |
| 132 | </fileSet> |
| 133 | <fileSet> |
| 134 | <directory>${project.basedir}/scripts</directory> |
| 135 | <includes> |
| 136 | <include>about.html</include> |
| 137 | <include>build.xml</include> |
Stephan Herrmann | 35ce950 | 2014-06-05 16:16:02 +0200 | [diff] [blame] | 138 | <include>ecj.1</include> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 139 | </includes> |
| 140 | </fileSet> |
Stephan Herrmann | d4cbc68 | 2016-10-28 20:51:00 +0200 | [diff] [blame] | 141 | <fileSet> |
| 142 | <directory>${project.basedir}</directory> |
| 143 | <includes> |
| 144 | <include>scripts/binary/**</include> |
| 145 | </includes> |
| 146 | </fileSet> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 147 | </fileSets> |
| 148 | </configuration> |
| 149 | </execution> |
| 150 | <execution> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 151 | <id>batch-compiler</id> |
| 152 | <phase>package</phase> |
| 153 | <goals> |
| 154 | <goal>custom-bundle</goal> |
| 155 | </goals> |
| 156 | <configuration> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 157 | <archive> |
| 158 | <addMavenDescriptor>false</addMavenDescriptor> |
| 159 | </archive> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 160 | <bundleLocation>${project.basedir}/scripts/binary</bundleLocation> |
| 161 | <classifier>batch-compiler</classifier> |
| 162 | <fileSets> |
| 163 | <fileSet> |
Stephan Herrmann | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 164 | <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory> |
| 165 | <includes> |
| 166 | <include>META-INF/eclipse.inf</include> |
| 167 | </includes> |
| 168 | </fileSet> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 169 | <fileSet> |
| 170 | <directory>${project.basedir}/scripts</directory> |
| 171 | <includes> |
| 172 | <include>about.html</include> |
Stephan Herrmann | 35ce950 | 2014-06-05 16:16:02 +0200 | [diff] [blame] | 173 | <include>ecj.1</include> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 174 | </includes> |
| 175 | </fileSet> |
Stephan Herrmann | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 176 | <fileSet> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 177 | <directory>${project.build.directory}/classes</directory> |
| 178 | <includes> |
| 179 | <include>org/eclipse/jdt/internal/compiler/**</include> |
| 180 | <include>org/eclipse/jdt/core/compiler/**</include> |
| 181 | </includes> |
| 182 | <excludes> |
| 183 | <exclude>**/package.htm*</exclude> |
| 184 | <exclude>org/eclipse/jdt/core/compiler/CompilationParticipant*.class</exclude> |
| 185 | <exclude>org/eclipse/jdt/core/compiler/BuildContext.class</exclude> |
| 186 | <exclude>org/eclipse/jdt/core/compiler/IScanner.class</exclude> |
| 187 | <exclude>org/eclipse/jdt/core/compiler/ITerminalSymbols*.class</exclude> |
| 188 | <exclude>org/eclipse/jdt/core/compiler/ReconcileContext*.class</exclude> |
| 189 | <exclude>org/eclipse/jdt/internal/compiler/DocumentElementParser*.class</exclude> |
| 190 | <exclude>org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.class</exclude> |
| 191 | <exclude>org/eclipse/jdt/internal/compiler/ISourceElementRequestor*.class</exclude> |
| 192 | <exclude>org/eclipse/jdt/internal/compiler/SourceElementParser*.class</exclude> |
| 193 | <exclude>org/eclipse/jdt/internal/compiler/SourceElementRequestorAdapter*.class</exclude> |
| 194 | <exclude>org/eclipse/jdt/internal/compiler/SourceJavadocParser*.class</exclude> |
| 195 | <exclude>org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter*.class</exclude> |
| 196 | </excludes> |
| 197 | </fileSet> |
| 198 | </fileSets> |
| 199 | </configuration> |
| 200 | </execution> |
| 201 | </executions> |
| 202 | </plugin> |
| 203 | <plugin> |
| 204 | <groupId>org.eclipse.tycho</groupId> |
| 205 | <artifactId>tycho-p2-plugin</artifactId> |
| 206 | <version>${tycho.version}</version> |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 207 | <configuration> |
| 208 | <baselineMode>warn</baselineMode> |
| 209 | <baselineReplace>common</baselineReplace> |
| 210 | </configuration> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 211 | <executions> |
| 212 | <execution> |
| 213 | <id>attached-p2-metadata</id> |
| 214 | <phase>package</phase> |
| 215 | <goals> |
| 216 | <goal>p2-metadata</goal> |
| 217 | </goals> |
| 218 | </execution> |
| 219 | </executions> |
| 220 | </plugin> |
| 221 | </plugins> |
| 222 | </build> |
| 223 | </project> |