Skip to main content
summaryrefslogtreecommitdiffstats
blob: 05ed011310b5589e98137ff756f7a4e8a52af92f (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (c) 2012, 2023 Eclipse Foundation and others.
  All rights reserved. This program and the accompanying materials
  are made available under the terms of the Eclipse Distribution License v1.0
  which accompanies this distribution, and is available at
  https://www.eclipse.org/org/documents/edl-v10.php
 
  Contributors:
    Thanh Ha (Eclipse Foundation) - initial implementation
    Mickael Istria (Red Hat Inc.) - 424087 distributionManagement to enable mvn deploy
    Nick Boldt (Red Hat Inc.) - support for Tycho 1.1 and upstream component builds
-->

<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>

  <groupId>org.eclipse</groupId>
  <artifactId>wtp-parent</artifactId>
  <version>3.10.0-SNAPSHOT</version>
  <packaging>pom</packaging>

  <properties>
    <tycho.version>4.0.4</tycho.version>
    <tycho-extras.version>${tycho.version}</tycho-extras.version>
    <tycho-repo.url>https://oss.sonatype.org/content/repositories/public/</tycho-repo.url>
    <tycho-snapshot-repo.url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</tycho-snapshot-repo.url>

    <cbi-plugins.version>1.4.3</cbi-plugins.version>
    <cbi-repo.url>https://repo.eclipse.org/content/repositories/cbi/</cbi-repo.url>
    <!-- switch to use  ${cbi-repo.url}
    <cbi-snapshot-repo.url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</cbi-snapshot-repo.url>
    -->
    <!-- baseline comparator
         NOTE: while there are WTP projects in Oxygen.x releases that are build from master (eg., JSF. JSDT, Dali),
         we cannot use an Oxygen baseline for all the builds, so stick with Neon for now -->
    <comparator.repo>https://download.eclipse.org/webtools/repository/neon/</comparator.repo>

    <!-- dependency repos -->
    <!-- we want to match eclipse.platform.releng.aggregator.git/eclipse-platform-parent/pom.xml as much as we can -->
    <!-- <license-repo.url>https://download.eclipse.org/cbi/updates/license/1.0.1.v20140414-1359/</license-repo.url> -->
    <!-- <license-repo.url>https://download.eclipse.org/cbi/updates/license/2.0.0.v20180130-0820/</license-repo.url> -->
    <license-repo.url>https://download.eclipse.org/cbi/updates/license/</license-repo.url>

    <!-- this folder is a composite of the last 2 builds; you might want to override to build against a single specific subfolder -->
    <!-- <platform-repo.url>https://download.eclipse.org/eclipse/updates/I-builds/</platform-repo.url> -->
    <platform-repo.url>https://download.eclipse.org/eclipse/updates/4.31-I-builds/</platform-repo.url>

    <!-- NOTE: sometimes an S build is newer than its closest I build so it's worth checking this from time to time -->
    <!-- "latest" I-build -->
    <orbit-repo.url>https://download.eclipse.org/tools/orbit/downloads/latest-I/</orbit-repo.url>
    <orbit-aggregation.url>https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/nightly/latest/</orbit-aggregation.url>
    <!-- <orbit-repo.url>https://download.eclipse.org/tools/orbit/downloads/drops/S20220726152247/repository/</orbit-repo.url> -->
    <!-- Legacy CVS-based bundle release R20220302172233 is included further below -->

    <!-- SimRel Maven, generously provided to try and keep wild Maven dependencies aligned -->
    <simrel-maven.url>https://download.eclipse.org/oomph/simrel-maven/nightly/latest/</simrel-maven.url>

    <!-- match https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/eclipse.platform.releng.prereqs.sdk/eclipse-sdk-prereqs.target -->
    <jetty-repo.url>https://download.eclipse.org/tools/orbit/simrel/maven-jetty/release/latest/</jetty-repo.url>
    <graphiti-repo.url>https://download.eclipse.org/graphiti/updates/0.19.1/</graphiti-repo.url>
    <!-- Old, before Ed Merks: <dtp-repo.url>https://download.eclipse.org/datatools/updates/1.14.300-SNAPSHOT/repository/</dtp-repo.url> -->
    <dtp-repo.url>https://download.eclipse.org/datatools/updates/nightly/latest</dtp-repo.url>

    <jgit-repo.url>https://download.eclipse.org/egit/updates/</jgit-repo.url>

    <!-- EMF 2.21 M1 milestone -->
    <emf-repo.url>https://download.eclipse.org/modeling/emf/emf/builds/milestone/latest/</emf-repo.url>
    <!-- <emf-transaction-repo.url>https://download.eclipse.org/modeling/emf/transaction/updates/releases/R201706061339/</emf-transaction-repo.url> -->
    <emf-transaction-repo.url>https://download.eclipse.org/modeling/emf/transaction/updates/milestones/</emf-transaction-repo.url>
    <!-- <emf-validation-repo.url>https://download.eclipse.org/modeling/emf/validation/updates/releases/R201812070911/</emf-validation-repo.url> -->
    <emf-validation-repo.url>https://download.eclipse.org/modeling/emf/validation/updates/milestones/</emf-validation-repo.url>
    <!-- NOTE: 
        EclipseLink 2.7.4 does not include org.eclipse.persistence.moxy, on which org.eclipse.jpt.jaxb.eclipselink.feature depends.
        EclipseLink 2.7.5 solves this in https://bugs.eclipse.org/bugs/show_bug.cgi?id=545221, but removes jarsigning, so can't be 
        used in simrel. https://bugs.eclipse.org/bugs/show_bug.cgi?id=559739
        2.7.6 is also not signed. https://github.com/eclipse-ee4j/eclipselink/issues/507
        So we stick with 2.7.3.
    -->
    <!-- <eclipselink-repo.url>https://download.eclipse.org/rt/eclipselink/updates/2.7.9.v20210604-2c549e2208/</eclipselink-repo.url>-->
    <eclipselink-repo.url>https://download.eclipse.org/rt/eclipselink/updates/2.7.3.v20180807-4be1041/</eclipselink-repo.url>

    <swtbot-repo.url>https://download.eclipse.org/technology/swtbot/releases/latest/</swtbot-repo.url>

    <!-- gef-repo.url>https://ci.eclipse.org/gef/job/gef-master/lastStableBuild/artifact/update-site/</gef-repo.url -->
    <!--
      <gef-repo.url>https://download.eclipse.org/tools/gef/updates/legacy/releases/4.0.0_gef-master_1952</gef-repo.url>
      <gef-legacy-repo.url>https://download.eclipse.org/tools/gef/updates/legacy/integration/5.0.0_gef-legacy-master_2166/</gef-legacy-repo.url>
    -->
    <gef-repo.url>https://download.eclipse.org/tools/gef/updates/releases</gef-repo.url>
    <gef-legacy-repo.url>https://download.eclipse.org/tools/gef/classic/releases/latest/</gef-legacy-repo.url>

   <!-- CI builds of various WTP components, to be used in components' root poms that depend on them -->
    <webtools-CI-site-prefix>https://ci.eclipse.org/webtools/job/webtools-</webtools-CI-site-prefix>
    <webtools-CI-site-suffix>_master/lastSuccessfulBuild/artifact/site/target/repository/</webtools-CI-site-suffix>
    <webtools-CI-integration-site-suffix>_master/lastSuccessfulBuild/artifact/site-integration/target/repository/</webtools-CI-integration-site-suffix>
    
    <webtools-common-site>${webtools-CI-site-prefix}common${webtools-CI-site-suffix}</webtools-common-site>
    <webtools-servertools-site>${webtools-CI-site-prefix}servertools${webtools-CI-site-suffix}</webtools-servertools-site>
    <webtools-servertools-integration-site>${webtools-CI-site-prefix}servertools-integration${webtools-CI-integration-site-suffix}</webtools-servertools-integration-site>
    <webtools-jsdt-site>${webtools-CI-site-prefix}jsdt${webtools-CI-site-suffix}</webtools-jsdt-site>
    <webtools-sourceediting-site>${webtools-CI-site-prefix}sourceediting${webtools-CI-site-suffix}</webtools-sourceediting-site>

    <webtools-jeetools-site>${webtools-CI-site-prefix}javaee${webtools-CI-site-suffix}</webtools-jeetools-site>
    <webtools-dali-site>${webtools-CI-site-prefix}dali${webtools-CI-site-suffix}</webtools-dali-site>
    <webtools-jsf-site>${webtools-CI-site-prefix}jsf${webtools-CI-site-suffix}</webtools-jsf-site> 
    <webtools-webservices-site>${webtools-CI-site-prefix}webservices${webtools-CI-site-suffix}</webtools-webservices-site>

    <!-- DEPRECATED: for use when building individual plugins or running integration tests which have cross-module deps      -->
    <!-- DEPRECATED: Can be overriden in CLI: mvn clean verify -Pbuild-individual-bundles -Dwebtools.buildSite=https://....   -->
    <!-- DEPRECATED: This /I-latest/ folder is ONLY used by the deprecated profiles build-individual-bundles and integration -->
    <!-- DEPRECATED: For first build of a new release 3.x, this should point to PREVIOUS release 3.x-1 or the integration test jobs will fail -->
    <webtools.buildSite>https://download.eclipse.org/webtools/downloads/drops/R3.28.0/R-3.28.0-20221120050827/</webtools.buildSite>
    <webtools.repository>${webtools.buildSite}/repository</webtools.repository>
    <webtools.testsRepository>${webtools.buildSite}/repositoryunittests</webtools.testsRepository>

    <!-- if you have integration tests, you can skip them using this -->
    <skipITests>true</skipITests>

  </properties>

  <repositories>
    <repository>
      <id>license-feature</id>
      <url>${license-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>platform</id>
      <url>${platform-repo.url}</url>
      <layout>p2</layout>
    </repository>
    
    <repository>
      <id>emf</id>
      <url>${emf-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>emf-transaction</id>
      <url>${emf-transaction-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>emf-validation</id>
      <url>${emf-validation-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>gef</id>
      <url>${gef-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>gef-legacy</id>
      <url>${gef-legacy-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>dtp</id>
      <url>${dtp-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>graphiti</id>
      <url>${graphiti-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>orbit</id>
      <url>${orbit-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>orbit-aggregation</id>
      <url>${orbit-aggregation.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>orbit-cvs-final</id>
      <url>https://download.eclipse.org/tools/orbit/downloads/drops/R20220302172233/repository</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>simrel-maven</id>
      <url>${simrel-maven.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>eclipselink</id>
      <url>${eclipselink-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>jetty</id>
      <url>${jetty-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>jgit</id>
      <url>${jgit-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>swtbot</id>
      <url>${swtbot-repo.url}</url>
      <layout>p2</layout>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>tycho</id>
      <url>${tycho-repo.url}</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
    <pluginRepository>
      <id>cbi-repo</id>
      <url>${cbi-repo.url}</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
    <pluginRepository>
      <id>tycho-snapshot</id>
      <url>${tycho-snapshot-repo.url}</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
    <!-- switch to use  ${cbi-repo.url}
    <pluginRepository>
      <id>cbi-snapshot-repo</id>
      <url>${cbi-snapshot-repo.url}</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </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>
  </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.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>3.0.0</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</groupId>
        <artifactId>target-platform-configuration</artifactId>
        <configuration>
          <environments>
            <environment>
              <os>linux</os>
              <ws>gtk</ws>
              <arch>x86_64</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>

      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-source-plugin</artifactId>
        <executions>
          <execution>
            <id>plugin-source</id>
            <goals>
              <goal>plugin-source</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>

    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>target-platform-configuration</artifactId>
          <version>${tycho.version}</version>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-compiler-plugin</artifactId>
          <version>${tycho.version}</version>
          <configuration>
            <compilerArgument>-warn:+discouraged,forbidden</compilerArgument>
            <!-- ignore project settings which appear in Eclipse but are ignored by Tycho <= 0.26, like API access restrictions -->
            <useProjectSettings>false</useProjectSettings>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-packaging-plugin</artifactId>
          <version>${tycho.version}</version>
          <dependencies>
            <dependency>
              <groupId>org.eclipse.tycho</groupId>
              <artifactId>tycho-buildtimestamp-jgit</artifactId>
              <version>${tycho.version}</version>
            </dependency>
            <dependency>
              <groupId>org.eclipse.tycho.extras</groupId>
              <artifactId>tycho-sourceref-jgit</artifactId>
              <version>${tycho-extras.version}</version>
            </dependency>
          </dependencies>
          <configuration>
            <strictBinIncludes>false</strictBinIncludes>
            <format>'v'yyyyMMddHHmm</format>
            <timestampProvider>jgit</timestampProvider>
            <jgit.ignore>
              pom.xml
            </jgit.ignore>

            <!--
                Valid options: error, warning, and ignore
                jgit.dirtyWorkingTree checking was added as of Tycho 0.19.0
                see: https://bugs.eclipse.org/419030
            -->
            <jgit.dirtyWorkingTree>ignore</jgit.dirtyWorkingTree>
            <sourceReferences>
              <generate>true</generate>
            </sourceReferences>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-surefire-plugin</artifactId>
          <version>${tycho.version}</version>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-source-plugin</artifactId>
          <version>${tycho.version}</version>
          <configuration>
            <strictSrcIncludes>false</strictSrcIncludes>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-p2-director-plugin</artifactId>
          <version>${tycho.version}</version>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-p2-repository-plugin</artifactId>
          <version>${tycho.version}</version>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-source-plugin</artifactId>
          <version>${tycho.version}</version>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-p2-plugin</artifactId>
          <version>${tycho.version}</version>
          <!-- not ready for this yet; causes dali to fail in hudson <executions>
            <execution>
              <id>attached-p2-metadata</id>
              <phase>package</phase>
              <goals>
                <goal>p2-metadata</goal>
              </goals>
            </execution>
          </executions> -->
          <configuration>
            <baselineMode>warn</baselineMode>
            <baselineReplace>all</baselineReplace>
            <baselineRepositories>
              <repository>
                <url>${comparator.repo}</url>
              </repository>
            </baselineRepositories>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho.extras</groupId>
          <artifactId>tycho-custom-bundle-plugin</artifactId>
          <version>${tycho-extras.version}</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <profiles>
    <profile>
      <id>macosx</id>
      <activation>
        <os>
          <family>mac</family>
        </os>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-surefire-plugin</artifactId>
            <version>${tycho.version}</version>
            <configuration>
              <argLine>-XstartOnFirstThread</argLine>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>

    <profile>
      <id>bree-libs</id>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.eclipse.tycho</groupId>
              <artifactId>target-platform-configuration</artifactId>
              <version>${tycho.version}</version>
              <configuration>
                <executionEnvironment>JavaSE-17</executionEnvironment>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.eclipse.tycho</groupId>
              <artifactId>tycho-compiler-plugin</artifactId>
              <version>${tycho.version}</version>
              <configuration>
                <!--
                  this tells Tycho to use JRE libraries that match bundle runtime execution environment
                  https://wiki.eclipse.org/Tycho/Release_Notes/0.14
                  TODO provide CBI-specific wiki that explains how to setup BREE libraries and toolchain.xml
                -->
                <useJDK>BREE</useJDK>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>eclipse-sign</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>target-platform-configuration</artifactId>
            <version>${tycho.version}</version>
          </plugin>
          <plugin>
            <groupId>org.eclipse.cbi.maven.plugins</groupId>
            <artifactId>eclipse-jarsigner-plugin</artifactId>
            <version>${cbi-plugins.version}</version>
            <executions>
              <execution>
                <id>sign</id>
                <goals>
                  <goal>sign</goal>
                </goals>
                <phase>verify</phase>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-p2-plugin</artifactId>
            <version>${tycho.version}</version>
            <executions>
              <execution>
                <id>p2-metadata</id>
                <goals>
                  <goal>p2-metadata</goal>
                </goals>
                <phase>verify</phase>
              </execution>
            </executions>
            <configuration>
              <defaultP2Metadata>false</defaultP2Metadata>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <!-- DEPRECATED: profile used to build an individual plugin or project, if it depends on another upstream or downstream wtp project (which has not already been built locally) -->
    <profile>
      <id>build-individual-bundles</id>
      <activation>
        <property>
          <name>skipITests</name>
          <value>false</value>
        </property>
      </activation>
      <repositories>
        <repository>
          <id>webtools-repo</id>
          <url>${webtools.repository}</url>
          <layout>p2</layout>
        </repository>
        <repository>
          <id>webtools-tests-repo</id>
          <url>${webtools.testsRepository}</url>
          <layout>p2</layout>
        </repository>
      </repositories>
    </profile>
    <!-- profile used to run integration tests, which might depend on plugins from another upstream or downstream wtp project
         can also be used as a replacement for -Pbuild-individual-bundles profile since it basically does the same thing
    -->
    <profile>
      <id>integration</id>
      <properties>
        <skipITests>false</skipITests>
      </properties>
      <repositories>
        <repository>
          <id>webtools-repo</id>
          <url>${webtools.repository}</url>
          <layout>p2</layout>
        </repository>
        <repository>
          <id>webtools-tests-repo</id>
          <url>${webtools.testsRepository}</url>
          <layout>p2</layout>
        </repository>
      </repositories>
    </profile>

    <profile>
      <id>CI</id>
      <repositories>
        <repository>
          <id>webtools-common-site</id>
          <layout>p2</layout>
          <url>${webtools-common-site}</url>
        </repository>
        <repository>
          <id>webtools-servertools-site</id>
          <layout>p2</layout>
          <url>${webtools-servertools-site}</url>
        </repository>
        <repository>
          <id>webtools-servertools-integration-site</id>
          <layout>p2</layout>
          <url>${webtools-servertools-integration-site}</url>
        </repository>
        <repository>
          <id>webtools-jsdt-site</id>
          <layout>p2</layout>
          <url>${webtools-jsdt-site}</url>
        </repository>
        <repository>
          <id>webtools-sourceediting-site</id>
          <layout>p2</layout>
          <url>${webtools-sourceediting-site}</url>
        </repository>

        <repository>
          <id>webtools-jeetools-site</id>
          <layout>p2</layout>
          <url>${webtools-jeetools-site}</url>
        </repository>
        <repository>
          <id>webtools-dali-site</id>
          <layout>p2</layout>
          <url>${webtools-dali-site}</url>
        </repository>
        <repository>
          <id>webtools-jsf-site</id>
          <layout>p2</layout>
          <url>${webtools-jsf-site}</url>
        </repository>
        <repository>
          <id>webtools-webservices-site</id>
          <layout>p2</layout>
          <url>${webtools-webservices-site}</url>
        </repository>
      </repositories>
    </profile>
  </profiles>

  <distributionManagement>
    <repository>
      <id>repo.eclipse.org</id>
      <name>Webtools Repository - Releases</name>
      <url>https://repo.eclipse.org/content/repositories/webtools-releases/</url>
    </repository>
    <snapshotRepository>
      <id>repo.eclipse.org</id>
      <name>Webtools Repository - Snapshots</name>
      <url>https://repo.eclipse.org/content/repositories/webtools-snapshots/</url>
    </snapshotRepository>
  </distributionManagement>
</project>

Back to the top