Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Stephan Herrmann | 396f334 | 2013-03-14 14:31:57 +0100 | [diff] [blame] | 3 | Copyright (c) 2012, 2013 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 | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 17 | <version>4.3.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 | 0363ef2 | 2013-02-02 16:22:13 +0100 | [diff] [blame] | 21 | <version>3.9.0-SNAPSHOT</version> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 22 | <packaging>eclipse-plugin</packaging> |
| 23 | |
| 24 | <build> |
| 25 | <plugins> |
Stephan Herrmann | 309166a | 2013-06-07 21:35:48 +0200 | [diff] [blame] | 26 | <plugin> |
| 27 | <artifactId>maven-antrun-plugin</artifactId> |
| 28 | <executions> |
| 29 | <execution> |
| 30 | <phase>prepare-package</phase> |
| 31 | <configuration> |
| 32 | <tasks> |
| 33 | <replace token="bundle_qualifier," value="${buildQualifier}," dir="${project.build.directory}/classes"> |
| 34 | <include name="org/eclipse/jdt/internal/compiler/batch/messages.properties" /> |
| 35 | </replace> |
| 36 | </tasks> |
| 37 | </configuration> |
| 38 | <goals> |
| 39 | <goal>run</goal> |
| 40 | </goals> |
| 41 | </execution> |
| 42 | </executions> |
| 43 | </plugin> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 44 | <plugin> |
| 45 | <groupId>org.eclipse.tycho.extras</groupId> |
| 46 | <artifactId>tycho-custom-bundle-plugin</artifactId> |
| 47 | <executions> |
| 48 | <execution> |
| 49 | <id>antadapter</id> |
| 50 | <phase>package</phase> |
| 51 | <goals> |
| 52 | <goal>custom-bundle</goal> |
| 53 | </goals> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 54 | <configuration> |
| 55 | <archive> |
| 56 | <addMavenDescriptor>false</addMavenDescriptor> |
| 57 | </archive> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 58 | <bundleLocation>${project.basedir}/scripts/antadapter</bundleLocation> |
| 59 | <classifier>antadapter</classifier> |
| 60 | <fileSets> |
| 61 | <fileSet> |
| 62 | <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory> |
| 63 | <excludes> |
| 64 | <exclude>org/eclipse/jdt/core/CheckDebugAttributes*.*</exclude> |
| 65 | <exclude>org/eclipse/jdt/core/BuildJarIndex*.*</exclude> |
| 66 | </excludes> |
| 67 | </fileSet> |
| 68 | </fileSets> |
| 69 | </configuration> |
| 70 | </execution> |
| 71 | <execution> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 72 | <id>batch-compiler-src</id> |
| 73 | <phase>package</phase> |
| 74 | <goals> |
| 75 | <goal>custom-bundle</goal> |
| 76 | </goals> |
| 77 | <configuration> |
| 78 | <archive> |
| 79 | <addMavenDescriptor>false</addMavenDescriptor> |
| 80 | </archive> |
| 81 | <bundleLocation>${project.basedir}/scripts/source</bundleLocation> |
| 82 | <classifier>batch-compiler-src</classifier> |
| 83 | <fileSets> |
| 84 | <fileSet> |
| 85 | <directory>${project.basedir}/batch</directory> |
| 86 | </fileSet> |
| 87 | <fileSet> |
| 88 | <directory>${project.basedir}/compiler</directory> |
| 89 | </fileSet> |
| 90 | <fileSet> |
| 91 | <directory>${project.basedir}/antadapter</directory> |
| 92 | <excludes> |
| 93 | <exclude>org/eclipse/jdt/core/CheckDebugAttributes.java</exclude> |
| 94 | <exclude>org/eclipse/jdt/core/BuildJarIndex.java</exclude> |
| 95 | </excludes> |
| 96 | </fileSet> |
| 97 | <fileSet> |
| 98 | <directory>${project.basedir}/../org.eclipse.jdt.compiler.tool/src</directory> |
| 99 | </fileSet> |
| 100 | <fileSet> |
| 101 | <directory>${project.basedir}/../org.eclipse.jdt.compiler.apt/src</directory> |
| 102 | </fileSet> |
| 103 | <fileSet> |
| 104 | <directory>${project.basedir}/scripts</directory> |
| 105 | <includes> |
| 106 | <include>about.html</include> |
| 107 | <include>build.xml</include> |
| 108 | </includes> |
| 109 | </fileSet> |
| 110 | </fileSets> |
| 111 | </configuration> |
| 112 | </execution> |
| 113 | <execution> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 114 | <id>batch-compiler</id> |
| 115 | <phase>package</phase> |
| 116 | <goals> |
| 117 | <goal>custom-bundle</goal> |
| 118 | </goals> |
| 119 | <configuration> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 120 | <archive> |
| 121 | <addMavenDescriptor>false</addMavenDescriptor> |
| 122 | </archive> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 123 | <bundleLocation>${project.basedir}/scripts/binary</bundleLocation> |
| 124 | <classifier>batch-compiler</classifier> |
| 125 | <fileSets> |
| 126 | <fileSet> |
Stephan Herrmann | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 127 | <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory> |
| 128 | <includes> |
| 129 | <include>META-INF/eclipse.inf</include> |
| 130 | </includes> |
| 131 | </fileSet> |
Stephan Herrmann | 5d5db95 | 2013-05-18 21:56:53 +0200 | [diff] [blame] | 132 | <fileSet> |
| 133 | <directory>${project.basedir}/scripts</directory> |
| 134 | <includes> |
| 135 | <include>about.html</include> |
| 136 | </includes> |
| 137 | </fileSet> |
Stephan Herrmann | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 138 | <fileSet> |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 139 | <directory>${project.build.directory}/classes</directory> |
| 140 | <includes> |
| 141 | <include>org/eclipse/jdt/internal/compiler/**</include> |
| 142 | <include>org/eclipse/jdt/core/compiler/**</include> |
| 143 | </includes> |
| 144 | <excludes> |
| 145 | <exclude>**/package.htm*</exclude> |
| 146 | <exclude>org/eclipse/jdt/core/compiler/CompilationParticipant*.class</exclude> |
| 147 | <exclude>org/eclipse/jdt/core/compiler/BuildContext.class</exclude> |
| 148 | <exclude>org/eclipse/jdt/core/compiler/IScanner.class</exclude> |
| 149 | <exclude>org/eclipse/jdt/core/compiler/ITerminalSymbols*.class</exclude> |
| 150 | <exclude>org/eclipse/jdt/core/compiler/ReconcileContext*.class</exclude> |
| 151 | <exclude>org/eclipse/jdt/internal/compiler/DocumentElementParser*.class</exclude> |
| 152 | <exclude>org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.class</exclude> |
| 153 | <exclude>org/eclipse/jdt/internal/compiler/ISourceElementRequestor*.class</exclude> |
| 154 | <exclude>org/eclipse/jdt/internal/compiler/SourceElementParser*.class</exclude> |
| 155 | <exclude>org/eclipse/jdt/internal/compiler/SourceElementRequestorAdapter*.class</exclude> |
| 156 | <exclude>org/eclipse/jdt/internal/compiler/SourceJavadocParser*.class</exclude> |
| 157 | <exclude>org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter*.class</exclude> |
| 158 | </excludes> |
| 159 | </fileSet> |
| 160 | </fileSets> |
| 161 | </configuration> |
| 162 | </execution> |
| 163 | </executions> |
| 164 | </plugin> |
| 165 | <plugin> |
| 166 | <groupId>org.eclipse.tycho</groupId> |
| 167 | <artifactId>tycho-p2-plugin</artifactId> |
| 168 | <version>${tycho.version}</version> |
| 169 | <executions> |
| 170 | <execution> |
| 171 | <id>attached-p2-metadata</id> |
| 172 | <phase>package</phase> |
| 173 | <goals> |
| 174 | <goal>p2-metadata</goal> |
| 175 | </goals> |
| 176 | </execution> |
| 177 | </executions> |
| 178 | </plugin> |
| 179 | </plugins> |
| 180 | </build> |
| 181 | </project> |