Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 210 lines (204 sloc) 7.982 kB
d81b059 @milessabin Initial commit for Tycho build.
milessabin 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"
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.scala-ide</groupId>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
7 <artifactId>org.scala-ide.build-toolchain</artifactId>
8 <version>2.1.0-SNAPSHOT</version>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
9 <relativePath>../org.scala-ide.build-toolchain/pom.xml</relativePath>
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
10 </parent>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
11 <artifactId>org.scala-ide.scala.compiler</artifactId>
12 <packaging>bundle</packaging>
29b35f4 @dragos Added a test for memory leaks, using the scalac sources.
dragos authored
13
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
14 <dependencies>
15 <dependency>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
16 <groupId>org.scala-lang</groupId>
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
17 <artifactId>scala-compiler</artifactId>
d2eab2f @skyluc Added extra compiler jar
skyluc authored
18 <optional>true</optional>
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
19 </dependency>
20 </dependencies>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
21
d2eab2f @skyluc Added extra compiler jar
skyluc authored
22 <profiles>
23 <profile>
24 <!--- the profile using the default values. Scala 2.9.x -->
25 <id>scala-2.9.x</id>
26 </profile>
27
28 <profile>
29 <!-- Scala 2.10.x -->
30 <!-- Scala reflect was extracted in a different jar in 2.10 -->
31 <id>scala-2.10.x</id>
32 <dependencies>
33 <dependency>
34 <groupId>org.scala-lang</groupId>
35 <artifactId>scala-reflect</artifactId>
36 </dependency>
37 </dependencies>
38 <build>
39 <plugins>
40 <plugin>
a88a43a @dotta Added new build profile for Scala 2.11
dotta authored
41 <groupId>org.apache.maven.plugins</groupId>
42 <artifactId>maven-dependency-plugin</artifactId>
43 <executions>
44 <execution>
45 <!-- add the source jar, to be able to attach the source to the Scala container. And the continuation plug-in -->
46 <id>copy.reflect</id>
47 <phase>compile</phase>
48 <goals>
49 <goal>copy</goal>
50 </goals>
51 <configuration>
52 <artifactItems>
53 <artifactItem>
54 <groupId>org.scala-lang</groupId>
55 <artifactId>scala-reflect</artifactId>
56 <classifier>sources</classifier>
57 <type>jar</type>
58 <destFileName>scala-reflect-src.jar</destFileName>
59 </artifactItem>
60 </artifactItems>
61 <stripVersion>true</stripVersion>
62 <outputDirectory>${project.build.directory}/lib</outputDirectory>
63 </configuration>
64 </execution>
65 </executions>
66 </plugin>
67 </plugins>
68 </build>
69 </profile>
70
71 <profile>
72 <!-- Scala 2.11.x -->
73 <!-- Scala reflect was extracted in a different jar in 2.11 -->
74 <id>scala-2.11.x</id>
75 <dependencies>
76 <dependency>
77 <groupId>org.scala-lang</groupId>
78 <artifactId>scala-reflect</artifactId>
79 </dependency>
80 </dependencies>
81 <build>
82 <plugins>
83 <plugin>
d2eab2f @skyluc Added extra compiler jar
skyluc authored
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-dependency-plugin</artifactId>
86 <executions>
87 <execution>
88 <!-- add the source jar, to be able to attach the source to the Scala container. And the continuation plug-in -->
6c42a64 @dragos Correctly copy the scala-reflect.jar for 2.10, in addition to the usu…
dragos authored
89 <id>copy.reflect</id>
d2eab2f @skyluc Added extra compiler jar
skyluc authored
90 <phase>compile</phase>
91 <goals>
92 <goal>copy</goal>
93 </goals>
94 <configuration>
95 <artifactItems>
96 <artifactItem>
97 <groupId>org.scala-lang</groupId>
98 <artifactId>scala-reflect</artifactId>
99 <classifier>sources</classifier>
100 <type>jar</type>
101 <destFileName>scala-reflect-src.jar</destFileName>
102 </artifactItem>
103 </artifactItems>
104 <stripVersion>true</stripVersion>
105 <outputDirectory>${project.build.directory}/lib</outputDirectory>
106 </configuration>
107 </execution>
108 </executions>
109 </plugin>
110 </plugins>
111 </build>
112 </profile>
113 </profiles>
114
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
115 <build>
116 <plugins>
7abab8e @milessabin * Added a .project file to org.scala-ide.build-toolchain
milessabin authored
117 <plugin>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-dependency-plugin</artifactId>
120 <executions>
1c95a65 @skyluc Removes the tycho test workaround
skyluc authored
121 <!-- extract the compiler.properties file, to get the osgi.version.number value -->
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
122 <execution>
123 <id>unpack</id>
124 <phase>initialize</phase>
125 <goals>
126 <goal>unpack</goal>
127 </goals>
128 <configuration>
129 <artifactItems>
130 <artifactItem>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
131 <groupId>org.scala-lang</groupId>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
132 <artifactId>scala-compiler</artifactId>
1c95a65 @skyluc Removes the tycho test workaround
skyluc authored
133 <outputDirectory>${project.build.directory}</outputDirectory>
134 <includes>compiler.properties</includes>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
135 </artifactItem>
136 </artifactItems>
137 </configuration>
138 </execution>
7abab8e @milessabin * Added a .project file to org.scala-ide.build-toolchain
milessabin authored
139 <execution>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
140 <!-- add the source jar, to be able to attach the source to the Scala container. And the continuation plug-in -->
7abab8e @milessabin * Added a .project file to org.scala-ide.build-toolchain
milessabin authored
141 <id>copy</id>
142 <phase>compile</phase>
143 <goals>
144 <goal>copy</goal>
145 </goals>
146 <configuration>
147 <artifactItems>
148 <artifactItem>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
149 <groupId>org.scala-lang</groupId>
7abab8e @milessabin * Added a .project file to org.scala-ide.build-toolchain
milessabin authored
150 <artifactId>scala-compiler</artifactId>
151 <classifier>sources</classifier>
152 <type>jar</type>
153 <destFileName>scala-compiler-src.jar</destFileName>
154 </artifactItem>
155 <artifactItem>
156 <groupId>org.scala-lang.plugins</groupId>
157 <artifactId>continuations</artifactId>
158 <type>jar</type>
159 </artifactItem>
160 </artifactItems>
161 <stripVersion>true</stripVersion>
162 <outputDirectory>${project.build.directory}/lib</outputDirectory>
163 </configuration>
164 </execution>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
165 </executions>
166 </plugin>
167 <plugin>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
168 <!-- extract the osgi.version.number value from compiler.properties -->
169 <groupId>org.kuali.maven.plugins</groupId>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
170 <artifactId>properties-maven-plugin</artifactId>
171 <executions>
172 <execution>
173 <phase>initialize</phase>
174 <goals>
175 <goal>read-project-properties</goal>
176 </goals>
177 <configuration>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
178 <locations>
1c95a65 @skyluc Removes the tycho test workaround
skyluc authored
179 <location>${project.build.directory}/compiler.properties</location>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
180 </locations>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
181 </configuration>
182 </execution>
183 </executions>
184 </plugin>
185 <plugin>
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
186 <!-- generate the bundle -->
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
187 <groupId>org.apache.felix</groupId>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
188 <artifactId>maven-bundle-plugin</artifactId>
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
189 <configuration>
190 <instructions>
191 <Bundle-SymbolicName>org.scala-ide.scala.compiler</Bundle-SymbolicName>
192 <Bundle-Name>Scala Compiler for Eclipse</Bundle-Name>
01bb406 @dotta Heavy cleanup of pom files and scripts.
dotta authored
193 <Bundle-Version>${osgi.version.number}</Bundle-Version>
34d44d4 @lindydonna Merge branding additions from "master" (more or less cherry-picking f…
lindydonna authored
194 <Bundle-Vendor>scala-ide.org</Bundle-Vendor>
7abab8e @milessabin * Added a .project file to org.scala-ide.build-toolchain
milessabin authored
195 <Embed-Dependency>*;scope=compile|runtime;inline=false</Embed-Dependency>
01bb406 @dotta Heavy cleanup of pom files and scripts.
dotta authored
196 <_exportcontents>scala.reflect.internal.*;version=${osgi.version.number},
a81e759 @dragos Export all `scala.reflect` packages from the compiler bundle.
dragos authored
197 scala.reflect.*;version=${osgi.version.number},
01bb406 @dotta Heavy cleanup of pom files and scripts.
dotta authored
198 scala.tools.*;version=${osgi.version.number},
199 ch.epfl.lamp.*;version=${osgi.version.number}</_exportcontents>
7abab8e @milessabin * Added a .project file to org.scala-ide.build-toolchain
milessabin authored
200 <Embed-Directory>lib</Embed-Directory>
201 <Embed-StripVersion>true</Embed-StripVersion>
202 <Include-Resource>lib=${project.build.directory}/lib</Include-Resource>
831b7c9 @dragos Getting a bit closer to having the trunk build running. Still fails b…
dragos authored
203 <Import-Package>!jline.*,!scala.tools.jline.*,!sun.misc,scala.reflect,*</Import-Package>
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
204 </instructions>
205 </configuration>
63cc8a7 @milessabin Added support for builds relative to both Scala 2.8.0.final and Scala…
milessabin authored
206 </plugin>
d81b059 @milessabin Initial commit for Tycho build.
milessabin authored
207 </plugins>
208 </build>
209 </project>
Something went wrong with that request. Please try again.