blob: d0bf885b26aa77a36e48bf7b7cdb6ddb4497f105 [file] [log] [blame]
Jonathan Dumontb6a777f2015-10-15 15:48:30 +02001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
Jonathan Dumont27b944b2015-11-18 11:15:36 +01003 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5 http://maven.apache.org/maven-v4_0_0.xsd">
6 <modelVersion>4.0.0</modelVersion>
Jonathan Dumontb6a777f2015-10-15 15:48:30 +02007
Jonathan Dumont27b944b2015-11-18 11:15:36 +01008 <!-- PROJECT DESCRIPTION -->
9 <groupId>org.polarsys.esf</groupId>
10 <artifactId>esf-infra</artifactId>
11 <version>0.7.0-SNAPSHOT</version>
12 <packaging>pom</packaging>
13 <name>ESF</name>
14 <description>ESF description.</description>
15
16 <!-- DEVELOPERS -->
17 <developers>
18 <developer>
19 <id>JOD</id>
20 <name>Jonathan Dumont</name>
21 <email>jonathan.dumont@all4tec.net</email>
22 <organization>ALL4TEC</organization>
23 <organizationUrl>http://www.all4tec.net/</organizationUrl>
24 <roles>
25 <role>Project leader</role>
26 </roles>
27 <timezone>+1</timezone>
28 </developer>
29
30 <developer>
31 <id>YUM</id>
32 <name>Yupanqui Munoz Julho</name>
33 <email>yupanqui.munozjulho@cea.fr</email>
34 <organization>CEA List</organization>
35 <organizationUrl>www-list.cea.fr/</organizationUrl>
36 <roles>
37 <role>Project leader</role>
38 </roles>
39 <timezone>+1</timezone>
40 </developer>
41 </developers>
42
43 <!-- MODULES -->
44 <modules>
45 <module>core</module>
46 <module>p2</module>
Ansgar Radermacherf3cdf3d2019-01-11 09:16:58 +010047 <!-- don't build RCP (not required, currently not working) -->
48 <!-- <module>releng</module> -->
Jonathan Dumont27b944b2015-11-18 11:15:36 +010049 </modules>
50
51 <!-- REPOSITORIES -->
52 <repositories>
53 <repository>
Ansgar Radermacher28721f22019-01-08 10:16:29 +010054 <id>eclipse-2018-12</id>
Jonathan Dumont27b944b2015-11-18 11:15:36 +010055 <layout>p2</layout>
Ansgar Radermacher28721f22019-01-08 10:16:29 +010056 <url>http://download.eclipse.org/releases/2018-12</url>
Jonathan Dumont27b944b2015-11-18 11:15:36 +010057 </repository>
58 </repositories>
Yupanqui Munoz85904a42016-12-13 13:58:35 +010059
Yupanqui Munozf457f052016-12-13 16:18:25 +010060 <pluginRepositories>
61 <pluginRepository>
62 <id>org.eclipse.cbi.maven.plugins</id>
63 <name>Eclipse CBI</name>
64 <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
65 <releases>
66 <enabled>true</enabled>
67 </releases>
68 <snapshots>
69 <enabled>false</enabled>
70 </snapshots>
71 </pluginRepository>
72 </pluginRepositories>
73
Jonathan Dumont27b944b2015-11-18 11:15:36 +010074 <!-- BUILD DEFINITION -->
75 <build>
76 <plugins>
77
78 <!-- Tycho plugin -->
79 <!-- This is the part which modify default packaging to add those specific to Eclipse RCP -->
80 <plugin>
81 <groupId>org.eclipse.tycho</groupId>
82 <artifactId>tycho-maven-plugin</artifactId>
83 <version>${tycho-version}</version>
84 <extensions>true</extensions>
85 </plugin>
86
87 <!-- Tycho target platform configuration -->
88 <plugin>
89 <groupId>org.eclipse.tycho</groupId>
90 <artifactId>target-platform-configuration</artifactId>
91 <version>${tycho-version}</version>
92 <configuration>
93 <resolver>p2</resolver>
94 <environments>
95 <environment>
96 <os>win32</os>
97 <ws>win32</ws>
98 <arch>x86_64</arch>
99 </environment>
100 </environments>
101 </configuration>
102 </plugin>
103
104 <!-- Plugin used to manage the versionning of tycho artifacts -->
105 <plugin>
106 <groupId>org.eclipse.tycho</groupId>
107 <artifactId>tycho-versions-plugin</artifactId>
108 <version>${tycho-version}</version>
109 </plugin>
110
Jonathan Dumont8ffd5c92015-12-03 15:49:43 +0100111 <!-- Plugin used to check the license. -->
112 <!-- NB: It's not configured to write the licence header automatically. -->
113 <!-- Usage: mvn licence:check -->
114 <plugin>
115 <groupId>com.mycila</groupId>
116 <artifactId>license-maven-plugin</artifactId>
117 <version>2.11</version>
118 <configuration>
119 <header>${session.executionRootDirectory}/releng/licence/epl.header.txt</header>
120 <useDefaultExcludes>true</useDefaultExcludes>
121 <failIfMissing>true</failIfMissing>
122 <!-- Avoid a strict check as the header comment contains also the contributors. -->
123 <strictCheck>false</strictCheck>
124 <aggregate>true</aggregate>
125 <includes>
126 <include>**/*.java</include>
127 </includes>
128 <excludes>
129 <exclude>**/src/site/**</exclude>
130 <exclude>**/target/**</exclude>
131 </excludes>
132 <properties>
Yupanqui Munozf9ef8bb2016-07-01 13:11:46 +0200133 <year>2016</year>
Jonathan Dumont8ffd5c92015-12-03 15:49:43 +0100134 </properties>
135 </configuration>
136 <executions>
137 <execution>
138 <phase>process-sources</phase>
139 <goals>
140 <goal>check</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
Jonathan Dumont27b944b2015-11-18 11:15:36 +0100145 </plugins>
146 </build>
147
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100148 <profiles>
Yupanqui Munoz85904a42016-12-13 13:58:35 +0100149 <!-- Profile for tasks specific to the build on Eclipse Hudson instance:
150 - packAndSign: produce a stable update site (Packed & signed). Used for releases (+ milestones) only.
151 -->
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100152 <profile>
Yupanqui Munoz85904a42016-12-13 13:58:35 +0100153 <id>packAndSign</id>
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100154 <build>
Yupanqui Munoz85904a42016-12-13 13:58:35 +0100155 <pluginManagement>
156 <plugins>
157 <plugin>
158 <groupId>org.eclipse.cbi.maven.plugins</groupId>
159 <artifactId>eclipse-jarsigner-plugin</artifactId>
160 <version>${jarsigner-version}</version>
161 </plugin>
162 </plugins>
163 </pluginManagement>
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100164 <plugins>
165
166 <!-- Plugins configuration to be able to sign the jars built on Eclipse servers -->
167 <plugin>
168 <groupId>org.eclipse.tycho.extras</groupId>
169 <artifactId>tycho-pack200a-plugin</artifactId>
Jonathan Dumont58f71b42015-12-14 09:27:49 +0100170 <version>${tycho-version}</version>
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100171 <executions>
172 <execution>
173 <id>pack200-normalize</id>
174 <goals>
175 <goal>normalize</goal>
176 </goals>
177 </execution>
178 </executions>
179 </plugin>
180
181 <plugin>
182 <groupId>org.eclipse.cbi.maven.plugins</groupId>
183 <artifactId>eclipse-jarsigner-plugin</artifactId>
Yupanqui Munoz85904a42016-12-13 13:58:35 +0100184 <version>${jarsigner-version}</version>
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100185 <executions>
186 <execution>
187 <id>sign</id>
188 <goals>
189 <goal>sign</goal>
190 </goals>
191 </execution>
192 </executions>
193 </plugin>
194
195 <plugin>
196 <groupId>org.eclipse.tycho.extras</groupId>
197 <artifactId>tycho-pack200b-plugin</artifactId>
Jonathan Dumont58f71b42015-12-14 09:27:49 +0100198 <version>${tycho-version}</version>
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100199 <executions>
200 <execution>
201 <id>pack200-pack</id>
202 <goals>
203 <goal>pack</goal>
204 </goals>
205 </execution>
206 </executions>
207 </plugin>
208
209 <!-- Make sure that Tycho generates its p2 metadata after the JAR has been packed -->
210 <plugin>
211 <groupId>org.eclipse.tycho</groupId>
212 <artifactId>tycho-p2-plugin</artifactId>
Jonathan Dumont58f71b42015-12-14 09:27:49 +0100213 <version>${tycho-version}</version>
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100214 <executions>
215 <execution>
216 <id>attach-p2-metadata</id>
217 <phase>package</phase>
218 <goals>
219 <goal>p2-metadata</goal>
220 </goals>
221 </execution>
222 </executions>
223 <configuration>
224 <defaultP2Metadata>false</defaultP2Metadata>
225 </configuration>
226 </plugin>
227
228 </plugins>
229 </build>
Yupanqui Munoz85904a42016-12-13 13:58:35 +0100230 <activation>
231 <property>
232 <name>SIGN</name>
233 <value>true</value>
234 </property>
235 </activation>
Jonathan Dumontf282cf22015-12-11 15:07:49 +0100236 </profile>
237
238 </profiles>
239
Jonathan Dumont27b944b2015-11-18 11:15:36 +0100240 <!-- PROPERTIES -->
241 <properties>
242 <!-- Product version displayed in the title bar, etc. -->
Jonathan Dumontb6a777f2015-10-15 15:48:30 +0200243 <product.version>0.7.0</product.version>
244
Jonathan Dumont27b944b2015-11-18 11:15:36 +0100245 <!-- Tycho plugin version -->
Ansgar Radermacherf3cdf3d2019-01-11 09:16:58 +0100246 <tycho-version>1.3.0</tycho-version>
Yupanqui Munoz85904a42016-12-13 13:58:35 +0100247
248 <!-- eclipse-jarsigner plugin version -->
Yupanqui Munozf457f052016-12-13 16:18:25 +0100249 <jarsigner-version>1.1.3</jarsigner-version>
Jonathan Dumont27b944b2015-11-18 11:15:36 +0100250
251 <!-- Enforce used of UTF encoding is mandatory. Otherwise, default platform encoding is used, and some issues appears with differents os constructions -->
252 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Jonathan Dumontbaf87c62015-12-02 21:32:12 +0100253
254 <!-- Sonar properties -->
Jonathan Dumont2cf9dcf2015-12-02 21:45:04 +0100255 <sonar.exclusions>**/src-gen/**/*</sonar.exclusions>
Jonathan Dumontbaf87c62015-12-02 21:32:12 +0100256 <sonar.language>java</sonar.language>
Jonathan Dumont27b944b2015-11-18 11:15:36 +0100257 </properties>
258
Ansgar Radermacher28721f22019-01-08 10:16:29 +0100259</project>