Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Stephan Herrmann | 35ce950 | 2014-06-05 16:16:02 +0200 | [diff] [blame] | 3 | Copyright (c) 2012, 2014 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 | f4bf780 | 2015-07-19 18:10:37 +0200 | [diff] [blame] | 17 | <version>4.6.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 | f4bf780 | 2015-07-19 18:10:37 +0200 | [diff] [blame] | 21 | <version>3.12.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> |
| 26 | </properties> |
| 27 | |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 28 | <build> |
| 29 | <plugins> |
Stephan Herrmann | 309166a | 2013-06-07 21:35:48 +0200 | [diff] [blame] | 30 | <plugin> |
| 31 | <artifactId>maven-antrun-plugin</artifactId> |
| 32 | <executions> |
| 33 | <execution> |
| 34 | <phase>prepare-package</phase> |
| 35 | <configuration> |
| 36 | <tasks> |
| 37 | <replace token="bundle_qualifier," value="${buildQualifier}," dir="${project.build.directory}/classes"> |
Stephan Herrmann | 6a72b27 | 2013-07-14 17:29:27 +0200 | [diff] [blame] | 38 | <include name="org/eclipse/jdt/internal/compiler/batch/messages.properties"/> |
Stephan Herrmann | 309166a | 2013-06-07 21:35:48 +0200 | [diff] [blame] | 39 | </replace> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 40 | <replace token="bundle_version" value="${unqualifiedVersion}" dir="${project.build.directory}/classes"> |
Stephan Herrmann | 881bc14 | 2014-10-03 22:03:34 +0200 | [diff] [blame] | 41 | <include name="org/eclipse/jdt/internal/compiler/batch/messages.properties"/> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 42 | </replace> |
Stephan Herrmann | 309166a | 2013-06-07 21:35:48 +0200 | [diff] [blame] | 43 | </tasks> |
| 44 | </configuration> |
| 45 | <goals> |
| 46 | <goal>run</goal> |
| 47 | </goals> |
| 48 | </execution> |
| 49 | </executions> |
| 50 | </plugin> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 51 | <plugin> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 52 | <artifactId>maven-resources-plugin</artifactId> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 53 | <executions> |
| 54 | <execution> |
| 55 | <id>copy-batch-compiler-source</id> |
| 56 | <phase>package</phase> |
| 57 | <goals> |
| 58 | <goal>copy-resources</goal> |
| 59 | </goals> |
| 60 | <configuration> |
| 61 | <outputDirectory>${project.build.directory}/scripts/source</outputDirectory> |
| 62 | <resources> |
| 63 | <resource> |
| 64 | <directory>${project.basedir}/scripts/source</directory> |
| 65 | <filtering>true</filtering> |
| 66 | </resource> |
| 67 | </resources> |
| 68 | </configuration> |
| 69 | </execution> |
| 70 | </executions> |
| 71 | </plugin> |
| 72 | <plugin> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 73 | <groupId>org.eclipse.tycho.extras</groupId> |
| 74 | <artifactId>tycho-custom-bundle-plugin</artifactId> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 75 | <version>${tycho-extras.version}</version> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 76 | <executions> |
| 77 | <execution> |
| 78 | <id>antadapter</id> |
| 79 | <phase>package</phase> |
| 80 | <goals> |
| 81 | <goal>custom-bundle</goal> |
| 82 | </goals> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 83 | <configuration> |
| 84 | <archive> |
| 85 | <addMavenDescriptor>false</addMavenDescriptor> |
| 86 | </archive> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 87 | <bundleLocation>${project.basedir}/scripts/antadapter</bundleLocation> |
| 88 | <classifier>antadapter</classifier> |
| 89 | <fileSets> |
| 90 | <fileSet> |
| 91 | <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory> |
| 92 | <excludes> |
| 93 | <exclude>org/eclipse/jdt/core/CheckDebugAttributes*.*</exclude> |
| 94 | <exclude>org/eclipse/jdt/core/BuildJarIndex*.*</exclude> |
| 95 | </excludes> |
| 96 | </fileSet> |
| 97 | </fileSets> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | <execution> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 101 | <id>batch-compiler-src</id> |
| 102 | <phase>package</phase> |
| 103 | <goals> |
| 104 | <goal>custom-bundle</goal> |
| 105 | </goals> |
| 106 | <configuration> |
| 107 | <archive> |
| 108 | <addMavenDescriptor>false</addMavenDescriptor> |
| 109 | </archive> |
Stephan Herrmann | 1002fa4 | 2013-12-17 17:50:02 +0100 | [diff] [blame] | 110 | <bundleLocation>${project.build.directory}/scripts/source</bundleLocation> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 111 | <classifier>batch-compiler-src</classifier> |
| 112 | <fileSets> |
| 113 | <fileSet> |
| 114 | <directory>${project.basedir}/batch</directory> |
| 115 | </fileSet> |
| 116 | <fileSet> |
| 117 | <directory>${project.basedir}/compiler</directory> |
| 118 | </fileSet> |
| 119 | <fileSet> |
| 120 | <directory>${project.basedir}/antadapter</directory> |
| 121 | <excludes> |
| 122 | <exclude>org/eclipse/jdt/core/CheckDebugAttributes.java</exclude> |
| 123 | <exclude>org/eclipse/jdt/core/BuildJarIndex.java</exclude> |
| 124 | </excludes> |
| 125 | </fileSet> |
| 126 | <fileSet> |
| 127 | <directory>${project.basedir}/../org.eclipse.jdt.compiler.tool/src</directory> |
| 128 | </fileSet> |
| 129 | <fileSet> |
| 130 | <directory>${project.basedir}/../org.eclipse.jdt.compiler.apt/src</directory> |
| 131 | </fileSet> |
| 132 | <fileSet> |
| 133 | <directory>${project.basedir}/scripts</directory> |
| 134 | <includes> |
| 135 | <include>about.html</include> |
| 136 | <include>build.xml</include> |
Stephan Herrmann | 35ce950 | 2014-06-05 16:16:02 +0200 | [diff] [blame] | 137 | <include>ecj.1</include> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 138 | </includes> |
| 139 | </fileSet> |
| 140 | </fileSets> |
| 141 | </configuration> |
| 142 | </execution> |
| 143 | <execution> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 144 | <id>batch-compiler</id> |
| 145 | <phase>package</phase> |
| 146 | <goals> |
| 147 | <goal>custom-bundle</goal> |
| 148 | </goals> |
| 149 | <configuration> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 150 | <archive> |
| 151 | <addMavenDescriptor>false</addMavenDescriptor> |
| 152 | </archive> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 153 | <bundleLocation>${project.basedir}/scripts/binary</bundleLocation> |
| 154 | <classifier>batch-compiler</classifier> |
| 155 | <fileSets> |
| 156 | <fileSet> |
Stephan Herrmann | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 157 | <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory> |
| 158 | <includes> |
| 159 | <include>META-INF/eclipse.inf</include> |
| 160 | </includes> |
| 161 | </fileSet> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 162 | <fileSet> |
| 163 | <directory>${project.basedir}/scripts</directory> |
| 164 | <includes> |
| 165 | <include>about.html</include> |
Stephan Herrmann | 35ce950 | 2014-06-05 16:16:02 +0200 | [diff] [blame] | 166 | <include>ecj.1</include> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 167 | </includes> |
| 168 | </fileSet> |
Stephan Herrmann | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 169 | <fileSet> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 170 | <directory>${project.build.directory}/classes</directory> |
| 171 | <includes> |
| 172 | <include>org/eclipse/jdt/internal/compiler/**</include> |
| 173 | <include>org/eclipse/jdt/core/compiler/**</include> |
| 174 | </includes> |
| 175 | <excludes> |
| 176 | <exclude>**/package.htm*</exclude> |
| 177 | <exclude>org/eclipse/jdt/core/compiler/CompilationParticipant*.class</exclude> |
| 178 | <exclude>org/eclipse/jdt/core/compiler/BuildContext.class</exclude> |
| 179 | <exclude>org/eclipse/jdt/core/compiler/IScanner.class</exclude> |
| 180 | <exclude>org/eclipse/jdt/core/compiler/ITerminalSymbols*.class</exclude> |
| 181 | <exclude>org/eclipse/jdt/core/compiler/ReconcileContext*.class</exclude> |
| 182 | <exclude>org/eclipse/jdt/internal/compiler/DocumentElementParser*.class</exclude> |
| 183 | <exclude>org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.class</exclude> |
| 184 | <exclude>org/eclipse/jdt/internal/compiler/ISourceElementRequestor*.class</exclude> |
| 185 | <exclude>org/eclipse/jdt/internal/compiler/SourceElementParser*.class</exclude> |
| 186 | <exclude>org/eclipse/jdt/internal/compiler/SourceElementRequestorAdapter*.class</exclude> |
| 187 | <exclude>org/eclipse/jdt/internal/compiler/SourceJavadocParser*.class</exclude> |
| 188 | <exclude>org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter*.class</exclude> |
| 189 | </excludes> |
| 190 | </fileSet> |
| 191 | </fileSets> |
| 192 | </configuration> |
| 193 | </execution> |
| 194 | </executions> |
| 195 | </plugin> |
| 196 | <plugin> |
| 197 | <groupId>org.eclipse.tycho</groupId> |
| 198 | <artifactId>tycho-p2-plugin</artifactId> |
| 199 | <version>${tycho.version}</version> |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 200 | <configuration> |
| 201 | <baselineMode>warn</baselineMode> |
| 202 | <baselineReplace>common</baselineReplace> |
| 203 | </configuration> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 204 | <executions> |
| 205 | <execution> |
| 206 | <id>attached-p2-metadata</id> |
| 207 | <phase>package</phase> |
| 208 | <goals> |
| 209 | <goal>p2-metadata</goal> |
| 210 | </goals> |
| 211 | </execution> |
| 212 | </executions> |
| 213 | </plugin> |
| 214 | </plugins> |
| 215 | </build> |
| 216 | </project> |