blob: 946288d64a320758a79b1d7e25e0e67d08be561e [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>
7 <version>1.14.100-SNAPSHOT</version>
8 <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>
12 <tycho-version>1.0.0</tycho-version>
13 <tycho-extras-version>1.0.0</tycho-extras-version>
14 <maven-resources-version>2.6</maven-resources-version>
nickboldta2aeb132018-01-22 16:48:26 -050015
nickboldte77ffdc2018-01-19 14:55:25 -050016 <!-- TODO: switch to 4.8 after June 27, 2018 -->
17 <sdk-version>4.8milestones</sdk-version>
nickboldtdd58cc62018-01-16 12:29:38 -050018
nickboldte77ffdc2018-01-19 14:55:25 -050019 <!-- Set up the default target platform to build against -->
20 <license-site>http://download.eclipse.org/cbi/updates/license</license-site>
nickboldtb0d27192018-01-19 18:45:07 -050021 <platform-site>http://download.eclipse.org/eclipse/updates/4.8milestones/</platform-site>
22 <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/S20180119201206/repository/</orbit-site>
23 <emf-site>http://download.eclipse.org/modeling/emf/emf/updates/2.14milestones/</emf-site>
24 <emf-query-site>http://download.eclipse.org/modeling/emf/query/updates/releases/R201706061326/</emf-query-site>
25 <mdt-ocl-site>http://download.eclipse.org/modeling/mdt/ocl/updates/releases/6.3.0/</mdt-ocl-site>
26 <gef-site>http://download.eclipse.org/tools/gef/updates/legacy/releases/4.0.0_gef-master_1952/</gef-site>
nickboldte77ffdc2018-01-19 14:55:25 -050027 <junit3-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/</junit3-site>
nickboldt8f58dc12018-01-19 13:03:32 -050028
nickboldte77ffdc2018-01-19 14:55:25 -050029 <cbi-plugins.version>1.1.4</cbi-plugins.version>
30 <cbi-repo.url>https://repo.eclipse.org/content/repositories/cbi/</cbi-repo.url>
31
32 <!-- baseline check URLs: skip with -DskipBaselineComparison=true and/or -Dtycho.baseline=disable -->
nickboldtb0d27192018-01-19 18:45:07 -050033 <skipBaselineComparison>true</skipBaselineComparison>
nickboldte77ffdc2018-01-19 14:55:25 -050034 <lastStableRepository>http://download.eclipse.org/datatools/1.14.1.201712071719/repository/</lastStableRepository>
nickboldtb88ee352018-01-16 13:00:06 -050035 </properties>
nickboldtdd58cc62018-01-16 12:29:38 -050036
nickboldte77ffdc2018-01-19 14:55:25 -050037 <repositories>
38 <repository>
nickboldtb0d27192018-01-19 18:45:07 -050039 <id>license-site</id>
nickboldte77ffdc2018-01-19 14:55:25 -050040 <url>${license-site}</url>
41 <layout>p2</layout>
42 </repository>
nickboldt04934f22018-01-16 14:23:32 -050043 <repository>
nickboldtb0d27192018-01-19 18:45:07 -050044 <id>platform-site</id>
nickboldt04934f22018-01-16 14:23:32 -050045 <url>${platform-site}</url>
46 <layout>p2</layout>
47 </repository>
48 <repository>
nickboldtb0d27192018-01-19 18:45:07 -050049 <id>orbit-site</id>
50 <url>${orbit-site}</url>
51 <layout>p2</layout>
52 </repository>
53 <repository>
54 <id>emf-site</id>
55 <url>${emf-site}</url>
56 <layout>p2</layout>
57 </repository>
58 <repository>
59 <id>emf-query-site</id>
60 <url>${emf-query-site}</url>
61 <layout>p2</layout>
62 </repository>
63 <repository>
64 <id>mdt-ocl-site</id>
65 <url>${mdt-ocl-site}</url>
66 <layout>p2</layout>
67 </repository>
68 <repository>
69 <id>gef-site</id>
70 <url>${gef-site}</url>
71 <layout>p2</layout>
72 </repository>
73 <repository>
74 <id>junit3-site</id>
nickboldt04934f22018-01-16 14:23:32 -050075 <url>${junit3-site}</url>
76 <layout>p2</layout>
77 </repository>
nickboldte77ffdc2018-01-19 14:55:25 -050078 </repositories>
79 <pluginRepositories>
80 <pluginRepository>
81 <id>sonatype</id>
82 <url>http://oss.sonatype.org/content/repositories/public</url>
83 <snapshots>
84 <enabled>true</enabled>
85 </snapshots>
86 <releases>
87 <enabled>true</enabled>
88 </releases>
89 </pluginRepository>
nickboldt8f58dc12018-01-19 13:03:32 -050090 <pluginRepository>
91 <id>cbi-repo</id>
92 <url>${cbi-repo.url}</url>
93 <releases>
94 <enabled>true</enabled>
95 </releases>
96 <snapshots>
97 <enabled>true</enabled>
98 </snapshots>
99 </pluginRepository>
nickboldte77ffdc2018-01-19 14:55:25 -0500100 </pluginRepositories>
101 <build>
102 <plugins>
nickboldtb0d27192018-01-19 18:45:07 -0500103 <plugin>
104 <groupId>org.eclipse.tycho</groupId>
105 <artifactId>tycho-maven-plugin</artifactId>
106 <version>${tycho-version}</version>
107 <extensions>true</extensions>
108 </plugin>
109 <!-- to skip this check, use -Dtycho.baseline=disable -->
110 <plugin>
nickboldte77ffdc2018-01-19 14:55:25 -0500111 <groupId>org.eclipse.tycho</groupId>
nickboldtb0d27192018-01-19 18:45:07 -0500112 <artifactId>tycho-p2-plugin</artifactId>
nickboldte77ffdc2018-01-19 14:55:25 -0500113 <version>${tycho-version}</version>
nickboldtb0d27192018-01-19 18:45:07 -0500114 <executions>
115 <execution>
116 <id>attached-p2-metadata</id>
117 <phase>package</phase>
118 <goals>
119 <goal>p2-metadata</goal>
120 </goals>
121 </execution>
122 </executions>
123 <configuration>
124 <baselineReplace>none</baselineReplace>
125 <baselineRepositories>
126 <repository>
127 <url>${lastStableRepository}</url>
128 </repository>
129 </baselineRepositories>
130 </configuration>
131 </plugin>
132 <!-- to skip this check, use -DskipBaselineComparison=true -->
133 <plugin>
134 <groupId>org.eclipse.tycho.extras</groupId>
135 <artifactId>tycho-p2-extras-plugin</artifactId>
136 <version>${tycho-version}</version>
137 <executions>
138 <execution>
139 <goals>
140 <goal>compare-version-with-baselines</goal>
141 </goals>
142 <phase>verify</phase>
143 <configuration>
144 <skip>${skipBaselineComparison}</skip>
145 <baselines>
146 <repo>${lastStableRepository}</repo>
147 </baselines>
148 </configuration>
149 </execution>
150 </executions>
151 </plugin>
nickboldta2aeb132018-01-22 16:48:26 -0500152 <plugin>
153 <groupId>org.eclipse.tycho</groupId>
154 <artifactId>target-platform-configuration</artifactId>
155 <version>${tycho-version}</version>
156 <configuration>
157 <environments>
158 <environment>
159 <os>linux</os>
160 <ws>gtk</ws>
161 <arch>x86</arch>
162 </environment>
163 <environment>
164 <os>linux</os>
165 <ws>gtk</ws>
166 <arch>x86_64</arch>
167 </environment>
168 <environment>
169 <os>win32</os>
170 <ws>win32</ws>
171 <arch>x86</arch>
172 </environment>
173 </environments>
174 <resolver>p2</resolver>
175 <ignoreTychoRepositories>true</ignoreTychoRepositories>
176 <includePackedArtifacts>true</includePackedArtifacts>
177 <pomDependencies>consider</pomDependencies>
178 <filters>
179 <filter>
180 <type>eclipse-plugin</type>
181 <id>org.apache.commons.net</id>
182 <restrictTo>
183 <versionRange>[3.2,3.3)</versionRange>
184 </restrictTo>
185 </filter>
186 <filter>
187 <type>eclipse-plugin</type>
188 <id>org.apache.commons.net.source</id>
189 <restrictTo>
190 <versionRange>[3.2,3.3)</versionRange>
191 </restrictTo>
192 </filter>
193 </filters>
194 </configuration>
195 </plugin>
196 <plugin>
197 <groupId>org.eclipse.tycho</groupId>
198 <artifactId>tycho-compiler-plugin</artifactId>
199 <version>${tycho-version}</version>
200 <configuration>
201 <compilerArgument>-warn:+discouraged,forbidden</compilerArgument>
202 <!-- ignore project settings which appear in Eclipse but are ignored by Tycho <= 0.26, like API access restrictions -->
203 <useProjectSettings>false</useProjectSettings>
204 <encoding>UTF-8</encoding>
205 </configuration>
206 </plugin>
207 <plugin>
208 <groupId>org.eclipse.tycho</groupId>
209 <artifactId>tycho-source-plugin</artifactId>
210 <version>${tycho-version}</version>
211 <configuration>
212 <encoding>UTF-8</encoding>
213 </configuration>
214 <executions>
215 <execution>
216 <id>plugin-source</id>
nickboldte77ffdc2018-01-19 14:55:25 -0500217 <goals>
nickboldta2aeb132018-01-22 16:48:26 -0500218 <goal>plugin-source</goal>
nickboldte77ffdc2018-01-19 14:55:25 -0500219 </goals>
nickboldta2aeb132018-01-22 16:48:26 -0500220 </execution>
221 </executions>
222 </plugin>
223 <plugin>
224 <groupId>org.eclipse.tycho.extras</groupId>
225 <artifactId>tycho-source-feature-plugin</artifactId>
226 <version>${tycho-extras-version}</version>
227 <executions>
228 <execution>
229 <id>source-feature</id>
230 <phase>package</phase>
231 <goals>
232 <goal>source-feature</goal>
233 </goals>
234 </execution>
235 </executions>
236 </plugin>
237 <plugin>
238 <groupId>org.eclipse.tycho</groupId>
239 <artifactId>tycho-packaging-plugin</artifactId>
240 <version>${tycho-version}</version>
241 <dependencies>
242 <dependency>
243 <groupId>org.eclipse.tycho.extras</groupId>
244 <artifactId>tycho-buildtimestamp-jgit</artifactId>
245 <version>${tycho-version}</version>
246 </dependency>
247 <dependency>
248 <groupId>org.eclipse.tycho.extras</groupId>
249 <artifactId>tycho-sourceref-jgit</artifactId>
250 <version>${tycho-extras-version}</version>
251 </dependency>
252 </dependencies>
253 <configuration>
254 <strictBinIncludes>false</strictBinIncludes>
255 <timestampProvider>jgit</timestampProvider>
256 <jgit.ignore>pom.xml</jgit.ignore>
257 <jgit.dirtyWorkingTree>ignore</jgit.dirtyWorkingTree>
258 <sourceReferences>
259 <generate>true</generate>
260 </sourceReferences>
261 </configuration>
262 </plugin>
263 <plugin>
264 <groupId>org.eclipse.tycho</groupId>
265 <artifactId>tycho-p2-repository-plugin</artifactId>
266 <version>${tycho-version}</version>
267 <configuration>
268 <finalName>${project.artifactId}</finalName>
269 </configuration>
270 </plugin>
271 <plugin>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-resources-plugin</artifactId>
274 <version>${maven-resources-version}</version>
275 <configuration>
276 <encoding>UTF-8</encoding>
277 </configuration>
278 </plugin>
279 </plugins>
nickboldte77ffdc2018-01-19 14:55:25 -0500280 </build>
nickboldtdd58cc62018-01-16 12:29:38 -0500281
nickboldt8f58dc12018-01-19 13:03:32 -0500282 <profiles>
283 <profile>
284 <id>eclipse-sign</id>
285 <build>
286 <plugins>
287 <plugin>
288 <groupId>org.eclipse.tycho</groupId>
289 <artifactId>target-platform-configuration</artifactId>
nickboldtc3872452018-01-19 13:05:49 -0500290 <version>${tycho-version}</version>
nickboldt8f58dc12018-01-19 13:03:32 -0500291 <configuration>
292 <includePackedArtifacts>true</includePackedArtifacts>
293 </configuration>
294 </plugin>
295 <plugin>
296 <groupId>org.eclipse.tycho.extras</groupId>
297 <artifactId>tycho-pack200a-plugin</artifactId>
298 <version>${tycho-extras-version}</version>
299 <configuration>
300 <fork>true</fork>
301 </configuration>
302 <executions>
303 <execution>
304 <id>pack200-normalize</id>
305 <goals>
306 <goal>normalize</goal>
307 </goals>
308 <phase>verify</phase>
309 </execution>
310 </executions>
311 </plugin>
312 <plugin>
313 <groupId>org.eclipse.cbi.maven.plugins</groupId>
314 <artifactId>eclipse-jarsigner-plugin</artifactId>
315 <version>${cbi-plugins.version}</version>
316 <executions>
317 <execution>
318 <id>sign</id>
319 <goals>
320 <goal>sign</goal>
321 </goals>
322 <phase>verify</phase>
323 </execution>
324 </executions>
325 </plugin>
326 <plugin>
327 <groupId>org.eclipse.tycho.extras</groupId>
328 <artifactId>tycho-pack200b-plugin</artifactId>
329 <version>${tycho-extras-version}</version>
330 <configuration>
331 <fork>true</fork>
332 </configuration>
333 <executions>
334 <execution>
335 <id>pack200-pack</id>
336 <goals>
337 <goal>pack</goal>
338 </goals>
339 <phase>verify</phase>
340 </execution>
341 </executions>
342 </plugin>
343 <plugin>
344 <groupId>org.eclipse.tycho</groupId>
345 <artifactId>tycho-p2-plugin</artifactId>
nickboldtc3872452018-01-19 13:05:49 -0500346 <version>${tycho-version}</version>
nickboldt8f58dc12018-01-19 13:03:32 -0500347 <executions>
348 <execution>
349 <id>p2-metadata</id>
350 <goals>
351 <goal>p2-metadata</goal>
352 </goals>
353 <phase>verify</phase>
354 </execution>
355 </executions>
356 <configuration>
357 <defaultP2Metadata>false</defaultP2Metadata>
358 </configuration>
359 </plugin>
360 </plugins>
361 </build>
362 </profile>
363 </profiles>
364
nickboldte77ffdc2018-01-19 14:55:25 -0500365 <modules>
nickboldtc92525e2018-01-22 15:56:23 -0500366 <module>plugins</module>
367 <module>tests</module>
368 <module>examples</module>
369 <module>features</module>
370 <module>site</module>
nickboldte77ffdc2018-01-19 14:55:25 -0500371 </modules>
nickboldtb88ee352018-01-16 13:00:06 -0500372
nickboldtdd58cc62018-01-16 12:29:38 -0500373</project>