blob: a1543eb36d53fca88dccd7bb7759f9b8bb54fc2b [file] [log] [blame]
Stephan Wahlbrink63703032018-11-02 19:03:07 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 #=============================================================================#
Stephan Wahlbrinkb8eb44f2020-01-24 10:04:53 +01004 # Copyright (c) 2018, 2020 Stephan Wahlbrink and others.
Stephan Wahlbrink63703032018-11-02 19:03:07 +01005 #
6 # This program and the accompanying materials are made available under the
7 # terms of the Eclipse Public License 2.0 which is available at
8 # https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
9 # which is available at https://www.apache.org/licenses/LICENSE-2.0.
10 #
11 # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
12 #
13 # Contributors:
14 # Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
15 #=============================================================================#
16-->
17
18<project xmlns="http://maven.apache.org/POM/4.0.0"
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22
23 <groupId>org.eclipse.statet-releng</groupId>
24 <artifactId>parent</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +020025 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010026 <packaging>pom</packaging>
27
Stephan Wahlbrink30df8d02020-02-19 16:31:15 +010028 <name>Eclipse StatET - Maven Parent</name>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010029
30 <prerequisites>
31 <maven>3.5.4</maven>
32 </prerequisites>
33
34 <properties>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36
Stephan Wahlbrink68b59ac2019-11-27 10:34:21 +010037 <tycho.version>1.4.0</tycho.version>
Stephan Wahlbrink67e700d2019-02-08 19:39:05 +010038 <tycho-extras.version>${tycho.version}</tycho-extras.version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010039 <cbi-plugins.version>1.1.5</cbi-plugins.version>
40
41 <maven.compiler.source>1.8</maven.compiler.source>
42 <maven.compiler.target>1.8</maven.compiler.target>
43
44 <!-- if working tree is dirty (error|warning|ignore) -->
Stephan Wahlbrinkd7901b02019-02-05 18:29:39 +010045 <dirtyWorkingTree>error</dirtyWorkingTree>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010046
47 <qualifier.format>yyyyMMddHHmm</qualifier.format>
48 <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
Stephan Wahlbrink67e700d2019-02-08 19:39:05 +010049
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +020050 <statet.version>4.1.0</statet.version>
Stephan Wahlbrink964f7ac2019-11-07 23:34:22 +010051 <statet.target.id>E201912</statet.target.id>
Stephan Wahlbrink67e700d2019-02-08 19:39:05 +010052 <statet.build.timestamp>${maven.build.timestamp}</statet.build.timestamp>
53 <statet.build.type></statet.build.type>
54 <statet.build.id>${statet.build.type}${statet.build.timestamp}</statet.build.id>
55
Stephan Wahlbrinkb14b3052019-06-14 18:35:16 +020056 <statet.test.excludes></statet.test.excludes>
57
Stephan Wahlbrink63703032018-11-02 19:03:07 +010058 </properties>
59
60 <pluginRepositories>
61 <pluginRepository>
62 <id>cbi-releases</id>
63 <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010064 </pluginRepository>
65 </pluginRepositories>
66
67 <repositories>
68 <repository>
69 <id>eclipse.license</id>
Stephan Wahlbrink8ca18942019-11-27 09:46:19 +010070 <url>https://download.eclipse.org/cbi/updates/license/</url>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010071 <layout>p2</layout>
72 </repository>
73 </repositories>
74
75 <dependencyManagement>
76 <dependencies>
77 <dependency>
78 <groupId>org.eclipse.statet.jcommons</groupId>
79 <artifactId>org.eclipse.statet.jcommons.util</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +020080 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010081 </dependency>
82 <dependency>
83 <groupId>org.eclipse.statet.jcommons</groupId>
84 <artifactId>org.eclipse.statet.jcommons.text.core</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +020085 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010086 </dependency>
87
88 <dependency>
Stephan Wahlbrink6c52d1b2018-11-22 09:25:33 +010089 <groupId>com.ibm.icu</groupId>
90 <artifactId>icu4j</artifactId>
Stephan Wahlbrink679810b2019-12-06 10:24:04 +010091 <version>64.2</version>
Stephan Wahlbrink6c52d1b2018-11-22 09:25:33 +010092 </dependency>
93
94 <dependency>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010095 <groupId>org.eclipse.statet.rj</groupId>
96 <artifactId>org.eclipse.statet.rj.data</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +020097 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010098 </dependency>
99 <dependency>
100 <groupId>org.eclipse.statet.rj</groupId>
101 <artifactId>org.eclipse.statet.rj.server</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +0200102 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100103 </dependency>
104 <dependency>
105 <groupId>org.eclipse.statet.rj</groupId>
106 <artifactId>org.eclipse.statet.rj.server.remotetools</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +0200107 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100108 </dependency>
109 <dependency>
110 <groupId>org.eclipse.statet.rj</groupId>
111 <artifactId>org.eclipse.statet.rj.client</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +0200112 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100113 </dependency>
114 <dependency>
115 <groupId>org.eclipse.statet.rj</groupId>
116 <artifactId>org.eclipse.statet.rj.services.core</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +0200117 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100118 </dependency>
119
120 <dependency>
121 <groupId>org.eclipse.statet.rj</groupId>
122 <artifactId>org.eclipse.statet.rj.servi</artifactId>
Stephan Wahlbrink5839b7a2019-05-08 11:42:46 +0200123 <version>4.1.0-SNAPSHOT</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100124 </dependency>
125 </dependencies>
126 </dependencyManagement>
127
128 <build>
129 <plugins>
130
131 <plugin>
132 <groupId>org.eclipse.tycho</groupId>
133 <artifactId>tycho-maven-plugin</artifactId>
134 <extensions>true</extensions>
135 </plugin>
136
137 <!-- configure the p2 repo/target -->
138 <plugin>
139 <groupId>org.eclipse.tycho</groupId>
140 <artifactId>target-platform-configuration</artifactId>
141 <configuration>
142 <resolver>p2</resolver>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100143 <environments>
144 <environment>
145 <os>linux</os>
146 <ws>gtk</ws>
147 <arch>x86_64</arch>
148 </environment>
149 <environment>
150 <os>win32</os>
151 <ws>win32</ws>
152 <arch>x86_64</arch>
153 </environment>
154 <environment>
155 <os>macosx</os>
156 <ws>cocoa</ws>
157 <arch>x86_64</arch>
158 </environment>
159 </environments>
160 <includePackedArtifacts>true</includePackedArtifacts>
161 </configuration>
162 </plugin>
163
164 <!-- configure build qualifier generation -->
165 <!-- enable source reference generation -->
166 <plugin>
167 <groupId>org.eclipse.tycho</groupId>
168 <artifactId>tycho-packaging-plugin</artifactId>
169 <dependencies>
170 <dependency>
171 <groupId>org.eclipse.tycho.extras</groupId>
172 <artifactId>tycho-sourceref-jgit</artifactId>
173 <version>${tycho-extras.version}</version>
174 </dependency>
175 <dependency>
176 <groupId>org.eclipse.tycho.extras</groupId>
177 <artifactId>tycho-buildtimestamp-jgit</artifactId>
178 <version>${tycho-extras.version}</version>
179 </dependency>
180 </dependencies>
181 <configuration>
182 <format>${qualifier.format}</format>
183 <timestampProvider>jgit</timestampProvider>
184
185 <jgit.ignore>
186 pom.xml
Stephan Wahlbrinkd7901b02019-02-05 18:29:39 +0100187 .polyglot.build.properties
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100188 </jgit.ignore>
189 <jgit.dirtyWorkingTree>${dirtyWorkingTree}</jgit.dirtyWorkingTree>
190
191 <sourceReferences>
192 <generate>true</generate>
193 </sourceReferences>
194 </configuration>
195 </plugin>
196
197 <!-- enable source plugin and feature generation -->
198 <plugin>
199 <groupId>org.eclipse.tycho</groupId>
200 <artifactId>tycho-source-plugin</artifactId>
201 <executions>
202 <execution>
203 <id>plugin-source</id>
204 <goals>
205 <goal>plugin-source</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
210 <plugin>
211 <groupId>org.eclipse.tycho.extras</groupId>
212 <artifactId>tycho-source-feature-plugin</artifactId>
213 <executions>
214 <execution>
215 <id>source-feature</id>
216 <goals>
217 <goal>source-feature</goal>
218 </goals>
219 </execution>
220 </executions>
221 <configuration>
Stephan Wahlbrinkeb76fa22019-02-11 17:00:32 +0100222 <labelSuffix xml:space="preserve"> &#x2022;&#x00A0;Sources</labelSuffix>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100223 </configuration>
224 </plugin>
225
226 <plugin>
227 <groupId>org.eclipse.tycho</groupId>
228 <artifactId>tycho-p2-plugin</artifactId>
229 <executions>
230 <execution>
231 <id>p2-metadata</id>
232 <phase>package</phase>
233 <goals>
234 <goal>p2-metadata</goal>
235 </goals>
236 </execution>
237 </executions>
238 </plugin>
Stephan Wahlbrinkc000af02019-04-29 10:13:21 +0200239
240 <plugin>
241 <groupId>org.codehaus.mojo</groupId>
242 <artifactId>properties-maven-plugin</artifactId>
Stephan Wahlbrinka7c865f2019-04-29 14:05:38 +0200243 <inherited>false</inherited>
Stephan Wahlbrinkc000af02019-04-29 10:13:21 +0200244 </plugin>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100245 </plugins>
246
247 <pluginManagement>
248 <plugins>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-dependency-plugin</artifactId>
252 <version>3.1.1</version>
253 </plugin>
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-resources-plugin</artifactId>
257 <version>3.1.0</version>
258 </plugin>
259 <plugin>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-assembly-plugin</artifactId>
Stephan Wahlbrink8063d6e2019-11-27 09:38:29 +0100262 <version>3.1.1</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-compiler-plugin</artifactId>
Stephan Wahlbrink8063d6e2019-11-27 09:38:29 +0100267 <version>3.8.1</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100268 </plugin>
Stephan Wahlbrinka7c865f2019-04-29 14:05:38 +0200269 <plugin>
270 <groupId>org.codehaus.mojo</groupId>
271 <artifactId>properties-maven-plugin</artifactId>
272 <version>1.0.0</version>
273 <executions>
274 <execution>
275 <phase>generate-resources</phase>
276 <goals>
277 <goal>write-project-properties</goal>
278 </goals>
279 <configuration>
280 <outputFile>${project.build.directory}/mvn-build.properties</outputFile>
281 </configuration>
282 </execution>
283 </executions>
284 </plugin>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100285
286 <plugin>
287 <groupId>org.eclipse.cbi.maven.plugins</groupId>
288 <artifactId>eclipse-jarsigner-plugin</artifactId>
289 <version>${cbi-plugins.version}</version>
290 </plugin>
291
292 <plugin>
293 <groupId>org.eclipse.tycho</groupId>
294 <artifactId>tycho-maven-plugin</artifactId>
295 <version>${tycho.version}</version>
296 </plugin>
297 <plugin>
298 <groupId>org.eclipse.tycho</groupId>
299 <artifactId>target-platform-configuration</artifactId>
300 <version>${tycho.version}</version>
301 </plugin>
302 <plugin>
303 <groupId>org.eclipse.tycho</groupId>
304 <artifactId>tycho-p2-repository-plugin</artifactId>
305 <version>${tycho.version}</version>
306 </plugin>
307 <plugin>
308 <groupId>org.eclipse.tycho</groupId>
309 <artifactId>tycho-packaging-plugin</artifactId>
310 <version>${tycho.version}</version>
311 </plugin>
312 <plugin>
313 <groupId>org.eclipse.tycho.extras</groupId>
314 <artifactId>tycho-custom-bundle-plugin</artifactId>
315 <version>${tycho-extras.version}</version>
316 </plugin>
317 <plugin>
318 <groupId>org.eclipse.tycho.extras</groupId>
319 <artifactId>tycho-pack200a-plugin</artifactId>
320 <version>${tycho-extras.version}</version>
321 </plugin>
322 <plugin>
323 <groupId>org.eclipse.tycho.extras</groupId>
324 <artifactId>tycho-pack200b-plugin</artifactId>
325 <version>${tycho-extras.version}</version>
326 </plugin>
327 <plugin>
328 <groupId>org.eclipse.tycho</groupId>
329 <artifactId>tycho-source-plugin</artifactId>
330 <version>${tycho.version}</version>
331 </plugin>
332 <plugin>
333 <groupId>org.eclipse.tycho.extras</groupId>
334 <artifactId>tycho-source-feature-plugin</artifactId>
335 <version>${tycho-extras.version}</version>
336 </plugin>
337 <plugin>
338 <groupId>org.eclipse.tycho</groupId>
339 <artifactId>tycho-p2-plugin</artifactId>
340 <version>${tycho.version}</version>
341 </plugin>
342 <plugin>
343 <groupId>org.eclipse.tycho</groupId>
344 <artifactId>tycho-p2-director-plugin</artifactId>
345 <version>${tycho.version}</version>
346 </plugin>
347 <plugin>
348 <groupId>org.eclipse.tycho.extras</groupId>
349 <artifactId>tycho-p2-extras-plugin</artifactId>
350 <version>${tycho-extras.version}</version>
351 </plugin>
352
Stephan Wahlbrink450ad3e2019-01-27 09:08:01 +0100353 <plugin>
Stephan Wahlbrinke3152292019-04-23 15:24:32 +0200354 <groupId>org.eclipse.tycho</groupId>
355 <artifactId>tycho-surefire-plugin</artifactId>
356 <version>${tycho.version}</version>
357 <configuration>
Stephan Wahlbrink0af0c902019-12-18 14:12:03 +0100358 <!-- providerHint></providerHint -->
Stephan Wahlbrinkb14b3052019-06-14 18:35:16 +0200359 <excludes>
360 <exclude>**/*$*</exclude>
361 <exclude>${statet.test.excludes}</exclude>
362 </excludes>
Stephan Wahlbrinkf787e392020-01-29 13:14:26 +0100363 <trimStackTrace>false</trimStackTrace>
Stephan Wahlbrinke3152292019-04-23 15:24:32 +0200364 </configuration>
Stephan Wahlbrink450ad3e2019-01-27 09:08:01 +0100365 </plugin>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100366 </plugins>
367 </pluginManagement>
368 </build>
369
370 <modules>
371 <module>target-eclipse.ide</module>
372
373 </modules>
374
375 <profiles>
376 <profile>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100377 <id>eclipse-pack</id>
378 <activation>
379 <property>
380 <name>eclipse-pack</name>
381 </property>
382 </activation>
383 <build>
384 <plugins>
385 <plugin>
386 <groupId>org.eclipse.tycho.extras</groupId>
387 <artifactId>tycho-pack200a-plugin</artifactId>
388 <executions>
389 <execution>
390 <id>pack200-normalize</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100391 <goals>
392 <goal>normalize</goal>
393 </goals>
394 </execution>
395 </executions>
396 </plugin>
397 <plugin>
398 <groupId>org.eclipse.tycho.extras</groupId>
399 <artifactId>tycho-pack200b-plugin</artifactId>
400 <executions>
401 <execution>
402 <id>pack200-pack</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100403 <goals>
404 <goal>pack</goal>
405 </goals>
406 </execution>
407 </executions>
408 </plugin>
409 <plugin>
410 <groupId>org.eclipse.tycho</groupId>
411 <artifactId>tycho-p2-plugin</artifactId>
412 <executions>
413 <execution>
414 <id>p2-metadata</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100415 <goals>
416 <goal>p2-metadata</goal>
417 </goals>
418 </execution>
419 </executions>
420 <configuration>
421 <defaultP2Metadata>false</defaultP2Metadata>
422 </configuration>
423 </plugin>
424 </plugins>
425 </build>
426 </profile>
427
428 <profile>
429 <id>eclipse-sign</id>
430 <activation>
431 <property>
432 <name>eclipse-sign</name>
433 </property>
434 </activation>
435 <build>
436 <plugins>
437 <plugin>
438 <groupId>org.eclipse.tycho.extras</groupId>
439 <artifactId>tycho-pack200a-plugin</artifactId>
440 <executions>
441 <execution>
442 <id>pack200-normalize</id>
443 <phase>package</phase>
444 <goals>
445 <goal>normalize</goal>
446 </goals>
447 </execution>
448 </executions>
449 </plugin>
450 <plugin>
451 <groupId>org.eclipse.cbi.maven.plugins</groupId>
452 <artifactId>eclipse-jarsigner-plugin</artifactId>
453 <executions>
454 <execution>
455 <id>sign</id>
456 <phase>package</phase>
457 <goals>
458 <goal>sign</goal>
459 </goals>
460 </execution>
461 </executions>
462 </plugin>
463 <plugin>
464 <groupId>org.eclipse.tycho.extras</groupId>
465 <artifactId>tycho-pack200b-plugin</artifactId>
466 <executions>
467 <execution>
468 <id>pack200-pack</id>
469 <phase>package</phase>
470 <goals>
471 <goal>pack</goal>
472 </goals>
473 </execution>
474 </executions>
475 </plugin>
476 <plugin>
477 <groupId>org.eclipse.tycho</groupId>
478 <artifactId>tycho-p2-plugin</artifactId>
479 <executions>
480 <execution>
481 <id>p2-metadata</id>
482 <phase>package</phase>
483 <goals>
484 <goal>p2-metadata</goal>
485 </goals>
486 </execution>
487 </executions>
488 <configuration>
489 <defaultP2Metadata>false</defaultP2Metadata>
490 </configuration>
491 </plugin>
492 </plugins>
493 </build>
494 </profile>
495
496 </profiles>
497</project>