blob: b7c6dbe2aa2cc5ddfbb030140b446aec708d8db9 [file] [log] [blame]
Stephan Wahlbrink63703032018-11-02 19:03:07 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 #=============================================================================#
Stephan Wahlbrink9db295a2019-01-24 22:23:22 +01004 # Copyright (c) 2018, 2019 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
28 <name>Eclipse Statet - Maven Parent</name>
29
30 <prerequisites>
31 <maven>3.5.4</maven>
32 </prerequisites>
33
34 <properties>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36
Stephan Wahlbrinkcb3feb62019-04-16 08:47:18 +020037 <tycho.version>1.3.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 Wahlbrink611a8a02019-04-29 08:58:05 +020051 <statet.target.id>E201812</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>
70 <url>http://download.eclipse.org/cbi/updates/license/</url>
71 <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>
91 <version>63.1</version>
92 </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>
262 <version>3.1.0</version>
263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-compiler-plugin</artifactId>
267 <version>3.8.0</version>
268 </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>
358 <providerHint>junit47</providerHint>
Stephan Wahlbrinkb14b3052019-06-14 18:35:16 +0200359 <excludes>
360 <exclude>**/*$*</exclude>
361 <exclude>${statet.test.excludes}</exclude>
362 </excludes>
Stephan Wahlbrinke3152292019-04-23 15:24:32 +0200363 </configuration>
Stephan Wahlbrink450ad3e2019-01-27 09:08:01 +0100364 </plugin>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100365 </plugins>
366 </pluginManagement>
367 </build>
368
369 <modules>
370 <module>target-eclipse.ide</module>
371
372 </modules>
373
374 <profiles>
375 <profile>
376 <id>repo-statet.dependencies</id>
377 <activation>
378 <property>
379 <name>statet.dependencies.url</name>
380 </property>
381 </activation>
382 <repositories>
383 <repository>
384 <id>statet.dependencies</id>
385 <url>${statet.dependencies.url}</url>
386 <layout>p2</layout>
387 </repository>
388 </repositories>
389 </profile>
390
391 <profile>
392 <id>eclipse-pack</id>
393 <activation>
394 <property>
395 <name>eclipse-pack</name>
396 </property>
397 </activation>
398 <build>
399 <plugins>
400 <plugin>
401 <groupId>org.eclipse.tycho.extras</groupId>
402 <artifactId>tycho-pack200a-plugin</artifactId>
403 <executions>
404 <execution>
405 <id>pack200-normalize</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100406 <goals>
407 <goal>normalize</goal>
408 </goals>
409 </execution>
410 </executions>
411 </plugin>
412 <plugin>
413 <groupId>org.eclipse.tycho.extras</groupId>
414 <artifactId>tycho-pack200b-plugin</artifactId>
415 <executions>
416 <execution>
417 <id>pack200-pack</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100418 <goals>
419 <goal>pack</goal>
420 </goals>
421 </execution>
422 </executions>
423 </plugin>
424 <plugin>
425 <groupId>org.eclipse.tycho</groupId>
426 <artifactId>tycho-p2-plugin</artifactId>
427 <executions>
428 <execution>
429 <id>p2-metadata</id>
Stephan Wahlbrink63703032018-11-02 19:03:07 +0100430 <goals>
431 <goal>p2-metadata</goal>
432 </goals>
433 </execution>
434 </executions>
435 <configuration>
436 <defaultP2Metadata>false</defaultP2Metadata>
437 </configuration>
438 </plugin>
439 </plugins>
440 </build>
441 </profile>
442
443 <profile>
444 <id>eclipse-sign</id>
445 <activation>
446 <property>
447 <name>eclipse-sign</name>
448 </property>
449 </activation>
450 <build>
451 <plugins>
452 <plugin>
453 <groupId>org.eclipse.tycho.extras</groupId>
454 <artifactId>tycho-pack200a-plugin</artifactId>
455 <executions>
456 <execution>
457 <id>pack200-normalize</id>
458 <phase>package</phase>
459 <goals>
460 <goal>normalize</goal>
461 </goals>
462 </execution>
463 </executions>
464 </plugin>
465 <plugin>
466 <groupId>org.eclipse.cbi.maven.plugins</groupId>
467 <artifactId>eclipse-jarsigner-plugin</artifactId>
468 <executions>
469 <execution>
470 <id>sign</id>
471 <phase>package</phase>
472 <goals>
473 <goal>sign</goal>
474 </goals>
475 </execution>
476 </executions>
477 </plugin>
478 <plugin>
479 <groupId>org.eclipse.tycho.extras</groupId>
480 <artifactId>tycho-pack200b-plugin</artifactId>
481 <executions>
482 <execution>
483 <id>pack200-pack</id>
484 <phase>package</phase>
485 <goals>
486 <goal>pack</goal>
487 </goals>
488 </execution>
489 </executions>
490 </plugin>
491 <plugin>
492 <groupId>org.eclipse.tycho</groupId>
493 <artifactId>tycho-p2-plugin</artifactId>
494 <executions>
495 <execution>
496 <id>p2-metadata</id>
497 <phase>package</phase>
498 <goals>
499 <goal>p2-metadata</goal>
500 </goals>
501 </execution>
502 </executions>
503 <configuration>
504 <defaultP2Metadata>false</defaultP2Metadata>
505 </configuration>
506 </plugin>
507 </plugins>
508 </build>
509 </profile>
510
511 </profiles>
512</project>