-
Notifications
You must be signed in to change notification settings - Fork 42
/
pom.xml
1026 lines (971 loc) · 36.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
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<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.jboss.tools</groupId>
<artifactId>parent</artifactId>
<version>4.3.2.Final</version>
<name>JBoss Tools Parent</name>
<packaging>pom</packaging>
<description>JBoss Tools and Red Hat JBoss Developer Studio Parent</description>
<url>https://developers.redhat.com/products/devstudio/overview/</url>
<properties>
<!-- ==================================================== -->
<!-- Build properties, to be updated with every milestone or new Eclipse release -->
<!-- ==================================================== -->
<BUILD_ALIAS>Final</BUILD_ALIAS>
<targetEclipseVersion>4.5.2 (Mars.2)</targetEclipseVersion>
<eclipseReleaseName>mars</eclipseReleaseName>
<devstudioReleaseVersion>9.0</devstudioReleaseVersion>
<lastStableRepository>http://download.jboss.org/jbosstools/mars/stable/updates/</lastStableRepository>
<!-- if https://issues.jboss.org/browse/JBIDE-22248 comes back, use <jbossNexus>origin-repository.jboss.org</jbossNexus> -->
<jbossNexus>repository.jboss.org</jbossNexus>
<!-- ==================================================== -->
<!-- General properties, not meant to be tweaked by users -->
<!-- ==================================================== -->
<tychoVersion>0.24.0</tychoVersion>
<tychoExtrasVersion>${tychoVersion}</tychoExtrasVersion>
<jbossTychoPluginsVersion>0.23.3</jbossTychoPluginsVersion>
<jbosstoolsRelengPublishVersion>4.3.1.Final</jbosstoolsRelengPublishVersion>
<memoryOptions1>-Xms512m -Xmx1024m -XX:PermSize=256m</memoryOptions1>
<memoryOptions2>-XX:MaxPermSize=256m</memoryOptions2>
<systemProperties></systemProperties>
<platformSystemProperties></platformSystemProperties>
<applejdkProperties></applejdkProperties>
<maven.antrun.plugin.version>1.3</maven.antrun.plugin.version>
<!-- Default coverage filter, to be overriden when necessary -->
<coverage.filter>org.jboss.tools.*</coverage.filter>
<update.site.name>JBoss Tools - ${project.artifactId}</update.site.name>
<!-- In the update site's site/pom.xml (that calls jbosstools-maven-plugins/tycho-plugins/repository-utils)
you can override this value to be Nightly Build, Development Milestone, or Stable Release, or set to &shy; (soft hyphen) to leave blank -->
<update.site.description>&shy;</update.site.description>
<!-- ===================================================== -->
<!-- SWITCHES can be overriden by command-line -Dkey=value -->
<!-- ===================================================== -->
<swtbot.test.skip>true</swtbot.test.skip>
<!-- Used to install 3rd-party runtimes for testing -->
<skipRequirements>${skipTests}</skipRequirements>
<!-- Skip downloading private stuff, to be propagated to tests to skip executing test based on private stuff -->
<!-- See JBIDE-12420 -->
<skipPrivateRequirements>true</skipPrivateRequirements>
<skipSigning>true</skipSigning>
<skipBaselineComparison>${skipTestsOrITests}</skipBaselineComparison>
<requirementsDirectory>${project.build.directory}/requirements</requirementsDirectory>
<skipTestsWithPrivateRequirements>${skipPrivateRequirements}</skipTestsWithPrivateRequirements>
<!-- if you have integration tests, you can skip them using this -->
<skipITests>false</skipITests>
<!-- Unit Test and Integration Test timeouts in seconds -->
<surefire.timeout>2400</surefire.timeout>
<surefire.itests.timeout>${surefire.timeout}</surefire.itests.timeout>
<!-- Where to put jacoco coverage report, basically in the target/ folder at the top-level for each component -->
<!-- For multi-modules "chunks", set it to '../../../target/jacoco.exec' in their root pom -->
<jacoco.destFile>../../target/jacoco.exec</jacoco.destFile>
<!-- Default properties for Java runtimes to be used and set during testing, eg., /qa/tools/opt/jdk1.8.0_last/ or /opt/jdk1.7.0_17/
These properties will be set when running in Jenkins, but you can set them in your settings.xml too.
Not recommended that you set default values in your root or test poms as they are machine specific. -->
<jbosstools.test.jre.5></jbosstools.test.jre.5>
<jbosstools.test.jre.6></jbosstools.test.jre.6>
<jbosstools.test.jre.7></jbosstools.test.jre.7>
<jbosstools.test.jre.8></jbosstools.test.jre.8>
<!-- default when building locally; see hudson profile for when building in Jenkins CI -->
<p2StatsUrl>http://download.jboss.org/jbosstools/usage/installs/${project.groupId}-site/${project.version}/${BUILD_ALIAS}/${buildQualifier}</p2StatsUrl>
<!-- ======================== -->
<!-- JBOSS TOOLS DEPENDENCIES -->
<!-- ======================== -->
<!--
Don't use dashes & periods in variables which need to be used in shell (eg., Jenkins), as they cannot be declared.
Use underscores or mixedCase instead! ref: http://unix.stackexchange.com/questions/23659/can-shell-variable-include-character
-->
<jbosstools_site_stream>4.3.mars</jbosstools_site_stream> <!-- or 4.3.mars for example -->
<jbosstools-site-stream>${jbosstools_site_stream}</jbosstools-site-stream> <!-- jbosstools-site-stream is DEPRECATED because cannot be used in shell scripts: do not use -->
<jbosstools-build-type>${eclipseReleaseName}/snapshots/builds</jbosstools-build-type> <!-- path under which snapshot builds get published -->
<jbosstools_site_baseurl>http://download.jboss.org/jbosstools/${jbosstools-build-type}</jbosstools_site_baseurl>
<jbosstools_site_suffix>latest/all/repo</jbosstools_site_suffix> <!-- for a single build [stable branch], use latest/all/repo; for a composite of current builds [master branch], use "" -->
<!-- Sites with mutable content (eg snapshot builds) -->
<jbosstools-base-site>${jbosstools_site_baseurl}/jbosstools-base_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-base-site>
<jbosstools-server-site>${jbosstools_site_baseurl}/jbosstools-server_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-server-site>
<jbosstools-openshift-site>${jbosstools_site_baseurl}/jbosstools-openshift_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-openshift-site>
<jbosstools-jst-site>${jbosstools_site_baseurl}/jbosstools-jst_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-jst-site>
<jbosstools-aerogear-site>${jbosstools_site_baseurl}/jbosstools-aerogear_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-aerogear-site>
<jbosstools-hibernate-site>${jbosstools_site_baseurl}/jbosstools-hibernate_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-hibernate-site>
<jbosstools-javaee-site>${jbosstools_site_baseurl}/jbosstools-javaee_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-javaee-site>
<jbosstools-webservices-site>${jbosstools_site_baseurl}/jbosstools-webservices_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-webservices-site>
<jbosstools-vpe-site>${jbosstools_site_baseurl}/jbosstools-vpe_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-vpe-site>
<jbosstools-arquillian-site>${jbosstools_site_baseurl}/jbosstools-arquillian_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-arquillian-site>
<jbosstools-forge-site>${jbosstools_site_baseurl}/jbosstools-forge_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-forge-site>
<jbosstools-livereload-site>${jbosstools_site_baseurl}/jbosstools-livereload_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-livereload-site>
<jbosstools-central-site>${jbosstools_site_baseurl}/jbosstools-central_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-central-site>
<jbosstools-browsersim-site>${jbosstools_site_baseurl}/jbosstools-browsersim_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-browsersim-site>
<jbosstools-playground-site>${jbosstools_site_baseurl}/jbosstools-playground_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-playground-site>
<jbosstools-freemarker-site>${jbosstools_site_baseurl}/jbosstools-freemarker_${jbosstools_site_stream}/${jbosstools_site_suffix}</jbosstools-freemarker-site>
<!-- Static sites (should be moved into TP?) -->
<!-- TODO: when changing these stable or integration URLs, be sure to ALSO change the URLs in download.jboss.org/jbosstools/builds/staging/_composite_/core/* or else composite builds will fail and no aggregates will happen in Jenkins! -->
<jbosstools-xulrunner-site>http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.2/</jbosstools-xulrunner-site>
<jbosstools-portlet-site>http://download.jboss.org/jbosstools/updates/stable/luna/core/portlet/</jbosstools-portlet-site>
<jbosstools-birt-site>http://download.jboss.org/jbosstools/mars/stable/updates/core/birt/</jbosstools-birt-site>
<!-- ================ -->
<!-- TARGET-PLATFORMS -->
<!-- ================ -->
<!-- JBoss Tools target platforms are versioned: <eclipseMajor>.<eclipseMinorAndMicro>.<revision>.<qualifier>
Default version is the minimum API / Eclipse target used for the project
In case no profile fits your requested TP version, directly override these next two properties -->
<!-- default value for the "minimum" profile -->
<TARGET_PLATFORM_VERSION>4.50.2.Final</TARGET_PLATFORM_VERSION>
<!-- default value for the "maximum" profile -->
<TARGET_PLATFORM_VERSION_MAXIMUM>4.52.0.Final</TARGET_PLATFORM_VERSION_MAXIMUM>
<!-- to build with the minimum TP, use -Punified.target (on by default); to build with the maximum TP, use -Pmaximum -->
<!-- when building/testing components, use minumum TP -->
<!-- This must be overriden when using other groups for TP, such as jbdevstudio -->
<targetPlatformGroup>jbosstools</targetPlatformGroup>
<!-- ***************************************************************** -->
<!-- Use *target* profiles to select other values for those properties -->
<!-- ***************************************************************** -->
<!-- tpc.groupId is static but defined here to use a completely different target platform (i.e. for JBTIS) -->
<tpc.groupId>org.jboss.tools.targetplatforms</tpc.groupId>
<!-- tpc.group is one of ${targetPlatformGroup} or ${targetPlatformGroup-maximun} -->
<tpc.group>${targetPlatformGroup}</tpc.group>
<!-- Is one of "unified" or "multiple" (other values "jenkins" & "local" are deprecated -->
<tpc.targetKind>unified</tpc.targetKind>
<tpc.version>${TARGET_PLATFORM_VERSION}</tpc.version>
<!-- discovery.tpc.version usually is usually set to ${tpc.version} but it
can happen that they need to have different values, hence 2 properties -->
<discovery.tpc.version>${tpc.version}</discovery.tpc.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
<format>'${BUILD_ALIAS}-v'yyyyMMdd-HHmm</format>
<sourceReferences>
<generate>true</generate>
</sourceReferences>
<archiveSite>true</archiveSite>
<environments>
<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>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
<dependencies>
<dependency>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-sourceref-jgit</artifactId>
<version>${tychoExtrasVersion}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tychoVersion}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tychoVersion}</version>
<configuration>
<resolver>p2</resolver>
<ignoreTychoRepositories>true</ignoreTychoRepositories>
<environments>
<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>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<!-- to skip running tests (compile only) use commandline flag: -Dmaven.test.skip
To allow all tests in a pom to pass/fail, use commandline flag: -fae (fail
at end) -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
<!-- THE FOLLOWING LINE MUST NOT BE BROKEN BY AUTOFORMATTING -->
<!-- tycho.testArgLine repeated to keep jacoco configuration for jacoco-maven-plugin -->
<argLine>${tycho.testArgLine} ${memoryOptions1} ${memoryOptions2} ${applejdkProperties} ${platformSystemProperties} ${systemProperties} -Dusage_reporting_enabled=false -Dorg.jboss.tools.tests.skipPrivateRequirements=${skipPrivateRequirements} -Dorg.eclipse.ui.testsDisableWorkbenchAutoSave=true</argLine>
<!-- https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho -->
<!-- set useUIThread=true for regular ui tests -->
<!-- set useUIThread=false for swtbot tests -->
<includes>
<include>**/AllTests.class</include>
<include>**/*AllTests*.class</include>
<include>**/*AllBotTests*.class</include>
<include>**/*TestSuite*.class</include>
</includes>
<!-- Workaround for JBIDE-16161/Eclipse bug 424104 -->
<dependencies>
<dependency>
<type>eclipse-feature</type>
<artifactId>org.eclipse.e4.rcp</artifactId>
<version>0.0.0</version>
</dependency>
<!-- This feature is required for correct Installed JRE initialization on Mac OS X -->
<dependency>
<type>eclipse-feature</type>
<artifactId>org.eclipse.jdt</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- source for bundles -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tychoVersion}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<encoding>ISO-8859-1</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.1.201405082137</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<includes>
<include>${coverage.filter}</include>
</includes>
<!-- Merge reports from all executions -->
<append>true</append>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jboss.tools.tycho-plugins</groupId>
<artifactId>repository-utils</artifactId>
<version>${jbossTychoPluginsVersion}</version>
<executions>
<execution>
<id>generate-facade</id>
<phase>package</phase>
<goals>
<goal>generate-repository-facade</goal>
</goals>
<configuration>
<symbols>
<update.site.name>${update.site.name}</update.site.name>
<update.site.description>${update.site.description}</update.site.description>
<update.site.version>${project.version} (${buildQualifier})</update.site.version>
<target.eclipse.version>${targetEclipseVersion}</target.eclipse.version>
</symbols>
<p2StatsUrl>${p2StatsUrl}</p2StatsUrl>
</configuration>
</execution>
<!--<execution>
<id>generate-full-site</id>
<phase>package</phase>
<goals>
<goal>create-full-site</goal>
</goals>
</execution>-->
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>regex-property</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>skipTestsOrITests</name>
<value>${skipTests}${skipITests}</value>
<regex>((..skipTests.)?(true)?((..skipITests.)|(null)|(true)|(false))?)</regex>
<replacement>$3</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>${tychoVersion}</version>
<executions>
<execution>
<goals>
<goal>compare-version-with-baselines</goal>
</goals>
<phase>verify</phase>
<configuration>
<skip>${skipBaselineComparison}</skip>
<baselines>
<repo>${lastStableRepository}</repo>
</baselines>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<!-- The Base URL of Nexus instance where we want to stage -->
<nexusUrl>https://${jbossNexus}/nexus/</nexusUrl>
<!-- The server "id" element from settings to use authentication from -->
<serverId>jboss-releases-repository</serverId>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- This plugin's configuration is used to store Eclipse m2e settings only. -->
<!-- It has no influence on the Maven build itself. -->
<!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=350414 -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<versionRange>[0.5,)
</versionRange>
<goals>
<goal>prepare-agent</goal>
</goals>
</pluginExecutionFilter>
<action>
<!-- m2e doesn't know what to do with jacoco, -->
<!-- let's ignore it or annoying error markers appear -->
<!-- see http://wiki.eclipse.org/M2E_plugin_execution_not_covered -->
<ignore></ignore>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<versionRange>
[1.7,)
</versionRange>
<goals>
<goal>regex-property</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.4</version>
<executions>
<execution>
<id>create-zip</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<!-- JBIDE-19800 to use this, must specify path to an assembly.xml file. Examples in jbosstools-discovery and jbosstools-target-platforms
<descriptors><descriptor>publish-assembly.xml</descriptor></descriptors>
-->
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.ju-n.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<goals>
<goal>files</goal>
</goals>
</execution>
</executions>
<configuration>
<quiet>true</quiet>
<csvSummary>false</csvSummary>
<algorithms>
<algorithm>SHA-256</algorithm>
</algorithms>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>**/*.zip</include>
<include>**/*-installer-*.jar</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>maven-download-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<skip>${skipRequirements}</skip>
<outputDirectory>${requirementsDirectory}</outputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.2.0</version>
<configuration>
<skip>${skipRequirements}</skip>
<outputDirectory>${requirementsDirectory}</outputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>${skipRequirements}</skip>
<outputDirectory>${requirementsDirectory}</outputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>${tychoExtrasVersion}</version>
<executions>
<execution>
<id>source-feature</id>
<phase>package</phase>
<goals>
<goal>source-feature</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tychoVersion}</version>
<executions>
<execution>
<id>attached-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.6.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<!-- ************************************************************ -->
<!-- Profiles to manage target-platform and 3rd pary dependencies -->
<!-- ************************************************************ -->
<!-- enable actual using a target platform, can simply be disable with -Dno-target-platform -->
<profile>
<id>target-platform</id>
<activation>
<property>
<name>!no-target-platform</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tychoVersion}</version>
<configuration>
<target>
<artifact>
<groupId>${tpc.groupId}</groupId>
<artifactId>${tpc.group}-${tpc.targetKind}</artifactId>
<version>${tpc.version}</version>
<classifier>${tpc.group}-${tpc.targetKind}</classifier>
</artifact>
</target>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- Target platform file pointing at the composite target platform
AKA multiple.target -->
<profile>
<id>multiple.target</id>
<properties>
<tpc.targetKind>multiple</tpc.targetKind>
</properties>
</profile>
<!-- Target platform file pointing at a single update site from which to
resolve. See unified.site if you want to resolve against a site w/o using
the unified.target file -->
<profile>
<id>unified.target</id>
<properties>
<tpc.targetKind>unified</tpc.targetKind>
</properties>
</profile>
<profile>
<id>maximum</id>
<properties>
<tpc.version>${TARGET_PLATFORM_VERSION_MAXIMUM}</tpc.version>
</properties>
</profile>
<profile>
<!-- JBIDE-12455 , necessary because of XulRunner doesn't support 64bits OSX -->
<id>applejdk</id>
<activation>
<property>
<name>java.vendor.url</name>
<value>http://www.apple.com/</value>
</property>
</activation>
<properties>
<applejdkProperties> -d32 -Dosgi.arch=x86 </applejdkProperties>
</properties>
</profile>
<profile>
<!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=388084 -->
<id>osx</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<!-- THE FOLLOWING LINE MUST NOT BE BROKEN BY AUTOFORMATTING -->
<platformSystemProperties> -XstartOnFirstThread </platformSystemProperties>
</properties>
</profile>
<profile>
<id>hudson</id>
<activation>
<property>
<name>BUILD_NUMBER</name>
</property>
</activation>
<properties>
<!-- to test p2StatsUrl, must pass in two vars: mvn clean install -DJOB_NAME=jbosstools-server_master -DBUILD_NUMBER=450002 -->
<p2StatsUrl>http://download.jboss.org/jbosstools/usage/installs/${JOB_NAME}/${project.version}/${BUILD_ALIAS}/${buildQualifier}/</p2StatsUrl>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
<format>'${BUILD_ALIAS}-v'yyyyMMdd-HHmm'-B${BUILD_NUMBER}'</format>
<archiveSite>true</archiveSite>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sign</id>
<!-- guarantee that -Psign <=> -DskipSigning=false -->
<activation>
<property>
<name>skipSigning</name>
<value>false</value>
</property>
</activation>
<properties>
<skipSigning>false</skipSigning>
</properties>
</profile>
<profile>
<id>pack200</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tychoVersion}</version>
<configuration>
<includePackedArtifacts>true</includePackedArtifacts>
</configuration>
</plugin>
<!-- first we normalize -->
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<version>${tychoExtrasVersion}</version>
<executions>
<execution>
<id>pack200-normalize</id>
<goals>
<goal>normalize</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<!-- then we sign -->
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<version>1.2.1</version>
<executions>
<execution>
<id>jarsign</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>/home/hudson/bin/jarsign.sh</executable>
<arguments>
<argument>${project.basedir}</argument>
</arguments>
<skip>${skipSigning}</skip>
</configuration>
</execution>
</executions>
</plugin>
<!-- then we pack -->
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<version>${tychoExtrasVersion}</version>
<executions>
<execution>
<id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tychoVersion}</version>
<executions>
<execution>
<id>p2-metadata</id>
<goals>
<goal>p2-metadata</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<defaultP2Metadata>false</defaultP2Metadata>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>deploy-to-jboss.org</id>
<properties>
<deployScriptDir>${project.build.directory}/releng-scripts</deployScriptDir>
<deployScript>${deployScriptDir}/publish/rsync.sh</deployScript>
<deploySourceFolder>${project.build.directory}/repository</deploySourceFolder>
<deployDestination>tools@filemgmt.jboss.org:downloads_htdocs/jbosstools</deployDestination>
<deployTargetFolder>${jbosstools-build-type}/${JOB_NAME}/${BUILD_ID}-B${BUILD_NUMBER}/all/repo/</deployTargetFolder>
<deployNumbuildstokeep>2</deployNumbuildstokeep>
<deployThreshholdwhendelete>2</deployThreshholdwhendelete>
<!-- https://issues.jboss.org/browse/JBIDE-21012 by default, don't push an update site zip to JBoss Nexus, only to download.jboss.org or devstudio.redhat.com -->
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>deploy-releng-scripts</id>
<goals>
<goal>unpack</goal>
</goals>
<phase>deploy</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.jboss.tools.releng</groupId>
<artifactId>jbosstools-releng-publish</artifactId>
<version>${jbosstoolsRelengPublishVersion}</version>
<type>tar.gz</type>
<outputDirectory>${deployScriptDir}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<configuration>
<executable>${deployScript}</executable>
</configuration>
<executions>
<execution>
<id>deploy-snapshot-build</id>
<goals>
<goal>exec</goal>
</goals>
<phase>deploy</phase>
<configuration>
<arguments>
<arg>-DESTINATION</arg>
<arg>${deployDestination}</arg>
<arg>-s</arg>
<arg>${deploySourceFolder}</arg>
<arg>-t</arg>
<arg>${deployTargetFolder}</arg>
<arg>-k</arg>
<arg>${deployNumbuildstokeep}</arg>
<arg>-a</arg>
<arg>${deployThreshholdwhendelete}</arg>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Multiple triggers to disable tests that depends on private requirements
These profiles are workaround for Maven to support minimal operations
http://jira.codehaus.org/browse/MNG-5347 -->
<profile>
<id>mavenTestSkip</id>
<activation>
<property>
<name>maven.test.skip</name>
<value>true</value>
</property>
</activation>
<properties>
<maven.test.skip>true</maven.test.skip>
<skipTestsWithPrivateRequirements>true</skipTestsWithPrivateRequirements>
</properties>
</profile>
<profile>
<id>test-on-installed-app</id>
<activation>
<property>
<name>test.installPath</name>
</property>
</activation>
<properties>
<!-- Default is for JBDS. Override for other RCP apps: http://wiki.eclipse.org/Tycho/Testing_with_Surefire#p2Installed_on_provisioned_RCP_application -->
<test.profileName>jbds</test.profileName>
<test.installPath>/home/me/jbdevstudio-7.1.0.Final/studio</test.installPath>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<testRuntime>p2Installed</testRuntime>
<work>${test.installPath}</work>
<profileName>${test.profileName}</profileName>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>jboss-releases</id>
<name>JBoss Releases Maven Repository</name>
<url>https://${jbossNexus}/nexus/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>https://${jbossNexus}/nexus/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jboss-ga-repository</id>
<name>JBoss General Availability Maven Repository</name>
<url>http://maven.repository.redhat.com/ga/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<!-- Additional m2 repos to resolve things like org.eclipse.tycho:tycho-maven-plugin:0.16.0-SNAPSHOT -->
<!-- JBoss Nexus repos are also added, but in settings.xml -->
<pluginRepositories>
<pluginRepository>
<id>tycho-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
</pluginRepository>
<pluginRepository>
<id>sonatype-public-grid</id>
<url>https://repository.sonatype.org/content/groups/sonatype-public-grid</url>
</pluginRepository>
<pluginRepository>
<id>sonatype-public-repository</id>
<url>https://oss.sonatype.org/content/groups/public</url>
</pluginRepository>
<pluginRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>https://${jbossNexus}/nexus/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>jboss-releases</id>
<name>JBoss Releases Maven Repository</name>
<url>https://${jbossNexus}/nexus/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<!-- To deploy parent to Nexus -->
<!-- Don't change "id" since it should match credentials entry in $M2_REPO/settings.xml -->
<distributionManagement>
<snapshotRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>https://${jbossNexus}/nexus/content/repositories/snapshots/</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
<repository>
<id>jboss-releases-repository</id>
<name>JBoss Release Staging Repository</name>
<uniqueVersion>false</uniqueVersion>
<url>https://${jbossNexus}/nexus/service/local/staging/deploy/maven2/</url>
<layout>default</layout>
</repository>
</distributionManagement>
<scm>
<connection>scm:git:git://git@github.com:jbosstools/jbosstools-build.git</connection>