blob: 97bdeb73b74f8c5a45629b04fdaf8582f1234085 [file] [log] [blame]
Stephan Wahlbrink63703032018-11-02 19:03:07 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 #=============================================================================#
Stephan Wahlbrink2e283522021-01-21 12:34:37 +01004 # Copyright (c) 2018, 2021 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 Wahlbrink302319b2021-02-11 11:24:50 +010025 <version>4.2.3.202102110600-r</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 Wahlbrink67dece02020-12-31 17:01:34 +010050 <statet.version>4.2.3</statet.version>
Stephan Wahlbrinkac82b112020-07-08 09:28:29 +020051 <statet.target.id>E202006</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>
Stephan Wahlbrinke8485f32020-07-08 10:10:53 +020057 <trimStackTrace>false</trimStackTrace>
Stephan Wahlbrinkb14b3052019-06-14 18:35:16 +020058
Stephan Wahlbrink63703032018-11-02 19:03:07 +010059 </properties>
60
61 <pluginRepositories>
62 <pluginRepository>
63 <id>cbi-releases</id>
64 <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010065 </pluginRepository>
66 </pluginRepositories>
67
68 <repositories>
69 <repository>
70 <id>eclipse.license</id>
Stephan Wahlbrink8ca18942019-11-27 09:46:19 +010071 <url>https://download.eclipse.org/cbi/updates/license/</url>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010072 <layout>p2</layout>
73 </repository>
74 </repositories>
75
76 <dependencyManagement>
77 <dependencies>
78 <dependency>
79 <groupId>org.eclipse.statet.jcommons</groupId>
80 <artifactId>org.eclipse.statet.jcommons.util</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +010081 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010082 </dependency>
83 <dependency>
84 <groupId>org.eclipse.statet.jcommons</groupId>
85 <artifactId>org.eclipse.statet.jcommons.text.core</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +010086 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010087 </dependency>
88
89 <dependency>
Stephan Wahlbrink6c52d1b2018-11-22 09:25:33 +010090 <groupId>com.ibm.icu</groupId>
91 <artifactId>icu4j</artifactId>
Stephan Wahlbrink679810b2019-12-06 10:24:04 +010092 <version>64.2</version>
Stephan Wahlbrink6c52d1b2018-11-22 09:25:33 +010093 </dependency>
94
95 <dependency>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010096 <groupId>org.eclipse.statet.rj</groupId>
97 <artifactId>org.eclipse.statet.rj.data</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +010098 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +010099 </dependency>
100 <dependency>
101 <groupId>org.eclipse.statet.rj</groupId>
102 <artifactId>org.eclipse.statet.rj.server</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +0100103 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100104 </dependency>
105 <dependency>
106 <groupId>org.eclipse.statet.rj</groupId>
107 <artifactId>org.eclipse.statet.rj.server.remotetools</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +0100108 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100109 </dependency>
110 <dependency>
111 <groupId>org.eclipse.statet.rj</groupId>
112 <artifactId>org.eclipse.statet.rj.client</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +0100113 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100114 </dependency>
115 <dependency>
116 <groupId>org.eclipse.statet.rj</groupId>
117 <artifactId>org.eclipse.statet.rj.services.core</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +0100118 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100119 </dependency>
120
121 <dependency>
122 <groupId>org.eclipse.statet.rj</groupId>
123 <artifactId>org.eclipse.statet.rj.servi</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +0100124 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100125 </dependency>
126 </dependencies>
127 </dependencyManagement>
128
129 <build>
130 <plugins>
131
132 <plugin>
133 <groupId>org.eclipse.tycho</groupId>
134 <artifactId>tycho-maven-plugin</artifactId>
135 <extensions>true</extensions>
136 </plugin>
137
138 <!-- configure the p2 repo/target -->
139 <plugin>
140 <groupId>org.eclipse.tycho</groupId>
141 <artifactId>target-platform-configuration</artifactId>
142 <configuration>
143 <resolver>p2</resolver>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100144 <environments>
145 <environment>
146 <os>linux</os>
147 <ws>gtk</ws>
148 <arch>x86_64</arch>
149 </environment>
150 <environment>
151 <os>win32</os>
152 <ws>win32</ws>
153 <arch>x86_64</arch>
154 </environment>
155 <environment>
156 <os>macosx</os>
157 <ws>cocoa</ws>
158 <arch>x86_64</arch>
159 </environment>
160 </environments>
161 <includePackedArtifacts>true</includePackedArtifacts>
162 </configuration>
163 </plugin>
164
165 <!-- configure build qualifier generation -->
166 <!-- enable source reference generation -->
167 <plugin>
168 <groupId>org.eclipse.tycho</groupId>
169 <artifactId>tycho-packaging-plugin</artifactId>
170 <dependencies>
171 <dependency>
172 <groupId>org.eclipse.tycho.extras</groupId>
173 <artifactId>tycho-sourceref-jgit</artifactId>
174 <version>${tycho-extras.version}</version>
175 </dependency>
176 <dependency>
177 <groupId>org.eclipse.tycho.extras</groupId>
178 <artifactId>tycho-buildtimestamp-jgit</artifactId>
179 <version>${tycho-extras.version}</version>
180 </dependency>
181 </dependencies>
182 <configuration>
183 <format>${qualifier.format}</format>
184 <timestampProvider>jgit</timestampProvider>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100185 <jgit.ignore>
186 pom.xml
Stephan Wahlbrink84683bf2020-07-08 09:30:22 +0200187 .polyglot.*
188 .META-INF_MANIFEST.MF
189 *.takari_issue_*
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100190 </jgit.ignore>
191 <jgit.dirtyWorkingTree>${dirtyWorkingTree}</jgit.dirtyWorkingTree>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100192 <sourceReferences>
193 <generate>true</generate>
194 </sourceReferences>
195 </configuration>
196 </plugin>
197
198 <!-- enable source plugin and feature generation -->
199 <plugin>
200 <groupId>org.eclipse.tycho</groupId>
201 <artifactId>tycho-source-plugin</artifactId>
202 <executions>
203 <execution>
204 <id>plugin-source</id>
205 <goals>
206 <goal>plugin-source</goal>
207 </goals>
208 </execution>
209 </executions>
210 </plugin>
211 <plugin>
212 <groupId>org.eclipse.tycho.extras</groupId>
213 <artifactId>tycho-source-feature-plugin</artifactId>
214 <executions>
215 <execution>
216 <id>source-feature</id>
217 <goals>
218 <goal>source-feature</goal>
219 </goals>
220 </execution>
221 </executions>
222 <configuration>
Stephan Wahlbrinkeb76fa22019-02-11 17:00:32 +0100223 <labelSuffix xml:space="preserve"> &#x2022;&#x00A0;Sources</labelSuffix>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100224 </configuration>
225 </plugin>
226
227 <plugin>
228 <groupId>org.eclipse.tycho</groupId>
229 <artifactId>tycho-p2-plugin</artifactId>
230 <executions>
231 <execution>
232 <id>p2-metadata</id>
233 <phase>package</phase>
234 <goals>
235 <goal>p2-metadata</goal>
236 </goals>
237 </execution>
238 </executions>
239 </plugin>
Stephan Wahlbrinkc000af02019-04-29 10:13:21 +0200240
241 <plugin>
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>properties-maven-plugin</artifactId>
Stephan Wahlbrinka7c865f2019-04-29 14:05:38 +0200244 <inherited>false</inherited>
Stephan Wahlbrinkc000af02019-04-29 10:13:21 +0200245 </plugin>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100246 </plugins>
247
248 <pluginManagement>
249 <plugins>
250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-dependency-plugin</artifactId>
Stephan Wahlbrink384792b2020-07-01 08:31:37 +0200253 <version>3.1.2</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100254 </plugin>
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-resources-plugin</artifactId>
258 <version>3.1.0</version>
259 </plugin>
260 <plugin>
261 <groupId>org.apache.maven.plugins</groupId>
Stephan Wahlbrink384792b2020-07-01 08:31:37 +0200262 <artifactId>maven-compiler-plugin</artifactId>
263 <version>3.8.1</version>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-jar-plugin</artifactId>
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +0100268 <version>3.2.0</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100269 </plugin>
270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
Stephan Wahlbrink384792b2020-07-01 08:31:37 +0200272 <artifactId>maven-assembly-plugin</artifactId>
273 <version>3.3.0</version>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100274 </plugin>
Stephan Wahlbrinka7c865f2019-04-29 14:05:38 +0200275 <plugin>
276 <groupId>org.codehaus.mojo</groupId>
277 <artifactId>properties-maven-plugin</artifactId>
278 <version>1.0.0</version>
279 <executions>
280 <execution>
281 <phase>generate-resources</phase>
282 <goals>
283 <goal>write-project-properties</goal>
284 </goals>
285 <configuration>
286 <outputFile>${project.build.directory}/mvn-build.properties</outputFile>
287 </configuration>
288 </execution>
289 </executions>
290 </plugin>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100291
292 <plugin>
293 <groupId>org.eclipse.cbi.maven.plugins</groupId>
294 <artifactId>eclipse-jarsigner-plugin</artifactId>
295 <version>${cbi-plugins.version}</version>
296 </plugin>
297
298 <plugin>
299 <groupId>org.eclipse.tycho</groupId>
300 <artifactId>tycho-maven-plugin</artifactId>
301 <version>${tycho.version}</version>
302 </plugin>
303 <plugin>
304 <groupId>org.eclipse.tycho</groupId>
305 <artifactId>target-platform-configuration</artifactId>
306 <version>${tycho.version}</version>
307 </plugin>
308 <plugin>
309 <groupId>org.eclipse.tycho</groupId>
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +0100310 <artifactId>tycho-compiler-plugin</artifactId>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100311 <version>${tycho.version}</version>
Stephan Wahlbrink050a7b02020-08-13 18:35:21 +0200312 <configuration>
313 <compilerArgs>
314 <compilerArg>-annotationpath</compilerArg>
315 <compilerArg>${session.executionRootDirectory}/eea/</compilerArg>
316 </compilerArgs>
317 </configuration>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100318 </plugin>
319 <plugin>
320 <groupId>org.eclipse.tycho</groupId>
321 <artifactId>tycho-packaging-plugin</artifactId>
322 <version>${tycho.version}</version>
323 </plugin>
324 <plugin>
325 <groupId>org.eclipse.tycho.extras</groupId>
326 <artifactId>tycho-custom-bundle-plugin</artifactId>
327 <version>${tycho-extras.version}</version>
328 </plugin>
329 <plugin>
330 <groupId>org.eclipse.tycho.extras</groupId>
331 <artifactId>tycho-pack200a-plugin</artifactId>
332 <version>${tycho-extras.version}</version>
333 </plugin>
334 <plugin>
335 <groupId>org.eclipse.tycho.extras</groupId>
336 <artifactId>tycho-pack200b-plugin</artifactId>
337 <version>${tycho-extras.version}</version>
338 </plugin>
339 <plugin>
340 <groupId>org.eclipse.tycho</groupId>
341 <artifactId>tycho-source-plugin</artifactId>
342 <version>${tycho.version}</version>
343 </plugin>
344 <plugin>
345 <groupId>org.eclipse.tycho.extras</groupId>
346 <artifactId>tycho-source-feature-plugin</artifactId>
347 <version>${tycho-extras.version}</version>
348 </plugin>
349 <plugin>
350 <groupId>org.eclipse.tycho</groupId>
351 <artifactId>tycho-p2-plugin</artifactId>
352 <version>${tycho.version}</version>
353 </plugin>
354 <plugin>
355 <groupId>org.eclipse.tycho</groupId>
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +0100356 <artifactId>tycho-p2-publisher-plugin</artifactId>
357 <version>${tycho.version}</version>
358 </plugin>
359 <plugin>
360 <groupId>org.eclipse.tycho</groupId>
361 <artifactId>tycho-p2-repository-plugin</artifactId>
362 <version>${tycho.version}</version>
363 </plugin>
364 <plugin>
365 <groupId>org.eclipse.tycho</groupId>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100366 <artifactId>tycho-p2-director-plugin</artifactId>
367 <version>${tycho.version}</version>
368 </plugin>
369 <plugin>
370 <groupId>org.eclipse.tycho.extras</groupId>
371 <artifactId>tycho-p2-extras-plugin</artifactId>
372 <version>${tycho-extras.version}</version>
373 </plugin>
374
Stephan Wahlbrink450ad3e2019-01-27 09:08:01 +0100375 <plugin>
Stephan Wahlbrinke3152292019-04-23 15:24:32 +0200376 <groupId>org.eclipse.tycho</groupId>
377 <artifactId>tycho-surefire-plugin</artifactId>
378 <version>${tycho.version}</version>
379 <configuration>
Stephan Wahlbrink0af0c902019-12-18 14:12:03 +0100380 <!-- providerHint></providerHint -->
Stephan Wahlbrinkb14b3052019-06-14 18:35:16 +0200381 <excludes>
382 <exclude>**/*$*</exclude>
383 <exclude>${statet.test.excludes}</exclude>
384 </excludes>
Stephan Wahlbrinke3152292019-04-23 15:24:32 +0200385 </configuration>
Stephan Wahlbrink450ad3e2019-01-27 09:08:01 +0100386 </plugin>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100387 </plugins>
388 </pluginManagement>
389 </build>
390
391 <modules>
392 <module>target-eclipse.ide</module>
393
394 </modules>
395
396 <profiles>
397 <profile>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100398 <id>eclipse-pack</id>
399 <activation>
400 <property>
401 <name>eclipse-pack</name>
402 </property>
403 </activation>
404 <build>
405 <plugins>
406 <plugin>
407 <groupId>org.eclipse.tycho.extras</groupId>
408 <artifactId>tycho-pack200a-plugin</artifactId>
409 <executions>
410 <execution>
411 <id>pack200-normalize</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100412 <goals>
413 <goal>normalize</goal>
414 </goals>
415 </execution>
416 </executions>
417 </plugin>
418 <plugin>
419 <groupId>org.eclipse.tycho.extras</groupId>
420 <artifactId>tycho-pack200b-plugin</artifactId>
421 <executions>
422 <execution>
423 <id>pack200-pack</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100424 <goals>
425 <goal>pack</goal>
426 </goals>
427 </execution>
428 </executions>
429 </plugin>
430 <plugin>
431 <groupId>org.eclipse.tycho</groupId>
432 <artifactId>tycho-p2-plugin</artifactId>
433 <executions>
434 <execution>
435 <id>p2-metadata</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100436 <goals>
437 <goal>p2-metadata</goal>
438 </goals>
439 </execution>
440 </executions>
441 <configuration>
442 <defaultP2Metadata>false</defaultP2Metadata>
443 </configuration>
444 </plugin>
445 </plugins>
446 </build>
447 </profile>
448
449 <profile>
450 <id>eclipse-sign</id>
451 <activation>
452 <property>
453 <name>eclipse-sign</name>
454 </property>
455 </activation>
456 <build>
457 <plugins>
458 <plugin>
459 <groupId>org.eclipse.tycho.extras</groupId>
460 <artifactId>tycho-pack200a-plugin</artifactId>
461 <executions>
462 <execution>
463 <id>pack200-normalize</id>
464 <phase>package</phase>
465 <goals>
466 <goal>normalize</goal>
467 </goals>
468 </execution>
469 </executions>
470 </plugin>
471 <plugin>
472 <groupId>org.eclipse.cbi.maven.plugins</groupId>
473 <artifactId>eclipse-jarsigner-plugin</artifactId>
474 <executions>
475 <execution>
476 <id>sign</id>
477 <phase>package</phase>
478 <goals>
479 <goal>sign</goal>
480 </goals>
481 </execution>
482 </executions>
483 </plugin>
484 <plugin>
485 <groupId>org.eclipse.tycho.extras</groupId>
486 <artifactId>tycho-pack200b-plugin</artifactId>
487 <executions>
488 <execution>
489 <id>pack200-pack</id>
490 <phase>package</phase>
491 <goals>
492 <goal>pack</goal>
493 </goals>
494 </execution>
495 </executions>
496 </plugin>
497 <plugin>
498 <groupId>org.eclipse.tycho</groupId>
499 <artifactId>tycho-p2-plugin</artifactId>
500 <executions>
501 <execution>
502 <id>p2-metadata</id>
503 <phase>package</phase>
504 <goals>
505 <goal>p2-metadata</goal>
506 </goals>
507 </execution>
508 </executions>
509 <configuration>
510 <defaultP2Metadata>false</defaultP2Metadata>
511 </configuration>
512 </plugin>
513 </plugins>
514 </build>
515 </profile>
516
517 </profiles>
518</project>