Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 232 lines (222 sloc) 7.802 kb
bfc88fd Luc Bourlier 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 <parent>
6 <groupId>org.scala-ide</groupId>
7 <artifactId>org.scala-ide.build</artifactId>
c12524e Iulian Dragos Bump version number to 3.0.3.
dragos authored
8 <version>3.0.3-SNAPSHOT</version>
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
9 </parent>
10 <artifactId>org.scala-ide.sdt.build</artifactId>
11 <packaging>pom</packaging>
c12524e Iulian Dragos Bump version number to 3.0.3.
dragos authored
12 <version>3.0.3-SNAPSHOT</version>
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
13
14 <!-- scm configuration is require to extract the github hash-->
15 <scm>
79faf45 Luc Bourlier Clean up and simplification of the poms
skyluc authored
16 <connection>scm:git://github.com/scala-ide/scala-ide.git</connection>
17 <url>https://github.com/scala-ide/scala-ide</url>
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
18 </scm>
19
20 <modules>
21 <module>../org.scala-ide.sdt.aspects</module>
22 <module>../org.scala-ide.sdt.core</module>
23 <module>../org.scala-ide.sdt.core.tests</module>
a9fd272 Iulian Dragos Added Scala Plugin Spy.
dragos authored
24 <module>../org.scala-ide.sdt.spy</module>
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
25 <module>../org.scala-ide.sdt.debug</module>
26 <module>../org.scala-ide.sdt.debug.tests</module>
27 <module>../org.scala-ide.sdt.weaving.feature</module>
28 <module>../org.scala-ide.sdt.feature</module>
29 <module>../org.scala-ide.sdt.dev.feature</module>
30 <module>../org.scala-ide.sdt.source.feature</module>
31 <module>../org.scala-ide.sdt.update-site</module>
32 </modules>
33
34
35 <repositories>
36 <repository>
79faf45 Luc Bourlier Clean up and simplification of the poms
skyluc authored
37 <id>eclipse.${eclipse.codename}</id>
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
38 <name>Eclipse p2 repository</name>
39 <layout>p2</layout>
40 <url>${repo.eclipse}</url>
41 <snapshots>
42 <enabled>false</enabled>
43 </snapshots>
44 </repository>
45 <repository>
79faf45 Luc Bourlier Clean up and simplification of the poms
skyluc authored
46 <id>ajdt.${eclipse.codename}</id>
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
47 <name>AJDT for Eclipse p2 repository</name>
48 <layout>p2</layout>
49 <url>${repo.ajdt}</url>
50 <snapshots>
51 <enabled>false</enabled>
52 </snapshots>
53 </repository>
54 <repository>
55 <id>scala-refactoring</id>
56 <name>Scala Refactoring p2 repository</name>
57 <layout>p2</layout>
58 <url>${repo.scala-refactoring}</url>
59 </repository>
60 <repository>
61 <id>scalariform</id>
62 <name>Scalariform Scala p2 repository</name>
63 <layout>p2</layout>
64 <url>${repo.scalariform}</url>
65 </repository>
fc7e3d8 Luc Bourlier Added alternative launch delegates for Scala Eclipse applications
skyluc authored
66 <repository>
67 <id>equinox.launcher</id>
68 <name>Equinox weaving launcher p2 repository</name>
69 <layout>p2</layout>
70 <url>${repo.equinox.launcher}</url>
71 </repository>
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
72 </repositories>
73
74 <dependencies>
75 <!-- because the Scala plugins were build locally in build-toolchain, and
76 are only available in the local maven repository, we need to reference
79faf45 Luc Bourlier Clean up and simplification of the poms
skyluc authored
77 then as maven dependencies -->
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
78 <dependency>
79 <groupId>org.scala-ide</groupId>
80 <artifactId>org.scala-ide.scala.library</artifactId>
81 <version>${project.version}</version>
82 </dependency>
83 <dependency>
84 <groupId>org.scala-ide</groupId>
85 <artifactId>org.scala-ide.scala.compiler</artifactId>
86 <version>${project.version}</version>
87 </dependency>
88 <dependency>
89 <groupId>org.scala-ide</groupId>
90 <artifactId>org.scala-ide.sbt.full.library</artifactId>
91 <version>${project.version}</version>
92 </dependency>
93 </dependencies>
94
95
96
97 <build>
98 <plugins>
99 <plugin>
100 <!-- enable tycho to support eclipse type artifacts -->
101 <groupId>org.eclipse.tycho</groupId>
102 <artifactId>tycho-maven-plugin</artifactId>
103 <extensions>true</extensions>
104 </plugin>
105 <plugin>
106 <!-- configuration to be able to use maven bundle as osgi bundles -->
107 <groupId>org.eclipse.tycho</groupId>
108 <artifactId>target-platform-configuration</artifactId>
109 <configuration>
110 <resolver>p2</resolver>
111 <pomDependencies>consider</pomDependencies>
112 </configuration>
113 </plugin>
114 <plugin>
115 <!-- tycho shouldn't try to process scala files -->
116 <groupId>org.eclipse.tycho</groupId>
117 <artifactId>tycho-compiler-plugin</artifactId>
118 <configuration>
119 <excludeResources>
120 <excludeResource>**/*.scala</excludeResource>
121 </excludeResources>
122 </configuration>
123 </plugin>
124 <plugin>
125 <!-- configuration of the scala compiler -->
126 <groupId>net.alchim31.maven</groupId>
127 <artifactId>scala-maven-plugin</artifactId>
128 <executions>
129 <execution>
130 <goals>
131 <goal>compile</goal>
132 </goals>
133 </execution>
134 </executions>
135 <configuration>
136 <jvmArgs>
137 <jvmArg>-Xms512m</jvmArg>
138 <jvmArg>-Xmx1024m</jvmArg>
139 </jvmArgs>
140 </configuration>
141 </plugin>
142 <!-- create a package with the sources -->
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-source-plugin</artifactId>
146 <executions>
147 <execution>
148 <id>attach-sources</id>
149 <goals>
150 <goal>jar</goal>
151 </goals>
152 </execution>
153 </executions>
154 </plugin>
155 <!-- create the source plug-in -->
156 <plugin>
157 <groupId>org.eclipse.tycho</groupId>
158 <artifactId>tycho-source-plugin</artifactId>
159 <executions>
160 <execution>
161 <id>attach-source</id>
162 <goals>
163 <goal>plugin-source</goal>
164 </goals>
165 </execution>
166 </executions>
167 </plugin>
168 <plugin>
169 <!-- plugin used to extract the git hash and store it in ${buildNumber} -->
170 <groupId>org.codehaus.mojo</groupId>
171 <artifactId>buildnumber-maven-plugin</artifactId>
172 <executions>
173 <execution>
174 <phase>validate</phase>
175 <goals>
176 <goal>create</goal>
177 </goals>
178 </execution>
179 </executions>
180 <configuration>
181 <doCheck>false</doCheck>
182 <doUpdate>false</doUpdate>
183 <shortRevisionLength>7</shortRevisionLength>
184 </configuration>
185 </plugin>
186 <plugin>
187 <!-- create a better version number -->
188 <groupId>org.eclipse.tycho</groupId>
189 <artifactId>tycho-packaging-plugin</artifactId>
190 <configuration>
191 <format>'${version.tag}-${version.suffix}-'yyyyMMddHHmm'-${buildNumber}'</format>
192 <archiveSite>true</archiveSite>
193 </configuration>
194 </plugin>
195 </plugins>
196 <pluginManagement>
197 <plugins>
198 <plugin>
199 <groupId>org.eclipse.tycho</groupId>
200 <artifactId>tycho-surefire-plugin</artifactId>
201 <configuration>
202 <useUIHarness>false</useUIHarness>
203 <useUIThread>false</useUIThread>
204
205 <!-- Enable JDT weaving -->
206 <systemProperties combine.children="append">
207 <aj.weaving.verbose>true</aj.weaving.verbose>
208 <org.aspectj.weaver.showWeaveInfo>true</org.aspectj.weaver.showWeaveInfo>
209 <org.aspectj.osgi.verbose>true</org.aspectj.osgi.verbose>
210 </systemProperties>
211 <frameworkExtensions>
212 <frameworkExtension>
213 <groupId>p2.osgi.bundle</groupId>
214 <artifactId>org.eclipse.equinox.weaving.hook</artifactId>
0d798d7 Eric Molitor Parameterize weaving hook version
emolitor authored
215 <version>${weaving.hook.plugin.version}</version>
bfc88fd Luc Bourlier Major refactoring of the maven build.
skyluc authored
216 </frameworkExtension>
217 </frameworkExtensions>
218 <bundleStartLevel>
219 <bundle>
220 <id>org.eclipse.equinox.weaving.aspectj</id>
221 <level>2</level>
222 <autoStart>true</autoStart>
223 </bundle>
224 </bundleStartLevel>
225 <argLine>${tycho.test.jvmArgs}</argLine>
226 </configuration>
227 </plugin>
228 </plugins>
229 </pluginManagement>
230 </build>
231 </project>
Something went wrong with that request. Please try again.