forked from scala-ide/scala-ide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
156 lines (150 loc) · 4.72 KB
/
pom.xml
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
<?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>
<parent>
<groupId>org.scala-ide</groupId>
<artifactId>org.scala-ide.build</artifactId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<artifactId>org.scala-ide.product</artifactId>
<packaging>eclipse-repository</packaging>
<properties>
<!-- some default values, can be overwritten by profiles -->
<repo.scala-ide.ecosystem>${repo.scala-ide.root}/ecosystem/dev-milestone-2.9/site/</repo.scala-ide.ecosystem>
</properties>
<profiles>
<profile>
<!--- the profile using the default values. Scala 2.9.x -->
<id>scala-2.9.x</id>
</profile>
<profile>
<!-- Scala 2.10.x -->
<id>scala-2.10.x</id>
<properties>
<repo.scala-ide.ecosystem>${repo.scala-ide.root}/ecosystem/dev-milestone-milestone/site/</repo.scala-ide.ecosystem>
<scala.major.minor.version>2.10.0-M7</scala.major.minor.version>
</properties>
</profile>
</profiles>
<repositories>
<repository>
<id>scala-ide ecosystem</id>
<url>${repo.scala-ide.ecosystem}</url>
<layout>p2</layout>
</repository>
<repository>
<id>eclipse.${eclipse.codename}</id>
<name>Eclipse p2 repository</name>
<layout>p2</layout>
<url>${repo.eclipse}</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>ajdt.${eclipse.codename}</id>
<name>AJDT for Eclipse p2 repository</name>
<layout>p2</layout>
<url>${repo.ajdt}</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<!-- enable tycho to support eclipse type artifacts -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.plugin.version}</version>
<configuration>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>macosx</os>
<ws>carbon</ws>
<arch>x86</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.plugin.version}</version>
<configuration>
<includeAllDependencies>true</includeAllDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.plugin.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
<configuration>
<formats>
<linux>tar.gz</linux>
</formats>
<products>
<product>
<id>scalaide.product.id</id>
<rootFolder>eclipse</rootFolder>
<archiveFileName>scala-SDK-2.1-M2-${scala.major.minor.version}</archiveFileName>
</product>
</products>
<installFeatures>true</installFeatures>
<profile>SDKProfile</profile>
</configuration>
</plugin>
</plugins>
</build>
</project>