-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpom.xml
More file actions
341 lines (320 loc) · 12.3 KB
/
pom.xml
File metadata and controls
341 lines (320 loc) · 12.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<?xml version="1.0" encoding="UTF-8"?>
<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"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<organization>
<name>arguslab.org</name>
<url>http://arguslab.org</url>
</organization>
<groupId>org.argus-ide</groupId>
<artifactId>org.argus-ide.build</artifactId>
<version>1.0.0-SNAPSHOT</version>
<description>Default config holder (value, profiles, versions, ...) for the build of Argus IDE for Eclipse</description>
<packaging>pom</packaging>
<properties>
<encoding>UTF-8</encoding>
<retryFlakyTests>true</retryFlakyTests>
<!-- p2 repositories location -->
<repo.ajdt.luna>http://download.eclipse.org/tools/ajdt/44/dev/update</repo.ajdt.luna>
<repo.equinox.launcher>http://download.scala-ide.org/plugins/equinox-weaving-launcher/releases/site</repo.equinox.launcher>
<repo.nebula>http://download.eclipse.org/technology/nebula/snapshot</repo.nebula>
<repo.eclipse.luna>http://download.eclipse.org/releases/luna</repo.eclipse.luna>
<!-- fixed versions -->
<miglayout.version>3.7.4</miglayout.version>
<log4j.version>1.2.17</log4j.version>
<mockito.version>1.9.5</mockito.version>
<diffutils.version>1.2.1</diffutils.version>
<!-- plugin versions -->
<tycho.plugin.version>0.21.0</tycho.plugin.version>
<scala.plugin.version>3.1.6</scala.plugin.version>
<aspectj.plugin.version>1.7</aspectj.plugin.version>
<aspectj.version>1.8.2</aspectj.version>
<maven-bundle.plugin.version>2.3.7</maven-bundle.plugin.version>
<properties-maven.plugin.version>1.1.10</properties-maven.plugin.version>
<buildnumber-maven.plugin.version>1.1</buildnumber-maven.plugin.version>
<maven-clean.plugin.version>2.5</maven-clean.plugin.version>
<!-- Weaving plugin version -->
<weaving.hook.plugin.version>Select an Eclipse profile</weaving.hook.plugin.version>
<!-- tycho test related -->
<tycho.test.OSspecific></tycho.test.OSspecific>
<!-- Partial workaround against JDT Weaving deadlocks. See #1000317 and the original ticket on https://issuetracker.springsource.com/browse/STS-1445 -->
<tycho.test.weaving>-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dosgi.classloader.lock=classname</tycho.test.weaving>
<tycho.test.jvmArgs>-Xmx1024m -XX:MaxPermSize=256m -Dsdtcore.headless -Dsdtcore.notimeouts -DretryFlakyTests=${retryFlakyTests} ${tycho.test.weaving} ${tycho.test.OSspecific}</tycho.test.jvmArgs>
<!-- base versions -->
<!-- dependencies repos, can be overwritten by profiles -->
<eclipse.codename>Select an Eclipse profile</eclipse.codename>
<repo.eclipse>Select an Eclipse profile</repo.eclipse>
<repo.ajdt>Select an Eclipse profile</repo.ajdt>
<!-- default values, can be overwritten by profiles -->
<scala.version>Select a Scala profile</scala.version>
<scala.short.version>Select a Scala profile</scala.short.version>
<scala.minor.version>Select a Scala profile</scala.minor.version>
<version.suffix>Select a Scala profile</version.suffix>
<jdt.core.version.range>Select an Eclipse profile</jdt.core.version.range>
<version.tag>local</version.tag>
<sbt.version>0.13.6</sbt.version>
<!-- the repos containing the Scala dependencies -->
</properties>
<profiles>
<profile>
<id>retryFlakyTests</id>
<properties>
<retryFlakyTests>true</retryFlakyTests>
</properties>
</profile>
<profile>
<id>scala-2.11.x</id>
<properties>
<scala.version>${scala211.version}</scala.version>
<scala.short.version>211</scala.short.version>
<scala.minor.version>2.11</scala.minor.version>
<version.suffix>2_11</version.suffix>
</properties>
</profile>
<profile>
<!-- Eclipse Luna -->
<id>eclipse-luna</id>
<properties>
<eclipse.codename>luna</eclipse.codename>
<repo.eclipse>${repo.eclipse.luna}</repo.eclipse>
<repo.ajdt>${repo.ajdt.luna}</repo.ajdt>
<jdt.core.version.range>[3.10.0,4.0.0)</jdt.core.version.range>
<weaving.hook.plugin.version>1.1.100.weaving-hook-20140821</weaving.hook.plugin.version>
</properties>
</profile>
<profile>
<!-- some extra configuration for running tests with tycho on Mac OS -->
<id>macOs</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<tycho.test.OSspecific>-Dosgi.ws=cocoa -XstartOnFirstThread</tycho.test.OSspecific>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<dependencies>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.launching.macosx</artifactId>
<type>eclipse-plugin</type>
</dependency>
</dependencies>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<!-- pull the data needed to add the version numbers to the manifests -->
<id>set-versions</id>
<dependencies>
<dependency>
<groupId>org.argus-ide</groupId>
<artifactId>build-tools_1.01</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>copy.reflect</id>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<classpathScope>compile</classpathScope>
<mainClass>org.scalaide.buildtools.UpdateScalaIDEManifests</mainClass>
<arguments>
<argument>${scala.version}</argument>
<argument>${settings.localRepository}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<!-- the sonatype repos -->
<repository>
<id>sonatype.release</id>
<name>Sonatype maven release repository</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
<snapshots><enabled>false</enabled></snapshots>
</repository>
<repository>
<id>sonatype.snapshot</id>
<name>Sonatype maven snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.miglayout</groupId>
<artifactId>miglayout</artifactId>
<version>${miglayout.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<!-- test support -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${mockito.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<!-- define the version of all used plugins, and some default configuration -->
<plugins>
<!-- osgi bundle builder -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bundle.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<unpackBundle>true</unpackBundle>
<manifestLocation>${project.build.directory}/META-INF</manifestLocation>
</configuration>
</plugin>
<!-- set property value from file -->
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>${properties-maven.plugin.version}</version>
</plugin>
<!-- tycho plugins -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho.plugin.version}</version>
</plugin>
<!-- aspectJ support -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>${aspectj.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- scala compiler -->
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>${scala.plugin.version}</version>
</plugin>
<!-- git hash extractor -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>${buildnumber-maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean.plugin.version}</version>
</plugin>
<!-- Scalastyle -->
<plugin>
<groupId>org.scalastyle</groupId>
<artifactId>scalastyle-maven-plugin</artifactId>
<version>0.3.2</version>
<configuration>
<inputEncoding>UTF-8</inputEncoding>
<verbose>false</verbose>
<failOnViolation>true</failOnViolation>
<includeTestSourceDirectory>false</includeTestSourceDirectory>
<failOnWarning>false</failOnWarning>
<sourceDirectories>
<dir>org.argus-ide.cit.core/src</dir>
</sourceDirectories>
<configLocation>org.argis-ide.cit.core/argus-ide-style-config.xml</configLocation>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>