blob: 0a63a2b8ccb80d9e479d8d234f76b3befff2b12a [file] [log] [blame]
nickboldtdd58cc62018-01-16 12:29:38 -05001<?xml version="1.0" encoding="UTF-8"?>
2<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
nickboldte77ffdc2018-01-19 14:55:25 -05004 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.eclipse.datatools</groupId>
6 <artifactId>org.eclipse.datatools</artifactId>
Stephane Bouchet74cac892019-11-25 09:47:40 +01007 <version>1.14.102-SNAPSHOT</version>
nickboldte77ffdc2018-01-19 14:55:25 -05008 <packaging>pom</packaging>
nickboldtdd58cc62018-01-16 12:29:38 -05009
nickboldte77ffdc2018-01-19 14:55:25 -050010 <properties>
11 <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/datatools/org.eclipse.datatools.git</tycho.scmUrl>
Mat Booth4c420062022-01-14 11:39:10 +000012 <tycho-version>2.3.0</tycho-version>
nickboldtc16936e2018-07-03 11:11:53 -040013 <tycho-extras-version>${tycho-version}</tycho-extras-version>
Mat Booth4c420062022-01-14 11:39:10 +000014 <tycho-repo.url>https://oss.sonatype.org/content/repositories/public/</tycho-repo.url>
15 <tycho-snapshot-repo.url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</tycho-snapshot-repo.url>
nickboldte77ffdc2018-01-19 14:55:25 -050016 <maven-resources-version>2.6</maven-resources-version>
nickboldta2aeb132018-01-22 16:48:26 -050017
nickboldte77ffdc2018-01-19 14:55:25 -050018 <!-- Set up the default target platform to build against -->
Mat Booth4c420062022-01-14 11:39:10 +000019 <license-site>https://download.eclipse.org/cbi/updates/license</license-site>
20 <!-- <platform-repo.url>https://download.eclipse.org/eclipse/updates/I-builds/</platform-repo.url> -->
21 <platform-repo.url>https://download.eclipse.org/eclipse/updates/4.23-I-builds/</platform-repo.url>
22 <!-- <orbit-repo.url>https://download.eclipse.org/tools/orbit/I-builds/I20180829144012/repository/</orbit-repo.url> -->
23 <orbit-repo.url>https://download.eclipse.org/tools/orbit/downloads/latest-I/</orbit-repo.url>
24 <emf-site>https://download.eclipse.org/modeling/emf/emf/builds/release/2.28/</emf-site>
25 <emf-query-site>https://download.eclipse.org/modeling/emf/query/updates/milestones/</emf-query-site>
26 <mdt-ocl-site>https://download.eclipse.org/modeling/mdt/ocl/updates/releases/latest/</mdt-ocl-site>
27 <gef-site>https://download.eclipse.org/tools/gef/updates/legacy/releases/4.0.0_gef-master_1952/</gef-site>
28 <junit3-site>https://archive.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/</junit3-site>
nickboldt8f58dc12018-01-19 13:03:32 -050029
Mat Booth4c420062022-01-14 11:39:10 +000030 <cbi-plugins.version>1.3.2</cbi-plugins.version>
nickboldte77ffdc2018-01-19 14:55:25 -050031 <cbi-repo.url>https://repo.eclipse.org/content/repositories/cbi/</cbi-repo.url>
32
33 <!-- baseline check URLs: skip with -DskipBaselineComparison=true and/or -Dtycho.baseline=disable -->
nickboldtf5652882018-01-24 15:34:51 -050034 <skipBaselineComparison>false</skipBaselineComparison>
Mat Booth4c420062022-01-14 11:39:10 +000035 <lastStableRepository>https://download.eclipse.org/datatools/updates/1.14.100.201805031905/repository/</lastStableRepository>
nickboldtb88ee352018-01-16 13:00:06 -050036 </properties>
nickboldtdd58cc62018-01-16 12:29:38 -050037
nickboldte77ffdc2018-01-19 14:55:25 -050038 <repositories>
39 <repository>
nickboldtb0d27192018-01-19 18:45:07 -050040 <id>license-site</id>
nickboldte77ffdc2018-01-19 14:55:25 -050041 <url>${license-site}</url>
42 <layout>p2</layout>
43 </repository>
nickboldt04934f22018-01-16 14:23:32 -050044 <repository>
nickboldt0a870292018-05-04 15:08:10 -040045 <id>platform-repo.url</id>
46 <url>${platform-repo.url}</url>
nickboldt04934f22018-01-16 14:23:32 -050047 <layout>p2</layout>
48 </repository>
49 <repository>
nickboldt0a870292018-05-04 15:08:10 -040050 <id>orbit-repo.url</id>
51 <url>${orbit-repo.url}</url>
nickboldtb0d27192018-01-19 18:45:07 -050052 <layout>p2</layout>
53 </repository>
54 <repository>
55 <id>emf-site</id>
56 <url>${emf-site}</url>
57 <layout>p2</layout>
58 </repository>
59 <repository>
60 <id>emf-query-site</id>
61 <url>${emf-query-site}</url>
62 <layout>p2</layout>
63 </repository>
64 <repository>
65 <id>mdt-ocl-site</id>
66 <url>${mdt-ocl-site}</url>
67 <layout>p2</layout>
68 </repository>
69 <repository>
70 <id>gef-site</id>
71 <url>${gef-site}</url>
72 <layout>p2</layout>
73 </repository>
74 <repository>
75 <id>junit3-site</id>
nickboldt04934f22018-01-16 14:23:32 -050076 <url>${junit3-site}</url>
77 <layout>p2</layout>
78 </repository>
nickboldte77ffdc2018-01-19 14:55:25 -050079 </repositories>
80 <pluginRepositories>
81 <pluginRepository>
nickboldt8f58dc12018-01-19 13:03:32 -050082 <id>cbi-repo</id>
83 <url>${cbi-repo.url}</url>
84 <releases>
85 <enabled>true</enabled>
86 </releases>
87 <snapshots>
88 <enabled>true</enabled>
89 </snapshots>
90 </pluginRepository>
Mat Booth4c420062022-01-14 11:39:10 +000091 <pluginRepository>
92 <id>tycho</id>
93 <url>${tycho-repo.url}</url>
94 <releases>
95 <enabled>true</enabled>
96 </releases>
97 <snapshots>
98 <enabled>true</enabled>
99 </snapshots>
100 </pluginRepository>
101 <pluginRepository>
102 <id>tycho-snapshot</id>
103 <url>${tycho-snapshot-repo.url}</url>
104 <releases>
105 <enabled>true</enabled>
106 </releases>
107 <snapshots>
108 <enabled>true</enabled>
109 </snapshots>
110 </pluginRepository>
nickboldte77ffdc2018-01-19 14:55:25 -0500111 </pluginRepositories>
112 <build>
113 <plugins>
nickboldtb0d27192018-01-19 18:45:07 -0500114 <plugin>
115 <groupId>org.eclipse.tycho</groupId>
116 <artifactId>tycho-maven-plugin</artifactId>
117 <version>${tycho-version}</version>
118 <extensions>true</extensions>
119 </plugin>
nickboldtfa7cc9a2018-01-23 17:07:47 -0500120
nickboldtb0d27192018-01-19 18:45:07 -0500121 <!-- to skip this check, use -DskipBaselineComparison=true -->
122 <plugin>
123 <groupId>org.eclipse.tycho.extras</groupId>
124 <artifactId>tycho-p2-extras-plugin</artifactId>
nickboldtdfc8ff02018-08-29 11:51:30 -0400125 <version>${tycho-extras-version}</version>
nickboldtb0d27192018-01-19 18:45:07 -0500126 <executions>
127 <execution>
128 <goals>
129 <goal>compare-version-with-baselines</goal>
130 </goals>
131 <phase>verify</phase>
132 <configuration>
133 <skip>${skipBaselineComparison}</skip>
134 <baselines>
135 <repo>${lastStableRepository}</repo>
136 </baselines>
137 </configuration>
138 </execution>
139 </executions>
140 </plugin>
nickboldta2aeb132018-01-22 16:48:26 -0500141 <plugin>
142 <groupId>org.eclipse.tycho</groupId>
143 <artifactId>target-platform-configuration</artifactId>
144 <version>${tycho-version}</version>
145 <configuration>
146 <environments>
147 <environment>
148 <os>linux</os>
149 <ws>gtk</ws>
nickboldta2aeb132018-01-22 16:48:26 -0500150 <arch>x86_64</arch>
151 </environment>
152 <environment>
153 <os>win32</os>
154 <ws>win32</ws>
nickboldt0ad72412018-02-05 12:46:51 -0500155 <arch>x86_64</arch>
156 </environment>
157 <environment>
158 <os>macosx</os>
159 <ws>cocoa</ws>
160 <arch>x86_64</arch>
nickboldta2aeb132018-01-22 16:48:26 -0500161 </environment>
162 </environments>
163 <resolver>p2</resolver>
164 <ignoreTychoRepositories>true</ignoreTychoRepositories>
165 <includePackedArtifacts>true</includePackedArtifacts>
166 <pomDependencies>consider</pomDependencies>
nickboldta2aeb132018-01-22 16:48:26 -0500167 </configuration>
168 </plugin>
169 <plugin>
170 <groupId>org.eclipse.tycho</groupId>
171 <artifactId>tycho-compiler-plugin</artifactId>
172 <version>${tycho-version}</version>
173 <configuration>
174 <compilerArgument>-warn:+discouraged,forbidden</compilerArgument>
175 <!-- ignore project settings which appear in Eclipse but are ignored by Tycho <= 0.26, like API access restrictions -->
176 <useProjectSettings>false</useProjectSettings>
177 <encoding>UTF-8</encoding>
178 </configuration>
179 </plugin>
180 <plugin>
181 <groupId>org.eclipse.tycho</groupId>
182 <artifactId>tycho-source-plugin</artifactId>
183 <version>${tycho-version}</version>
184 <configuration>
185 <encoding>UTF-8</encoding>
186 </configuration>
187 <executions>
188 <execution>
189 <id>plugin-source</id>
nickboldte77ffdc2018-01-19 14:55:25 -0500190 <goals>
nickboldta2aeb132018-01-22 16:48:26 -0500191 <goal>plugin-source</goal>
nickboldte77ffdc2018-01-19 14:55:25 -0500192 </goals>
nickboldta2aeb132018-01-22 16:48:26 -0500193 </execution>
194 </executions>
195 </plugin>
196 <plugin>
nickboldta2aeb132018-01-22 16:48:26 -0500197 <groupId>org.eclipse.tycho</groupId>
198 <artifactId>tycho-packaging-plugin</artifactId>
199 <version>${tycho-version}</version>
200 <dependencies>
201 <dependency>
202 <groupId>org.eclipse.tycho.extras</groupId>
203 <artifactId>tycho-buildtimestamp-jgit</artifactId>
nickboldtdfc8ff02018-08-29 11:51:30 -0400204 <version>${tycho-extras-version}</version>
nickboldta2aeb132018-01-22 16:48:26 -0500205 </dependency>
206 <dependency>
207 <groupId>org.eclipse.tycho.extras</groupId>
208 <artifactId>tycho-sourceref-jgit</artifactId>
209 <version>${tycho-extras-version}</version>
210 </dependency>
211 </dependencies>
212 <configuration>
213 <strictBinIncludes>false</strictBinIncludes>
214 <timestampProvider>jgit</timestampProvider>
215 <jgit.ignore>pom.xml</jgit.ignore>
216 <jgit.dirtyWorkingTree>ignore</jgit.dirtyWorkingTree>
217 <sourceReferences>
218 <generate>true</generate>
219 </sourceReferences>
220 </configuration>
221 </plugin>
222 <plugin>
223 <groupId>org.eclipse.tycho</groupId>
224 <artifactId>tycho-p2-repository-plugin</artifactId>
225 <version>${tycho-version}</version>
226 <configuration>
227 <finalName>${project.artifactId}</finalName>
228 </configuration>
229 </plugin>
230 <plugin>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-resources-plugin</artifactId>
233 <version>${maven-resources-version}</version>
234 <configuration>
235 <encoding>UTF-8</encoding>
236 </configuration>
237 </plugin>
238 </plugins>
nickboldtfa7cc9a2018-01-23 17:07:47 -0500239
240 <pluginManagement>
241 <plugins>
242 <plugin>
243 <groupId>org.eclipse.tycho.extras</groupId>
244 <artifactId>tycho-source-feature-plugin</artifactId>
245 <version>${tycho-extras-version}</version>
246 <executions>
247 <execution>
248 <id>source-feature</id>
249 <phase>package</phase>
250 <goals>
251 <goal>source-feature</goal>
252 </goals>
253 </execution>
254 </executions>
255 </plugin>
256 <!-- to skip this check, use -Dtycho.baseline=disable -->
257 <plugin>
258 <groupId>org.eclipse.tycho</groupId>
259 <artifactId>tycho-p2-plugin</artifactId>
260 <version>${tycho-version}</version>
261 <executions>
262 <execution>
263 <id>attached-p2-metadata</id>
264 <phase>package</phase>
265 <goals>
266 <goal>p2-metadata</goal>
267 </goals>
268 </execution>
269 </executions>
270 <configuration>
271 <!-- <baselineReplace>none</baselineReplace> -->
nickboldtf5652882018-01-24 15:34:51 -0500272 <baselineRepositories>
nickboldtfa7cc9a2018-01-23 17:07:47 -0500273 <repository>
274 <url>${lastStableRepository}</url>
275 </repository>
nickboldtf5652882018-01-24 15:34:51 -0500276 </baselineRepositories>
nickboldtfa7cc9a2018-01-23 17:07:47 -0500277 </configuration>
278 </plugin>
279 </plugins>
280 </pluginManagement>
nickboldte77ffdc2018-01-19 14:55:25 -0500281 </build>
nickboldtdd58cc62018-01-16 12:29:38 -0500282
nickboldt8f58dc12018-01-19 13:03:32 -0500283 <profiles>
284 <profile>
285 <id>eclipse-sign</id>
286 <build>
287 <plugins>
288 <plugin>
289 <groupId>org.eclipse.tycho</groupId>
290 <artifactId>target-platform-configuration</artifactId>
nickboldtc3872452018-01-19 13:05:49 -0500291 <version>${tycho-version}</version>
nickboldt8f58dc12018-01-19 13:03:32 -0500292 <configuration>
293 <includePackedArtifacts>true</includePackedArtifacts>
294 </configuration>
295 </plugin>
296 <plugin>
297 <groupId>org.eclipse.tycho.extras</groupId>
298 <artifactId>tycho-pack200a-plugin</artifactId>
299 <version>${tycho-extras-version}</version>
300 <configuration>
301 <fork>true</fork>
302 </configuration>
303 <executions>
304 <execution>
305 <id>pack200-normalize</id>
306 <goals>
307 <goal>normalize</goal>
308 </goals>
309 <phase>verify</phase>
310 </execution>
311 </executions>
312 </plugin>
313 <plugin>
314 <groupId>org.eclipse.cbi.maven.plugins</groupId>
315 <artifactId>eclipse-jarsigner-plugin</artifactId>
316 <version>${cbi-plugins.version}</version>
317 <executions>
318 <execution>
319 <id>sign</id>
320 <goals>
321 <goal>sign</goal>
322 </goals>
323 <phase>verify</phase>
324 </execution>
325 </executions>
326 </plugin>
327 <plugin>
328 <groupId>org.eclipse.tycho.extras</groupId>
329 <artifactId>tycho-pack200b-plugin</artifactId>
330 <version>${tycho-extras-version}</version>
331 <configuration>
332 <fork>true</fork>
333 </configuration>
334 <executions>
335 <execution>
336 <id>pack200-pack</id>
337 <goals>
338 <goal>pack</goal>
339 </goals>
340 <phase>verify</phase>
341 </execution>
342 </executions>
343 </plugin>
344 <plugin>
345 <groupId>org.eclipse.tycho</groupId>
346 <artifactId>tycho-p2-plugin</artifactId>
nickboldtc3872452018-01-19 13:05:49 -0500347 <version>${tycho-version}</version>
nickboldt8f58dc12018-01-19 13:03:32 -0500348 <executions>
349 <execution>
350 <id>p2-metadata</id>
351 <goals>
352 <goal>p2-metadata</goal>
353 </goals>
nickboldtebefcf22018-01-23 15:16:40 -0500354 <phase>package</phase>
nickboldt8f58dc12018-01-19 13:03:32 -0500355 </execution>
356 </executions>
357 <configuration>
358 <defaultP2Metadata>false</defaultP2Metadata>
359 </configuration>
360 </plugin>
361 </plugins>
362 </build>
363 </profile>
364 </profiles>
365
nickboldte77ffdc2018-01-19 14:55:25 -0500366 <modules>
nickboldtc92525e2018-01-22 15:56:23 -0500367 <module>plugins</module>
368 <module>tests</module>
369 <module>examples</module>
370 <module>features</module>
371 <module>site</module>
nickboldte77ffdc2018-01-19 14:55:25 -0500372 </modules>
nickboldtb88ee352018-01-16 13:00:06 -0500373
nickboldtdd58cc62018-01-16 12:29:38 -0500374</project>