forked from groovy/groovy-eclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
537 lines (491 loc) · 17.3 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.codehaus.groovy.eclipse</groupId>
<artifactId>org.codehaus.groovy.eclipse.parent</artifactId>
<version>2.9.2-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- To run this build use the following commands (depending on what you
are trying to do) -->
<!-- mvn clean install -Pe43j8 -->
<!-- mvn clean deploy -Pe43j8 -->
<!-- Running 'deploy' requires s3 accessKey and secretKey to be provided
in a properties file. The properties file must be specified via env variable
'dist_properties'. The existence of this env variable enables the deployment
profile automatically and will allow the 'deploy' to execute. -->
<!-- Example commands to build and deploy a milestone or a release
mvn clean deploy -Pe43j8 -Pmilestone
mvn clean deploy -Pe43j8 -Prelease
Before building a release also check the definition of the release profile
in this pom. It may need some minor edits such as the deploy location
and version number.
-->
<properties>
<tycho-version>0.19.0</tycho-version>
<tycho-extras-version>0.19.0</tycho-extras-version>
<!-- Version of greclipse maven compiler to use for building. (Some bundles,
mostly test related, have groovy code that can't be compiled with standard
tycho jdt compiler. These two properties define what compiler will be used
for those bundles. -->
<groovy-eclipse-compiler-version>2.8.0-01</groovy-eclipse-compiler-version>
<!-- This should be the oldest version of groovy we support. -->
<groovy-eclipse-batch-version>2.1.8-01</groovy-eclipse-batch-version>
<!-- Properties that define where stuff gets uploaded and how jar is named
etc. -->
<dist.bucket>dist.springsource.org</dist.bucket>
<dist.project>org.codehaus.groovy</dist.project>
<dist.name>Groovy Eclipse</dist.name>
<dist.key>GRECLIPSE</dist.key>
<dist.type>snapshot</dist.type>
<dist.qualifier></dist.qualifier> <!-- appended to the end of p2 qualifier, used to add stuff like 'M1', 'RELEASE'
etc. -->
<dist.path>${dist.type}/${dist.key}/${dist.target}</dist.path>
<!-- signing properties: Note these properties here are only 'documentation'.
The real values are furnished by the 'bamboo-signing' profile. When not running
on bamboo, singing is disabled by default -->
<signing.skip>true</signing.skip>
<signing.alias>vmware</signing.alias>
<signing.keystore></signing.keystore>
<signing.store.password></signing.store.password>
<signing.key.password></signing.key.password>
</properties>
<modules>
<!-- SDK and test bits -->
<module>ide-test</module> <!-- parent pom for all the ide-test modules -->
<module>ide-test/org.codehaus.groovy.alltests</module>
<!-- TODO: <module>ide-test/org.codehaus.groovy22.tests</module> -->
<module>ide-test/org.codehaus.groovy21.tests</module>
<module>ide-test/org.codehaus.groovy20.tests</module>
<module>ide-test/org.codehaus.groovy.eclipse.codeassist.completion.test</module>
<module>ide-test/org.codehaus.groovy.eclipse.codebrowsing.test</module>
<module>ide-test/org.codehaus.groovy.eclipse.core.test</module>
<module>ide-test/org.codehaus.groovy.eclipse.dsl.tests</module>
<module>ide-test/org.codehaus.groovy.eclipse.junit.test</module>
<module>ide-test/org.codehaus.groovy.eclipse.quickfix.test</module>
<module>ide-test/org.codehaus.groovy.eclipse.refactoring.test</module>
<module>ide-test/org.codehaus.groovy.eclipse.tests</module>
<module>ide-test/Feature-org.codehaus.groovy.alltests.feature</module>
<module>base-test/org.eclipse.jdt.groovy.core.tests.builder</module>
<module>base-test/org.eclipse.jdt.groovy.core.tests.compiler</module>
<!-- 'Real' Bits -->
<module>ide/org.codehaus.groovy.eclipse</module>
<module>ide/Feature-org.codehaus.groovy.compilerless.feature</module>
<module>ide/Feature-org.codehaus.groovy.eclipse.feature</module>
<module>ide/Feature-org.codehaus.groovy18.feature</module>
<module>ide/Feature-org.codehaus.groovy20.feature</module>
<module>ide/Feature-org.codehaus.groovy21.feature</module>
<module>ide/Feature-org.codehaus.groovy22.feature</module>
<module>ide/Feature-org.codehaus.groovy23.feature</module>
<module>ide/Feature-org.codehaus.groovy24.feature</module>
<module>ide/Feature-org.codehaus.groovy.headless.feature</module>
<module>base/org.eclipse.jdt.groovy.core</module>
<module>base/org.codehaus.groovy18</module>
<module>base/org.codehaus.groovy20</module>
<module>base/org.codehaus.groovy21</module>
<module>base/org.codehaus.groovy22</module>
<module>base/org.codehaus.groovy23</module>
<module>base/org.codehaus.groovy24</module>
<module>base/org.codehaus.groovy.eclipse.compilerResolver</module>
<module>ide/org.codehaus.groovy.eclipse.ant</module>
<module>ide/org.codehaus.groovy.eclipse.astviews</module>
<module>ide/org.codehaus.groovy.eclipse.core</module>
<module>ide/org.codehaus.groovy.eclipse.codeassist.completion</module>
<module>ide/org.codehaus.groovy.eclipse.codebrowsing</module>
<module>ide/org.codehaus.groovy.eclipse.dsl</module>
<module>ide/org.codehaus.groovy.eclipse.quickfix</module>
<module>ide/org.codehaus.groovy.eclipse.refactoring</module>
<module>ide/org.codehaus.groovy.eclipse.ui</module>
<!-- m2e integration -->
<module>extras/Feature-org.codehaus.groovy.m2eclipse</module>
<module>extras/org.codehaus.groovy.m2eclipse</module>
<!-- update site -->
<module>Site-org.codehaus.groovy.eclipse</module>
<!-- note: Beware: these are not all the modules. There are are also some
profile-specific ones declared below! -->
</modules>
<profiles>
<profile>
<id>e45</id>
<repositories>
<repository>
<id>e45</id>
<layout>p2</layout>
<!-- TODO: after mars release use this: <url>http://download.eclipse.org/eclipse/updates/4.5</url> -->
<url>http://download.eclipse.org/eclipse/updates/4.5milestones</url>
</repository>
<!-- <repository> <id>kepler</id> <layout>p2</layout> <url>http://download.eclipse.org/releases/luna</url>
</repository> -->
<!-- luna simul release update site doesn't exist yet. Add individual
sites. When 4.4 is released. Replace with luna site -->
<repository>
<id>m2e</id>
<layout>p2</layout>
<url>http://download.eclipse.org/technology/m2e/milestones/1.5</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e45/Feature-org.codehaus.groovy.jdt.patch</module>
<module>jdt-patch/e45/org.eclipse.jdt.core</module>
</modules>
<properties>
<dist.target>e4.5</dist.target>
<greclipse.build.qualifier>'xx-'yyyyMMddHHmm'-e45${dist.qualifier}'</greclipse.build.qualifier>
</properties>
</profile>
<profile>
<id>e44</id>
<repositories>
<repository>
<id>e44</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/4.4</url>
</repository>
<!-- <repository> <id>kepler</id> <layout>p2</layout> <url>http://download.eclipse.org/releases/luna</url>
</repository> -->
<!-- luna simul release update site doesn't exist yet. Add individual
sites. When 4.4 is released. Replace with luna site -->
<repository>
<id>m2e</id>
<layout>p2</layout>
<url>http://download.eclipse.org/technology/m2e/milestones/1.5</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e44/Feature-org.codehaus.groovy.jdt.patch</module>
<module>jdt-patch/e44/org.eclipse.jdt.core</module>
</modules>
<properties>
<dist.target>e4.4</dist.target>
<greclipse.build.qualifier>'xx-'yyyyMMddHHmm'-e44${dist.qualifier}'</greclipse.build.qualifier>
</properties>
</profile>
<profile>
<id>e43j8</id>
<repositories>
<repository>
<id>e43</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/4.3</url>
</repository>
<repository>
<id>kepler</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
<repository>
<id>eclipse-java8</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/4.3-P-builds/</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e43j8/Feature-org.codehaus.groovy.jdt.patch</module>
<module>jdt-patch/e43j8/org.eclipse.jdt.core</module>
</modules>
<properties>
<dist.target>e4.3-j8</dist.target>
<greclipse.build.qualifier>'xx-'yyyyMMddHHmm'-e43j8${dist.qualifier}'</greclipse.build.qualifier>
</properties>
</profile>
<profile>
<id>e43</id>
<repositories>
<repository>
<id>e43</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/4.3</url>
</repository>
<repository>
<id>kepler</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e43/Feature-org.codehaus.groovy.jdt.patch</module>
<module>jdt-patch/e43/org.eclipse.jdt.core</module>
</modules>
<properties>
<dist.target>e4.3</dist.target>
<greclipse.build.qualifier>'xx-'yyyyMMddHHmm'-e43${dist.qualifier}'</greclipse.build.qualifier>
</properties>
</profile>
<profile>
<id>e42</id>
<repositories>
<repository>
<id>e42</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/4.2</url>
</repository>
<repository>
<id>juno</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/juno</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e42/Feature-org.codehaus.groovy.jdt.patch</module>
<module>jdt-patch/e42/org.eclipse.jdt.core</module>
</modules>
<properties>
<dist.target>e4.2</dist.target>
<greclipse.build.qualifier>'xx-'yyyyMMddHHmm'-e42${dist.qualifier}'</greclipse.build.qualifier>
</properties>
</profile>
<profile>
<id>e37</id>
<repositories>
<repository>
<id>e37</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/3.7</url>
</repository>
<repository>
<id>juno</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/indigo</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e37/Feature-org.codehaus.groovy.jdt.patch</module>
<module>jdt-patch/e37/org.eclipse.jdt.core</module>
</modules>
<properties>
<dist.target>e3.7</dist.target>
<greclipse.build.qualifier>'xx-'yyyyMMddHHmm'-e37${dist.qualifier}'</greclipse.build.qualifier>
</properties>
</profile>
<profile>
<id>s3-deploy</id>
<activation>
<property>
<name>env.dist_properties</name>
</property>
</activation>
<build>
<plugins>
<!-- This will define ${accessKey} and ${secretKey} properties to use
for uploading to s3. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<quiet>true</quiet>
<files>
<file>${env.dist_properties}</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- profile to sign jars. Enabled automatically on bamboo when detecting
'bamboo_signing_key_password' env variable is defined -->
<profile>
<activation>
<property>
<name>env.bamboo_signing_key_password</name>
</property>
</activation>
<id>bamboo-signing</id>
<properties>
<signing.skip>false</signing.skip>
<signing.alias>vmware</signing.alias>
<signing.store.password>${env.bamboo_signing_store_password}</signing.store.password>
<signing.key.password>${env.bamboo_signing_key_password}</signing.key.password>
<signing.keystore>~/.keytool/springsource.jks</signing.keystore>
</properties>
</profile>
<!-- snaphshot builds are the default. Enable one of the profiles below
to do a milestone or release build -->
<profile>
<id>milestone</id>
<properties>
<dist.type>milestone</dist.type>
</properties>
</profile>
<profile>
<id>release</id>
<properties>
<dist.type>release</dist.type>
<dist.version>2.9.2</dist.version>
<dist.qualifier>-RELEASE</dist.qualifier>
<!-- use the below for 'practice' builds, comment out to do the 'real' build -->
<dist.path>${dist.type}/${dist.key}/${dist.version}/${dist.target}</dist.path>
</properties>
</profile>
</profiles>
<repositories>
<repository>
<id>orbit</id>
<layout>p2</layout>
<url>http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/</url>
</repository>
<!-- required for Maven and Ant AWS dependency -->
<repository>
<id>springsource-maven-release</id>
<name>SpringSource Maven Release Repository</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
</repositories>
<pluginRepositories>
<!-- required for Maven and Ant AWS dependency -->
<pluginRepository>
<id>springsource-maven-release</id>
<name>SpringSource Maven Release Repository</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<skip>${signing.skip}</skip>
<alias>${signing.alias}</alias>
<keystore>${signing.keystore}</keystore>
<storepass>${signing.store.password}</storepass>
<keypass>${signing.key.password}</keypass>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</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>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<!-- We'll be doing our own deployment by antrun task uploading to s3.
Disable default behavior: -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<format>${greclipse.build.qualifier}</format>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>${tycho-extras-version}</version>
<executions>
<execution>
<id>source-feature</id>
<phase>package</phase>
<goals>
<goal>source-feature</goal>
</goals>
<configuration>
<excludes>
<plugin id="org.codehaus.groovy.eclipse" />
<!-- Stuff below is related to j8 patch. Can't find source for these
patched bits. -->
<plugin id="org.eclipse.jdt.apt.core" />
<plugin id="org.eclipse.jdt.apt.ui" />
<plugin id="org.eclipse.jdt.apt.pluggable.core" />
<plugin id="org.eclipse.jdt.compiler.apt" />
<plugin id="org.eclipse.jdt.compiler.tool" />
<plugin id="org.eclipse.jdt.annotation" />
<plugin id="org.eclipse.jdt.debug.ui" />
<plugin id="org.eclipse.jdt.debug" />
<plugin id="org.eclipse.jdt.launching" />
<plugin id="org.eclipse.jdt.ui" />
<plugin id="org.eclipse.jdt.junit" />
<plugin id="org.eclipse.jdt.junit.core" />
<feature id="org.eclipse.jdt.a2.java8patch" />
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>