blob: 0a873c9a5df731a74026ef64648299aeb134b8e6 [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>
26 <plugin>
27 <groupId>org.eclipse.tycho.extras</groupId>
28 <artifactId>tycho-custom-bundle-plugin</artifactId>
29 <executions>
30 <execution>
31 <id>antadapter</id>
32 <phase>package</phase>
33 <goals>
34 <goal>custom-bundle</goal>
35 </goals>
Stephan Herrmann5d5db952013-05-18 21:56:53 +020036 <configuration>
37 <archive>
38 <addMavenDescriptor>false</addMavenDescriptor>
39 </archive>
Stephan Herrmann2feba952012-05-26 15:02:07 +020040 <bundleLocation>${project.basedir}/scripts/antadapter</bundleLocation>
41 <classifier>antadapter</classifier>
42 <fileSets>
43 <fileSet>
44 <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory>
45 <excludes>
46 <exclude>org/eclipse/jdt/core/CheckDebugAttributes*.*</exclude>
47 <exclude>org/eclipse/jdt/core/BuildJarIndex*.*</exclude>
48 </excludes>
49 </fileSet>
50 </fileSets>
51 </configuration>
52 </execution>
53 <execution>
Stephan Herrmann5d5db952013-05-18 21:56:53 +020054 <id>batch-compiler-src</id>
55 <phase>package</phase>
56 <goals>
57 <goal>custom-bundle</goal>
58 </goals>
59 <configuration>
60 <archive>
61 <addMavenDescriptor>false</addMavenDescriptor>
62 </archive>
63 <bundleLocation>${project.basedir}/scripts/source</bundleLocation>
64 <classifier>batch-compiler-src</classifier>
65 <fileSets>
66 <fileSet>
67 <directory>${project.basedir}/batch</directory>
68 </fileSet>
69 <fileSet>
70 <directory>${project.basedir}/compiler</directory>
71 </fileSet>
72 <fileSet>
73 <directory>${project.basedir}/antadapter</directory>
74 <excludes>
75 <exclude>org/eclipse/jdt/core/CheckDebugAttributes.java</exclude>
76 <exclude>org/eclipse/jdt/core/BuildJarIndex.java</exclude>
77 </excludes>
78 </fileSet>
79 <fileSet>
80 <directory>${project.basedir}/../org.eclipse.jdt.compiler.tool/src</directory>
81 </fileSet>
82 <fileSet>
83 <directory>${project.basedir}/../org.eclipse.jdt.compiler.apt/src</directory>
84 </fileSet>
85 <fileSet>
86 <directory>${project.basedir}/scripts</directory>
87 <includes>
88 <include>about.html</include>
89 <include>build.xml</include>
90 </includes>
91 </fileSet>
92 </fileSets>
93 </configuration>
94 </execution>
95 <execution>
Stephan Herrmann2feba952012-05-26 15:02:07 +020096 <id>batch-compiler</id>
97 <phase>package</phase>
98 <goals>
99 <goal>custom-bundle</goal>
100 </goals>
101 <configuration>
Stephan Herrmann5d5db952013-05-18 21:56:53 +0200102 <archive>
103 <addMavenDescriptor>false</addMavenDescriptor>
104 </archive>
Stephan Herrmann2feba952012-05-26 15:02:07 +0200105 <bundleLocation>${project.basedir}/scripts/binary</bundleLocation>
106 <classifier>batch-compiler</classifier>
107 <fileSets>
108 <fileSet>
Stephan Herrmannc7600d82013-04-28 22:48:05 +0200109 <directory>${project.build.directory}/jdtCompilerAdapter.jar-classes</directory>
110 <includes>
111 <include>META-INF/eclipse.inf</include>
112 </includes>
113 </fileSet>
Stephan Herrmann5d5db952013-05-18 21:56:53 +0200114 <fileSet>
115 <directory>${project.basedir}/scripts</directory>
116 <includes>
117 <include>about.html</include>
118 </includes>
119 </fileSet>
Stephan Herrmannc7600d82013-04-28 22:48:05 +0200120 <fileSet>
Stephan Herrmann2feba952012-05-26 15:02:07 +0200121 <directory>${project.build.directory}/classes</directory>
122 <includes>
123 <include>org/eclipse/jdt/internal/compiler/**</include>
124 <include>org/eclipse/jdt/core/compiler/**</include>
125 </includes>
126 <excludes>
127 <exclude>**/package.htm*</exclude>
128 <exclude>org/eclipse/jdt/core/compiler/CompilationParticipant*.class</exclude>
129 <exclude>org/eclipse/jdt/core/compiler/BuildContext.class</exclude>
130 <exclude>org/eclipse/jdt/core/compiler/IScanner.class</exclude>
131 <exclude>org/eclipse/jdt/core/compiler/ITerminalSymbols*.class</exclude>
132 <exclude>org/eclipse/jdt/core/compiler/ReconcileContext*.class</exclude>
133 <exclude>org/eclipse/jdt/internal/compiler/DocumentElementParser*.class</exclude>
134 <exclude>org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.class</exclude>
135 <exclude>org/eclipse/jdt/internal/compiler/ISourceElementRequestor*.class</exclude>
136 <exclude>org/eclipse/jdt/internal/compiler/SourceElementParser*.class</exclude>
137 <exclude>org/eclipse/jdt/internal/compiler/SourceElementRequestorAdapter*.class</exclude>
138 <exclude>org/eclipse/jdt/internal/compiler/SourceJavadocParser*.class</exclude>
139 <exclude>org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter*.class</exclude>
140 </excludes>
141 </fileSet>
142 </fileSets>
143 </configuration>
144 </execution>
145 </executions>
146 </plugin>
147 <plugin>
148 <groupId>org.eclipse.tycho</groupId>
149 <artifactId>tycho-p2-plugin</artifactId>
150 <version>${tycho.version}</version>
151 <executions>
152 <execution>
153 <id>attached-p2-metadata</id>
154 <phase>package</phase>
155 <goals>
156 <goal>p2-metadata</goal>
157 </goals>
158 </execution>
159 </executions>
160 </plugin>
161 </plugins>
162 </build>
163</project>