blob: 5b035b5967fb725f08d4b6f01e79548ace8c07ef [file] [log] [blame]
Stephan Herrmann2feba952012-05-26 15:02:07 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Stephan Herrmann396f3342013-03-14 14:31:57 +01003 Copyright (c) 2012, 2013 Eclipse Foundation and others.
Stephan Herrmann2feba952012-05-26 15:02:07 +02004 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 Herrmannc7600d82013-04-28 22:48:05 +020012<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 Herrmann2feba952012-05-26 15:02:07 +020013 <modelVersion>4.0.0</modelVersion>
14 <parent>
15 <artifactId>eclipse.jdt.core</artifactId>
16 <groupId>eclipse.jdt.core</groupId>
Stephan Herrmannc7600d82013-04-28 22:48:05 +020017 <version>4.3.0-SNAPSHOT</version>
Stephan Herrmann2feba952012-05-26 15:02:07 +020018 </parent>
Stephan Herrmann396f3342013-03-14 14:31:57 +010019 <groupId>org.eclipse.jdt</groupId>
Stephan Herrmann2feba952012-05-26 15:02:07 +020020 <artifactId>org.eclipse.jdt.core</artifactId>
Stephan Herrmann0363ef22013-02-02 16:22:13 +010021 <version>3.9.0-SNAPSHOT</version>
Stephan Herrmann2feba952012-05-26 15:02:07 +020022 <packaging>eclipse-plugin</packaging>
23
24 <build>
25 <plugins>
Stephan Herrmann309166a2013-06-07 21:35:48 +020026 <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 Herrmann2feba952012-05-26 15:02:07 +020044 <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 Herrmann5d5db952013-05-18 21:56:53 +020054 <configuration>
55 <archive>
56 <addMavenDescriptor>false</addMavenDescriptor>
57 </archive>
Stephan Herrmann2feba952012-05-26 15:02:07 +020058 <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 Herrmann5d5db952013-05-18 21:56:53 +020072 <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 Herrmann2feba952012-05-26 15:02:07 +0200114 <id>batch-compiler</id>
115 <phase>package</phase>
116 <goals>
117 <goal>custom-bundle</goal>
118 </goals>
119 <configuration>
Stephan Herrmann5d5db952013-05-18 21:56:53 +0200120 <archive>
121 <addMavenDescriptor>false</addMavenDescriptor>
122 </archive>
Stephan Herrmann2feba952012-05-26 15:02:07 +0200123 <bundleLocation>${project.basedir}/scripts/binary</bundleLocation>
124 <classifier>batch-compiler</classifier>
125 <fileSets>
126 <fileSet>
Stephan Herrmannc7600d82013-04-28 22:48:05 +0200127 <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory>
128 <includes>
129 <include>META-INF/eclipse.inf</include>
130 </includes>
131 </fileSet>
Stephan Herrmann5d5db952013-05-18 21:56:53 +0200132 <fileSet>
133 <directory>${project.basedir}/scripts</directory>
134 <includes>
135 <include>about.html</include>
136 </includes>
137 </fileSet>
Stephan Herrmannc7600d82013-04-28 22:48:05 +0200138 <fileSet>
Stephan Herrmann2feba952012-05-26 15:02:07 +0200139 <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>