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