Added
Link Here
|
0 |
- |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
|
2 |
<!-- |
3 |
Copyright (c) 2012, 2013 Eclipse Foundation and others. |
4 |
All rights reserved. This program and the accompanying materials |
5 |
are made available under the terms of the Eclipse Distribution License v1.0 |
6 |
which accompanies this distribution, and is available at |
7 |
http://www.eclipse.org/org/documents/edl-v10.php |
8 |
|
9 |
Contributors: |
10 |
Thanh Ha (Eclipse Foundation) - initial implementation |
11 |
--> |
12 |
|
13 |
<project |
14 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
15 |
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
16 |
<modelVersion>4.0.0</modelVersion> |
17 |
|
18 |
<groupId>org.eclipse</groupId> |
19 |
<artifactId>wtp-parent</artifactId> |
20 |
<version>3.5.0-SNAPSHOT</version> |
21 |
<packaging>pom</packaging> |
22 |
|
23 |
<properties> |
24 |
<tycho.version>0.19.0-SNAPSHOT</tycho.version> |
25 |
<tycho-extras.version>0.19.0-SNAPSHOT</tycho-extras.version> |
26 |
<tycho-repo.url>https://oss.sonatype.org/content/groups/public/</tycho-repo.url> |
27 |
|
28 |
<platform-repo.url>http://download.eclipse.org/eclipse/updates/4.3</platform-repo.url> |
29 |
<emf-repo.url>http://download.eclipse.org/modeling/emf/emf/updates/2.9/</emf-repo.url> |
30 |
<emf-transaction-repo.url>http://download.eclipse.org/modeling/emf/transaction/updates/releases/</emf-transaction-repo.url> |
31 |
<emf-validation-repo.url>http://download.eclipse.org/modeling/emf/validation/updates/releases/</emf-validation-repo.url> |
32 |
<emf-repo.url>http://download.eclipse.org/modeling/emf/emf/updates/2.9/</emf-repo.url> |
33 |
<gef-repo.url>http://download.eclipse.org/tools/gef/updates/milestones/</gef-repo.url> |
34 |
<dtp-repo.url>http://download.eclipse.org/datatools/updates</dtp-repo.url> |
35 |
<graphiti-repo.url>http://download.eclipse.org/graphiti/updates/milestones</graphiti-repo.url> |
36 |
<orbit-repo.url>http://download.eclipse.org/tools/orbit/downloads/drops/R20130517111416/repository/</orbit-repo.url> |
37 |
<eclipselink-repo.url>http://download.eclipse.org/rt/eclipselink/updates/</eclipselink-repo.url> |
38 |
<jetty-repo.url>http://www.eclipse.org/external/jetty/updates/jetty-bundles-8.x/8.1.3.v20120522/</jetty-repo.url> |
39 |
</properties> |
40 |
|
41 |
<repositories> |
42 |
<repository> |
43 |
<id>platform</id> |
44 |
<url>${platform-repo.url}</url> |
45 |
<layout>p2</layout> |
46 |
</repository> |
47 |
<repository> |
48 |
<id>emf</id> |
49 |
<url>${emf-repo.url}</url> |
50 |
<layout>p2</layout> |
51 |
</repository> |
52 |
<repository> |
53 |
<id>emf-transaction</id> |
54 |
<url>${emf-transaction-repo.url}</url> |
55 |
<layout>p2</layout> |
56 |
</repository> |
57 |
<repository> |
58 |
<id>emf-validation</id> |
59 |
<url>${emf-validation-repo.url}</url> |
60 |
<layout>p2</layout> |
61 |
</repository> |
62 |
<repository> |
63 |
<id>gef</id> |
64 |
<url>${gef-repo.url}</url> |
65 |
<layout>p2</layout> |
66 |
</repository> |
67 |
<repository> |
68 |
<id>dtp</id> |
69 |
<url>${dtp-repo.url}</url> |
70 |
<layout>p2</layout> |
71 |
</repository> |
72 |
<repository> |
73 |
<id>graphiti</id> |
74 |
<url>${graphiti-repo.url}</url> |
75 |
<layout>p2</layout> |
76 |
</repository> |
77 |
<repository> |
78 |
<id>orbit</id> |
79 |
<url>${orbit-repo.url}</url> |
80 |
<layout>p2</layout> |
81 |
</repository> |
82 |
<repository> |
83 |
<id>eclipselink</id> |
84 |
<url>${eclipselink-repo.url}</url> |
85 |
<layout>p2</layout> |
86 |
</repository> |
87 |
<repository> |
88 |
<id>jetty</id> |
89 |
<url>${jetty-repo.url}</url> |
90 |
<layout>p2</layout> |
91 |
</repository> |
92 |
</repositories> |
93 |
|
94 |
<pluginRepositories> |
95 |
<pluginRepository> |
96 |
<id>tycho</id> |
97 |
<url>${tycho-repo.url}</url> |
98 |
<releases> |
99 |
<enabled>false</enabled> |
100 |
</releases> |
101 |
<snapshots> |
102 |
<enabled>true</enabled> |
103 |
</snapshots> |
104 |
</pluginRepository> |
105 |
</pluginRepositories> |
106 |
|
107 |
<build> |
108 |
<plugins> |
109 |
<plugin> |
110 |
<groupId>org.eclipse.tycho</groupId> |
111 |
<artifactId>tycho-maven-plugin</artifactId> |
112 |
<version>${tycho.version}</version> |
113 |
<extensions>true</extensions> |
114 |
</plugin> |
115 |
|
116 |
<plugin> |
117 |
<groupId>org.eclipse.tycho</groupId> |
118 |
<artifactId>target-platform-configuration</artifactId> |
119 |
<configuration> |
120 |
<environments> |
121 |
<environment> |
122 |
<os>linux</os> |
123 |
<ws>gtk</ws> |
124 |
<arch>x86</arch> |
125 |
</environment> |
126 |
<environment> |
127 |
<os>linux</os> |
128 |
<ws>gtk</ws> |
129 |
<arch>x86_64</arch> |
130 |
</environment> |
131 |
<environment> |
132 |
<os>win32</os> |
133 |
<ws>win32</ws> |
134 |
<arch>x86</arch> |
135 |
</environment> |
136 |
<environment> |
137 |
<os>win32</os> |
138 |
<ws>win32</ws> |
139 |
<arch>x86_64</arch> |
140 |
</environment> |
141 |
<environment> |
142 |
<os>macosx</os> |
143 |
<ws>cocoa</ws> |
144 |
<arch>x86_64</arch> |
145 |
</environment> |
146 |
</environments> |
147 |
</configuration> |
148 |
</plugin> |
149 |
|
150 |
<plugin> |
151 |
<groupId>org.eclipse.tycho</groupId> |
152 |
<artifactId>tycho-source-plugin</artifactId> |
153 |
<executions> |
154 |
<execution> |
155 |
<id>plugin-source</id> |
156 |
<goals> |
157 |
<goal>plugin-source</goal> |
158 |
</goals> |
159 |
</execution> |
160 |
</executions> |
161 |
</plugin> |
162 |
</plugins> |
163 |
|
164 |
<pluginManagement> |
165 |
<plugins> |
166 |
<plugin> |
167 |
<groupId>org.eclipse.tycho</groupId> |
168 |
<artifactId>target-platform-configuration</artifactId> |
169 |
<version>${tycho.version}</version> |
170 |
</plugin> |
171 |
<plugin> |
172 |
<groupId>org.eclipse.tycho</groupId> |
173 |
<artifactId>tycho-compiler-plugin</artifactId> |
174 |
<version>${tycho.version}</version> |
175 |
<configuration> |
176 |
<compilerArgument>-warn:+discouraged,forbidden</compilerArgument> |
177 |
</configuration> |
178 |
</plugin> |
179 |
<plugin> |
180 |
<groupId>org.eclipse.tycho</groupId> |
181 |
<artifactId>tycho-packaging-plugin</artifactId> |
182 |
<version>${tycho.version}</version> |
183 |
<configuration> |
184 |
<strictBinIncludes>false</strictBinIncludes> |
185 |
</configuration> |
186 |
</plugin> |
187 |
<plugin> |
188 |
<groupId>org.eclipse.tycho</groupId> |
189 |
<artifactId>tycho-surefire-plugin</artifactId> |
190 |
<version>${tycho.version}</version> |
191 |
</plugin> |
192 |
<plugin> |
193 |
<groupId>org.eclipse.tycho</groupId> |
194 |
<artifactId>tycho-source-plugin</artifactId> |
195 |
<version>${tycho.version}</version> |
196 |
<configuration> |
197 |
<strictSrcIncludes>false</strictSrcIncludes> |
198 |
</configuration> |
199 |
</plugin> |
200 |
<plugin> |
201 |
<groupId>org.eclipse.tycho</groupId> |
202 |
<artifactId>tycho-p2-director-plugin</artifactId> |
203 |
<version>${tycho.version}</version> |
204 |
</plugin> |
205 |
<plugin> |
206 |
<groupId>org.eclipse.tycho</groupId> |
207 |
<artifactId>tycho-p2-repository-plugin</artifactId> |
208 |
<version>${tycho.version}</version> |
209 |
</plugin> |
210 |
<plugin> |
211 |
<groupId>org.eclipse.tycho.extras</groupId> |
212 |
<artifactId>tycho-source-feature-plugin</artifactId> |
213 |
<version>${tycho-extras.version}</version> |
214 |
</plugin> |
215 |
<plugin> |
216 |
<groupId>org.eclipse.tycho.extras</groupId> |
217 |
<artifactId>tycho-custom-bundle-plugin</artifactId> |
218 |
<version>${tycho-extras.version}</version> |
219 |
</plugin> |
220 |
</plugins> |
221 |
</pluginManagement> |
222 |
</build> |
223 |
|
224 |
<profiles> |
225 |
<profile> |
226 |
<id>bree-libs</id> |
227 |
<build> |
228 |
<pluginManagement> |
229 |
<plugins> |
230 |
<plugin> |
231 |
<groupId>org.eclipse.tycho</groupId> |
232 |
<artifactId>tycho-compiler-plugin</artifactId> |
233 |
<version>${tycho.version}</version> |
234 |
<configuration> |
235 |
<!-- |
236 |
this tells Tycho to use JRE libraries that match bundle runtime execution environment |
237 |
http://wiki.eclipse.org/Tycho/Release_Notes/0.14 |
238 |
TODO provide CBI-specific wiki that explains how to setup BREE libraries and toolchain.xml |
239 |
--> |
240 |
<useJDK>BREE</useJDK> |
241 |
</configuration> |
242 |
</plugin> |
243 |
</plugins> |
244 |
</pluginManagement> |
245 |
</build> |
246 |
</profile> |
247 |
</profiles> |
248 |
</project> |