Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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