Skip to content
Newer
Older
100644 401 lines (380 sloc) 15.2 KB
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
1 <?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">
4 <modelVersion>4.0.0</modelVersion>
5 <prerequisites>
6 <maven>3.0</maven>
7 </prerequisites>
8 <groupId>org.scala-ide</groupId>
9 <artifactId>org.scala-ide.build</artifactId>
10 <version>2.1.0-SNAPSHOT</version>
11 <description>Default config holder (value, profiles, versions, ...) for the build of Scala IDE for Eclipse</description>
12 <packaging>pom</packaging>
13
14 <properties>
15 <encoding>UTF-8</encoding>
16 <!-- p2 repositories location -->
17 <repo.eclipse.indigo>http://download.eclipse.org/releases/indigo/</repo.eclipse.indigo>
dcc504f @emolitor Create Eclipse maven profile for Juno
emolitor authored
18 <repo.eclipse.juno>http://download.eclipse.org/releases/juno</repo.eclipse.juno>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
19 <repo.ajdt.indigo>http://download.eclipse.org/tools/ajdt/37/dev/update</repo.ajdt.indigo>
dcc504f @emolitor Create Eclipse maven profile for Juno
emolitor authored
20 <repo.ajdt.juno>http://download.eclipse.org/tools/ajdt/42/dev/update</repo.ajdt.juno>
fc7e3d8 @skyluc Added alternative launch delegates for Scala Eclipse applications
skyluc authored
21 <repo.equinox.launcher>http://www.chuusai.com/eclipse/equinox-weaving-launcher/</repo.equinox.launcher>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
22 <repo.scala-ide.root>http://download.scala-ide.org</repo.scala-ide.root>
23
24 <!-- fixed versions -->
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
25 <sbt.version>0.13.0-SNAPSHOT</sbt.version>
3b13b0d @skyluc Updated sbinary version
skyluc authored
26 <sbinary.version>0.4.1-SNAPSHOT</sbinary.version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
27 <jline.version>0.9.94</jline.version>
28 <ivy.version>2.2.0</ivy.version>
29 <miglayout.version>3.7.4</miglayout.version>
30 <log4j.version>1.2.16</log4j.version>
31 <junit.version>4.10</junit.version>
32 <mockito.version>1.9.0</mockito.version>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
33
34 <!-- plugin versions -->
35 <tycho.plugin.version>0.15.0</tycho.plugin.version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
36 <scala.plugin.version>3.0.2</scala.plugin.version>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
37 <aspectj.plugin.version>1.4</aspectj.plugin.version>
38 <maven-bunble.plugin.version>2.3.7</maven-bunble.plugin.version>
39 <properties-maven.plugin.version>1.1.10</properties-maven.plugin.version>
40 <buildnumber-maven.plugin.version>1.1</buildnumber-maven.plugin.version>
41 <maven-source.plugin.version>2.1.2</maven-source.plugin.version>
42 <maven-clean.plugin.version>2.5</maven-clean.plugin.version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
43
dcc504f @emolitor Create Eclipse maven profile for Juno
emolitor authored
44 <!-- Weaving plugin version, default for Indigo -->
45 <weaving.hook.plugin.version>1.0.200.I20120427-0800</weaving.hook.plugin.version>
46
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
47 <!-- tycho test related -->
48 <tycho.test.OSspecific></tycho.test.OSspecific>
49 <!-- Partial workaround against JDT Weaving deadlocks. See #1000317 and the original ticket on https://issuetracker.springsource.com/browse/STS-1445 -->
50 <tycho.test.weaving>-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dosgi.classloader.lock=classname</tycho.test.weaving>
51 <tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m -Dsdtcore.headless ${tycho.test.weaving} ${tycho.test.OSspecific}</tycho.test.jvmArgs>
52
dcc504f @emolitor Create Eclipse maven profile for Juno
emolitor authored
53 <!-- dependencies repos, can be overwritten by profiles -->
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
54 <eclipse.codename>indigo</eclipse.codename>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
55 <repo.eclipse>${repo.eclipse.indigo}</repo.eclipse>
56 <repo.ajdt>${repo.ajdt.indigo}</repo.ajdt>
57
58 <!-- default values, can be overwritten by profiles -->
59 <scala.version>2.9.3-SNAPSHOT</scala.version>
60 <scala.major.minor.version>2.9</scala.major.minor.version>
61 <scala.library.version>${scala.version}</scala.library.version>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
62 <sbt.compiled.version>2.9.2</sbt.compiled.version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
63 <version.suffix>2_09</version.suffix>
64 <version.tag>local</version.tag>
65
66 <!-- the repos containing the Scala dependencies -->
67 <repo.scala-refactoring>${repo.scala-ide.root}/scala-refactoring-29x</repo.scala-refactoring>
68 <repo.scalariform>${repo.scala-ide.root}/scalariform-29x</repo.scalariform>
69 <repo.typesafe>http://repo.typesafe.com/typesafe/ide-2.9</repo.typesafe>
70 </properties>
71
72 <profiles>
73 <profile>
74 <!--- the profile using the default values. Scala 2.9.x -->
75 <id>scala-2.9.x</id>
76 </profile>
77
78 <profile>
79 <id>scala-2.10.x</id>
80 <properties>
81 <scala.version>2.10.0-SNAPSHOT</scala.version>
82 <scala.major.minor.version>2.10</scala.major.minor.version>
83 <scala.library.version>${scala.version}</scala.library.version>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
84 <sbt.compiled.version>2.10</sbt.compiled.version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
85 <version.suffix>2_10</version.suffix>
86
a88a43a @dotta Added new build profile for Scala 2.11
dotta authored
87 <repo.scala-refactoring>${repo.scala-ide.root}/scala-refactoring-210x</repo.scala-refactoring>
88 <repo.scalariform>${repo.scala-ide.root}/scalariform-210x</repo.scalariform>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
89 <repo.typesafe>http://repo.typesafe.com/typesafe/ide-2.10</repo.typesafe>
90 </properties>
91 </profile>
92
93 <profile>
a88a43a @dotta Added new build profile for Scala 2.11
dotta authored
94 <id>scala-2.11.x</id>
95 <properties>
96 <scala.version>2.11.0-SNAPSHOT</scala.version>
97 <scala.major.minor.version>2.11</scala.major.minor.version>
98 <scala.library.version>${scala.version}</scala.library.version>
99 <sbt.compiled.version>2.11</sbt.compiled.version>
100 <version.suffix>2_11</version.suffix>
101
102 <repo.scala-refactoring>${repo.scala-ide.root}/scala-refactoring-211x</repo.scala-refactoring>
103 <repo.scalariform>${repo.scala-ide.root}/scalariform-211x</repo.scalariform>
104 <repo.typesafe>http://repo.typesafe.com/typesafe/ide-2.11</repo.typesafe>
105 </properties>
106 </profile>
107
108 <profile>
dcc504f @emolitor Create Eclipse maven profile for Juno
emolitor authored
109 <!-- Eclipse Juno -->
110 <id>eclipse-juno</id>
111 <properties>
112 <eclipse.codename>juno</eclipse.codename>
113 <repo.eclipse>${repo.eclipse.juno}</repo.eclipse>
114 <repo.ajdt>${repo.ajdt.juno}</repo.ajdt>
115 <weaving.hook.plugin.version>1.0.200.v20120524-1707</weaving.hook.plugin.version>
116 </properties>
117 </profile>
118
119 <profile>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
120 <!-- some extra configuration for running tests with tycho on Mac OS -->
121 <id>macOs</id>
122 <activation>
123 <os>
124 <family>mac</family>
125 </os>
126 </activation>
127 <properties>
128 <tycho.test.OSspecific>-Dosgi.ws=cocoa -XstartOnFirstThread</tycho.test.OSspecific>
129 </properties>
130 <build>
131 <pluginManagement>
132 <plugins>
133 <plugin>
134 <groupId>org.eclipse.tycho</groupId>
135 <artifactId>tycho-surefire-plugin</artifactId>
136 <configuration>
137 <dependencies>
138 <dependency>
139 <artifactId>org.eclipse.jdt.launching.macosx</artifactId>
140 <type>eclipse-plugin</type>
141 </dependency>
142 </dependencies>
143 </configuration>
144 </plugin>
145 </plugins>
146 </pluginManagement>
147 </build>
148 </profile>
149 </profiles>
150
151 <repositories>
152 <!-- the sonatype repos -->
153 <repository>
154 <id>sonatype.release</id>
155 <name>Sonatype maven release repository</name>
156 <url>https://oss.sonatype.org/content/repositories/releases/</url>
157 <snapshots><enabled>false</enabled></snapshots>
158 </repository>
159 <repository>
160 <id>sonatype.snapshot</id>
161 <name>Sonatype maven snapshot repository</name>
162 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
163 <snapshots>
164 <updatePolicy>daily</updatePolicy>
165 </snapshots>
166 </repository>
167 </repositories>
168
169 <dependencyManagement>
170 <dependencies>
171 <!-- toolchain, Scala library -->
172 <dependency>
173 <groupId>org.scala-lang</groupId>
174 <artifactId>scala-library</artifactId>
175 <version>${scala.library.version}</version>
176 </dependency>
177 <dependency>
178 <groupId>org.scala-lang</groupId>
179 <artifactId>scala-swing</artifactId>
180 <version>${scala.library.version}</version>
181 </dependency>
182 <dependency>
183 <groupId>org.scala-lang</groupId>
184 <artifactId>scala-dbc</artifactId>
185 <version>${scala.library.version}</version>
186 </dependency>
187 <dependency>
188 <groupId>org.scala-lang</groupId>
189 <artifactId>scala-actors</artifactId>
190 <version>${scala.library.version}</version>
191 </dependency>
192 <!-- toolchain, Scala compiler -->
193 <dependency>
194 <groupId>org.scala-lang</groupId>
195 <artifactId>scala-compiler</artifactId>
196 <version>${scala.version}</version>
197 </dependency>
198 <dependency>
d2eab2f @skyluc Added extra compiler jar
skyluc authored
199 <groupId>org.scala-lang</groupId>
200 <artifactId>scala-reflect</artifactId>
201 <version>${scala.version}</version>
202 </dependency>
203 <dependency>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
204 <groupId>org.scala-lang.plugins</groupId>
205 <artifactId>continuations</artifactId>
206 <version>${scala.version}</version>
207 </dependency>
208 <!-- toolchain, sbt -->
209 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
210 <groupId>org.scala-sbt</groupId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
211 <artifactId>classpath_${sbt.compiled.version}</artifactId>
212 <version>${sbt.version}</version>
213 </dependency>
214 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
215 <groupId>org.scala-sbt</groupId>
216 <artifactId>logging_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
217 <version>${sbt.version}</version>
218 </dependency>
219 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
220 <groupId>org.scala-sbt</groupId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
221 <artifactId>io_${sbt.compiled.version}</artifactId>
222 <version>${sbt.version}</version>
223 </dependency>
224 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
225 <groupId>org.scala-sbt</groupId>
226 <artifactId>control_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
227 <version>${sbt.version}</version>
228 </dependency>
229 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
230 <groupId>org.scala-sbt</groupId>
231 <artifactId>classfile_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
232 <version>${sbt.version}</version>
233 </dependency>
234 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
235 <groupId>org.scala-sbt</groupId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
236 <artifactId>process_${sbt.compiled.version}</artifactId>
237 <version>${sbt.version}</version>
238 </dependency>
239 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
240 <groupId>org.scala-sbt</groupId>
241 <artifactId>relation_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
242 <version>${sbt.version}</version>
243 </dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
244 <dependency>
245 <groupId>org.scala-sbt</groupId>
246 <artifactId>interface_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
247 <version>${sbt.version}</version>
248 </dependency>
249 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
250 <groupId>org.scala-sbt</groupId>
251 <artifactId>persist_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
252 <version>${sbt.version}</version>
253 </dependency>
254 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
255 <groupId>org.scala-sbt</groupId>
256 <artifactId>api_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
257 <version>${sbt.version}</version>
258 </dependency>
259 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
260 <groupId>org.scala-sbt</groupId>
261 <artifactId>compiler-integration_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
262 <version>${sbt.version}</version>
263 </dependency>
264 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
265 <groupId>org.scala-sbt</groupId>
266 <artifactId>incremental-compiler_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
267 <version>${sbt.version}</version>
268 </dependency>
269 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
270 <groupId>org.scala-sbt</groupId>
271 <artifactId>compile_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
272 <version>${sbt.version}</version>
273 </dependency>
274 <dependency>
2c9c6f7 @vigdorchik Use stock sbt 0.13 from eclipse
vigdorchik authored
275 <groupId>org.scala-sbt</groupId>
276 <artifactId>compiler-interface_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
277 <version>${sbt.version}</version>
278 </dependency>
279 <dependency>
280 <groupId>jline</groupId>
281 <artifactId>jline</artifactId>
282 <version>${jline.version}</version>
283 </dependency>
284 <dependency>
285 <groupId>org.scala-tools.sbinary</groupId>
9a43077 @vigdorchik Sbinary version removed.
vigdorchik authored
286 <artifactId>sbinary_${sbt.compiled.version}</artifactId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
287 <version>${sbinary.version}</version>
288 </dependency>
289 <!-- sdt.core dependencies -->
290 <dependency>
291 <groupId>com.miglayout</groupId>
292 <artifactId>miglayout</artifactId>
293 <version>${miglayout.version}</version>
294 </dependency>
295 <dependency>
296 <groupId>log4j</groupId>
297 <artifactId>log4j</artifactId>
298 <version>${log4j.version}</version>
299 </dependency>
300 <!-- test support -->
301 <dependency>
302 <groupId>junit</groupId>
303 <artifactId>junit</artifactId>
304 <version>${junit.version}</version>
305 </dependency>
306 <dependency>
307 <groupId>org.mockito</groupId>
308 <artifactId>mockito-all</artifactId>
309 <version>${mockito.version}</version>
310 <scope>compile</scope>
311 </dependency>
312 </dependencies>
313 </dependencyManagement>
314
315 <build>
316 <pluginManagement>
317 <!-- define the version of all used plugins, and some default configuration -->
318 <plugins>
319 <!-- osgi bundle builder -->
320 <plugin>
321 <groupId>org.apache.felix</groupId>
322 <artifactId>maven-bundle-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
323 <version>${maven-bunble.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
324 <extensions>true</extensions>
325 <configuration>
326 <unpackBundle>true</unpackBundle>
327 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
328 </configuration>
329 </plugin>
330 <!-- set property value from file -->
331 <plugin>
332 <groupId>org.kuali.maven.plugins</groupId>
333 <artifactId>properties-maven-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
334 <version>${properties-maven.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
335 </plugin>
336 <!-- tycho plugins -->
337 <plugin>
338 <groupId>org.eclipse.tycho</groupId>
339 <artifactId>tycho-maven-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
340 <version>${tycho.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
341 </plugin>
342 <plugin>
343 <groupId>org.eclipse.tycho</groupId>
344 <artifactId>tycho-compiler-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
345 <version>${tycho.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
346 </plugin>
347 <plugin>
348 <groupId>org.eclipse.tycho</groupId>
349 <artifactId>target-platform-configuration</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
350 <version>${tycho.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
351 </plugin>
352 <plugin>
353 <groupId>org.eclipse.tycho</groupId>
354 <artifactId>tycho-packaging-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
355 <version>${tycho.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
356 </plugin>
357 <plugin>
358 <groupId>org.eclipse.tycho</groupId>
359 <artifactId>tycho-surefire-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
360 <version>${tycho.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
361 </plugin>
362 <plugin>
363 <groupId>org.eclipse.tycho</groupId>
364 <artifactId>tycho-source-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
365 <version>${tycho.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
366 </plugin>
367 <!-- aspectJ support -->
368 <plugin>
369 <groupId>org.codehaus.mojo</groupId>
370 <artifactId>aspectj-maven-plugin</artifactId>
371 <version>${aspectj.plugin.version}</version>
372 </plugin>
373 <!-- scala compiler -->
374 <plugin>
375 <groupId>net.alchim31.maven</groupId>
376 <artifactId>scala-maven-plugin</artifactId>
377 <version>${scala.plugin.version}</version>
378 </plugin>
379 <!-- git hash extractor -->
380 <plugin>
381 <groupId>org.codehaus.mojo</groupId>
382 <artifactId>buildnumber-maven-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
383 <version>${buildnumber-maven.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
384 </plugin>
385 <!-- creating maven source artefact -->
386 <plugin>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-source-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
389 <version>${maven-source.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
390 </plugin>
391 <plugin>
392 <artifactId>maven-clean-plugin</artifactId>
79faf45 @skyluc Clean up and simplification of the poms
skyluc authored
393 <version>${maven-clean.plugin.version}</version>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
394 </plugin>
6fbef8c @skyluc Adds generation of the toolchain update site
skyluc authored
395 </plugins>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
396 </pluginManagement>
397 </build>
398
399
400 </project>
Something went wrong with that request. Please try again.