blob: cfa5f79b63f9b03a50009b9609dfc0d375cf8c51 [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 Herrmann4388de02013-12-30 10:43:45 +010017 <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 Herrmanna9ff5de2014-01-04 13:16:55 +010021 <version>3.9.2-SNAPSHOT</version>
Stephan Herrmann2feba952012-05-26 15:02:07 +020022 <packaging>eclipse-plugin</packaging>
23
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020024 <properties>
25 <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars>
26 </properties>
27
Stephan Herrmann2feba952012-05-26 15:02:07 +020028 <build>
29 <plugins>
Stephan Herrmann309166a2013-06-07 21:35:48 +020030 <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 Herrmann6a72b272013-07-14 17:29:27 +020038 <include name="org/eclipse/jdt/internal/compiler/batch/messages.properties"/>
Stephan Herrmann309166a2013-06-07 21:35:48 +020039 </replace>
40 </tasks>
41 </configuration>
42 <goals>
43 <goal>run</goal>
44 </goals>
45 </execution>
46 </executions>
47 </plugin>
Stephan Herrmann2feba952012-05-26 15:02:07 +020048 <plugin>
49 <groupId>org.eclipse.tycho.extras</groupId>
50 <artifactId>tycho-custom-bundle-plugin</artifactId>
51 <executions>
52 <execution>
53 <id>antadapter</id>
54 <phase>package</phase>
55 <goals>
56 <goal>custom-bundle</goal>
57 </goals>
Stephan Herrmann5d5db952013-05-18 21:56:53 +020058 <configuration>
59 <archive>
60 <addMavenDescriptor>false</addMavenDescriptor>
61 </archive>
Stephan Herrmann2feba952012-05-26 15:02:07 +020062 <bundleLocation>${project.basedir}/scripts/antadapter</bundleLocation>
63 <classifier>antadapter</classifier>
64 <fileSets>
65 <fileSet>
66 <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory>
67 <excludes>
68 <exclude>org/eclipse/jdt/core/CheckDebugAttributes*.*</exclude>
69 <exclude>org/eclipse/jdt/core/BuildJarIndex*.*</exclude>
70 </excludes>
71 </fileSet>
72 </fileSets>
73 </configuration>
74 </execution>
75 <execution>
Stephan Herrmann5d5db952013-05-18 21:56:53 +020076 <id>batch-compiler-src</id>
77 <phase>package</phase>
78 <goals>
79 <goal>custom-bundle</goal>
80 </goals>
81 <configuration>
82 <archive>
83 <addMavenDescriptor>false</addMavenDescriptor>
84 </archive>
85 <bundleLocation>${project.basedir}/scripts/source</bundleLocation>
86 <classifier>batch-compiler-src</classifier>
87 <fileSets>
88 <fileSet>
89 <directory>${project.basedir}/batch</directory>
90 </fileSet>
91 <fileSet>
92 <directory>${project.basedir}/compiler</directory>
93 </fileSet>
94 <fileSet>
95 <directory>${project.basedir}/antadapter</directory>
96 <excludes>
97 <exclude>org/eclipse/jdt/core/CheckDebugAttributes.java</exclude>
98 <exclude>org/eclipse/jdt/core/BuildJarIndex.java</exclude>
99 </excludes>
100 </fileSet>
101 <fileSet>
102 <directory>${project.basedir}/../org.eclipse.jdt.compiler.tool/src</directory>
103 </fileSet>
104 <fileSet>
105 <directory>${project.basedir}/../org.eclipse.jdt.compiler.apt/src</directory>
106 </fileSet>
107 <fileSet>
108 <directory>${project.basedir}/scripts</directory>
109 <includes>
110 <include>about.html</include>
111 <include>build.xml</include>
112 </includes>
113 </fileSet>
114 </fileSets>
115 </configuration>
116 </execution>
117 <execution>
Stephan Herrmann2feba952012-05-26 15:02:07 +0200118 <id>batch-compiler</id>
119 <phase>package</phase>
120 <goals>
121 <goal>custom-bundle</goal>
122 </goals>
123 <configuration>
Stephan Herrmann5d5db952013-05-18 21:56:53 +0200124 <archive>
125 <addMavenDescriptor>false</addMavenDescriptor>
126 </archive>
Stephan Herrmann2feba952012-05-26 15:02:07 +0200127 <bundleLocation>${project.basedir}/scripts/binary</bundleLocation>
128 <classifier>batch-compiler</classifier>
129 <fileSets>
130 <fileSet>
Stephan Herrmannc7600d82013-04-28 22:48:05 +0200131 <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory>
132 <includes>
133 <include>META-INF/eclipse.inf</include>
134 </includes>
135 </fileSet>
Stephan Herrmann5d5db952013-05-18 21:56:53 +0200136 <fileSet>
137 <directory>${project.basedir}/scripts</directory>
138 <includes>
139 <include>about.html</include>
140 </includes>
141 </fileSet>
Stephan Herrmannc7600d82013-04-28 22:48:05 +0200142 <fileSet>
Stephan Herrmann2feba952012-05-26 15:02:07 +0200143 <directory>${project.build.directory}/classes</directory>
144 <includes>
145 <include>org/eclipse/jdt/internal/compiler/**</include>
146 <include>org/eclipse/jdt/core/compiler/**</include>
147 </includes>
148 <excludes>
149 <exclude>**/package.htm*</exclude>
150 <exclude>org/eclipse/jdt/core/compiler/CompilationParticipant*.class</exclude>
151 <exclude>org/eclipse/jdt/core/compiler/BuildContext.class</exclude>
152 <exclude>org/eclipse/jdt/core/compiler/IScanner.class</exclude>
153 <exclude>org/eclipse/jdt/core/compiler/ITerminalSymbols*.class</exclude>
154 <exclude>org/eclipse/jdt/core/compiler/ReconcileContext*.class</exclude>
155 <exclude>org/eclipse/jdt/internal/compiler/DocumentElementParser*.class</exclude>
156 <exclude>org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.class</exclude>
157 <exclude>org/eclipse/jdt/internal/compiler/ISourceElementRequestor*.class</exclude>
158 <exclude>org/eclipse/jdt/internal/compiler/SourceElementParser*.class</exclude>
159 <exclude>org/eclipse/jdt/internal/compiler/SourceElementRequestorAdapter*.class</exclude>
160 <exclude>org/eclipse/jdt/internal/compiler/SourceJavadocParser*.class</exclude>
161 <exclude>org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter*.class</exclude>
162 </excludes>
163 </fileSet>
164 </fileSets>
165 </configuration>
166 </execution>
167 </executions>
168 </plugin>
169 <plugin>
170 <groupId>org.eclipse.tycho</groupId>
171 <artifactId>tycho-p2-plugin</artifactId>
172 <version>${tycho.version}</version>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +0100173 <configuration>
174 <baselineMode>warn</baselineMode>
175 <baselineReplace>common</baselineReplace>
176 </configuration>
Stephan Herrmann2feba952012-05-26 15:02:07 +0200177 <executions>
178 <execution>
179 <id>attached-p2-metadata</id>
180 <phase>package</phase>
181 <goals>
182 <goal>p2-metadata</goal>
183 </goals>
184 </execution>
185 </executions>
186 </plugin>
187 </plugins>
188 </build>
189</project>