blob: 134f67fe4237b4cb5211683c5ea73d9e68107975 [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 Wahlbrinkf26feea2020-03-02 20:43:01 +010025 <version>4.2.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>
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +010031 <maven>3.6.3</maven>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010032 </prerequisites>
33
34 <properties>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +010037 <tycho.version>1.6.0</tycho.version>
Stephan Wahlbrink67e700d2019-02-08 19:39:05 +010038 <tycho-extras.version>${tycho.version}</tycho-extras.version>
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +010039 <cbi-plugins.version>1.1.7</cbi-plugins.version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010040
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 Wahlbrinkf26feea2020-03-02 20:43:01 +010050 <statet.version>4.2.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 Wahlbrinkf26feea2020-03-02 20:43:01 +010080 <version>4.2.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 Wahlbrinkf26feea2020-03-02 20:43:01 +010085 <version>4.2.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 Wahlbrinkf26feea2020-03-02 20:43:01 +010097 <version>4.2.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 Wahlbrinkf26feea2020-03-02 20:43:01 +0100102 <version>4.2.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 Wahlbrinkf26feea2020-03-02 20:43:01 +0100107 <version>4.2.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 Wahlbrinkf26feea2020-03-02 20:43:01 +0100112 <version>4.2.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 Wahlbrinkf26feea2020-03-02 20:43:01 +0100117 <version>4.2.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 Wahlbrinkf26feea2020-03-02 20:43:01 +0100123 <version>4.2.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 Wahlbrinkb4b9dda2020-03-02 20:54:08 +0100262 <version>3.2.0</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>
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +0100304 <artifactId>tycho-compiler-plugin</artifactId>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100305 <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>
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +0100344 <artifactId>tycho-p2-publisher-plugin</artifactId>
345 <version>${tycho.version}</version>
346 </plugin>
347 <plugin>
348 <groupId>org.eclipse.tycho</groupId>
349 <artifactId>tycho-p2-repository-plugin</artifactId>
350 <version>${tycho.version}</version>
351 </plugin>
352 <plugin>
353 <groupId>org.eclipse.tycho</groupId>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100354 <artifactId>tycho-p2-director-plugin</artifactId>
355 <version>${tycho.version}</version>
356 </plugin>
357 <plugin>
358 <groupId>org.eclipse.tycho.extras</groupId>
359 <artifactId>tycho-p2-extras-plugin</artifactId>
360 <version>${tycho-extras.version}</version>
361 </plugin>
362
Stephan Wahlbrink450ad3e2019-01-27 09:08:01 +0100363 <plugin>
Stephan Wahlbrinke3152292019-04-23 15:24:32 +0200364 <groupId>org.eclipse.tycho</groupId>
365 <artifactId>tycho-surefire-plugin</artifactId>
366 <version>${tycho.version}</version>
367 <configuration>
Stephan Wahlbrink0af0c902019-12-18 14:12:03 +0100368 <!-- providerHint></providerHint -->
Stephan Wahlbrinkb14b3052019-06-14 18:35:16 +0200369 <excludes>
370 <exclude>**/*$*</exclude>
371 <exclude>${statet.test.excludes}</exclude>
372 </excludes>
Stephan Wahlbrinkf787e392020-01-29 13:14:26 +0100373 <trimStackTrace>false</trimStackTrace>
Stephan Wahlbrinke3152292019-04-23 15:24:32 +0200374 </configuration>
Stephan Wahlbrink450ad3e2019-01-27 09:08:01 +0100375 </plugin>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100376 </plugins>
377 </pluginManagement>
378 </build>
379
380 <modules>
381 <module>target-eclipse.ide</module>
382
383 </modules>
384
385 <profiles>
386 <profile>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100387 <id>eclipse-pack</id>
388 <activation>
389 <property>
390 <name>eclipse-pack</name>
391 </property>
392 </activation>
393 <build>
394 <plugins>
395 <plugin>
396 <groupId>org.eclipse.tycho.extras</groupId>
397 <artifactId>tycho-pack200a-plugin</artifactId>
398 <executions>
399 <execution>
400 <id>pack200-normalize</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100401 <goals>
402 <goal>normalize</goal>
403 </goals>
404 </execution>
405 </executions>
406 </plugin>
407 <plugin>
408 <groupId>org.eclipse.tycho.extras</groupId>
409 <artifactId>tycho-pack200b-plugin</artifactId>
410 <executions>
411 <execution>
412 <id>pack200-pack</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100413 <goals>
414 <goal>pack</goal>
415 </goals>
416 </execution>
417 </executions>
418 </plugin>
419 <plugin>
420 <groupId>org.eclipse.tycho</groupId>
421 <artifactId>tycho-p2-plugin</artifactId>
422 <executions>
423 <execution>
424 <id>p2-metadata</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100425 <goals>
426 <goal>p2-metadata</goal>
427 </goals>
428 </execution>
429 </executions>
430 <configuration>
431 <defaultP2Metadata>false</defaultP2Metadata>
432 </configuration>
433 </plugin>
434 </plugins>
435 </build>
436 </profile>
437
438 <profile>
439 <id>eclipse-sign</id>
440 <activation>
441 <property>
442 <name>eclipse-sign</name>
443 </property>
444 </activation>
445 <build>
446 <plugins>
447 <plugin>
448 <groupId>org.eclipse.tycho.extras</groupId>
449 <artifactId>tycho-pack200a-plugin</artifactId>
450 <executions>
451 <execution>
452 <id>pack200-normalize</id>
453 <phase>package</phase>
454 <goals>
455 <goal>normalize</goal>
456 </goals>
457 </execution>
458 </executions>
459 </plugin>
460 <plugin>
461 <groupId>org.eclipse.cbi.maven.plugins</groupId>
462 <artifactId>eclipse-jarsigner-plugin</artifactId>
463 <executions>
464 <execution>
465 <id>sign</id>
466 <phase>package</phase>
467 <goals>
468 <goal>sign</goal>
469 </goals>
470 </execution>
471 </executions>
472 </plugin>
473 <plugin>
474 <groupId>org.eclipse.tycho.extras</groupId>
475 <artifactId>tycho-pack200b-plugin</artifactId>
476 <executions>
477 <execution>
478 <id>pack200-pack</id>
479 <phase>package</phase>
480 <goals>
481 <goal>pack</goal>
482 </goals>
483 </execution>
484 </executions>
485 </plugin>
486 <plugin>
487 <groupId>org.eclipse.tycho</groupId>
488 <artifactId>tycho-p2-plugin</artifactId>
489 <executions>
490 <execution>
491 <id>p2-metadata</id>
492 <phase>package</phase>
493 <goals>
494 <goal>p2-metadata</goal>
495 </goals>
496 </execution>
497 </executions>
498 <configuration>
499 <defaultP2Metadata>false</defaultP2Metadata>
500 </configuration>
501 </plugin>
502 </plugins>
503 </build>
504 </profile>
505
506 </profiles>
507</project>