forked from eclipse-xtext/xtext
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
861 lines (836 loc) · 26.6 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
<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.eclipse.xtext</groupId>
<artifactId>xtext-parent</artifactId>
<version>2.38.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Xtext Parent POM</name>
<description>Xtext is a framework for development of programming languages and domain-specific languages. With Xtext you define your language using a powerful grammar language. As a result you get a full infrastructure, including parser, linker, typechecker, compiler as well as editing support for Eclipse, LSP and your favorite web browser.</description>
<url>https://www.eclipse.org/Xtext/</url>
<licenses>
<license>
<name>Eclipse Public License, Version 2.0</name>
<url>http://www.eclipse.org/legal/epl-2.0</url>
</license>
</licenses>
<developers>
<developer>
<name>Sven Efftinge</name>
<email>[email protected]</email>
<organization>TypeFox</organization>
<organizationUrl>http://typefox.io</organizationUrl>
</developer>
<developer>
<name>Sebastian Benz</name>
</developer>
<developer>
<name>Lorenzo Bettini</name>
<email>[email protected]</email>
<organization>DISIA, University Firenze</organization>
</developer>
<developer>
<name>Michael Clay</name>
</developer>
<developer>
<name>Arne Deutsch</name>
<email>[email protected]</email>
<organization>itemis</organization>
<organizationUrl>http://www.itemis.com</organizationUrl>
</developer>
<developer>
<name>Christian Dietrich</name>
<email>[email protected]</email>
<organization>everest systems</organization>
</developer>
<developer>
<name>Moritz Eysholdt</name>
<email>[email protected]</email>
<organization>TypeFox</organization>
<organizationUrl>http://typefox.io</organizationUrl>
</developer>
<developer>
<name>Dennis Hübner</name>
<email>[email protected]</email>
<organization>TypeFox</organization>
<organizationUrl>http://typefox.io</organizationUrl>
</developer>
<developer>
<name>Jan Köhnlein</name>
<email>[email protected]</email>
<organization>TypeFox</organization>
<organizationUrl>http://typefox.io</organizationUrl>
</developer>
<developer>
<name>Anton Kosyakov</name>
<email>[email protected]</email>
<organization>TypeFox</organization>
<organizationUrl>http://typefox.io</organizationUrl>
</developer>
<developer>
<name>Tamas Miklossy</name>
<email>[email protected]</email>
<organization>itemis</organization>
<organizationUrl>http://www.itemis.com</organizationUrl>
</developer>
<developer>
<name>Stefan Oehme</name>
</developer>
<developer>
<name>Holger Schill</name>
<email>[email protected]</email>
<organization>itemis</organization>
<organizationUrl>http://www.itemis.com</organizationUrl>
</developer>
<developer>
<name>Christian Schneider</name>
<email>[email protected]</email>
<organization>TypeFox</organization>
<organizationUrl>http://typefox.io</organizationUrl>
</developer>
<developer>
<name>Miro Spönemann</name>
<email>[email protected]</email>
<organization>TypeFox</organization>
<organizationUrl>http://typefox.io</organizationUrl>
</developer>
<developer>
<name>Karsten Thoms</name>
<email>[email protected]</email>
<organization>itemis</organization>
<organizationUrl>http://www.itemis.com</organizationUrl>
</developer>
<developer>
<name>Knut Wannheden</name>
</developer>
<developer>
<name>Sebastian Zarnekow</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Titouan Vervack</name>
<email>[email protected]</email>
<organization>Sigasi</organization>
<organizationUrl>https://www.sigasi.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/eclipse-xtext/xtext.git</connection>
<developerConnection>scm:git:https://github.com/eclipse-xtext/xtext.git</developerConnection>
<url>[email protected]:eclipse-xtext/xtext.git</url>
</scm>
<properties>
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
<tycho-version>4.0.11</tycho-version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<build-helper-maven-plugin-version>3.3.0</build-helper-maven-plugin-version>
<maven-surefire-version>3.0.0</maven-surefire-version>
<!--
This assumes that the child project has the same version as the parent.
This is not the case only for some special cases like org.eclipse.xtext.logging
and org.eclipse.emf.mwe2.language.sdk.dummy: in those projects we can redefine
this property with ${project.parent.version}.
-->
<xtext-dev-bom-version>${project.version}</xtext-dev-bom-version>
<!--
This is the version of the currently released latest version of the xtend-maven-plugin that we
use during the Maven builds for processing Xtend files.
-->
<xtend-maven-plugin-version>2.38.0.M2</xtend-maven-plugin-version>
<root-dir>${basedir}/..</root-dir>
<target-platform-classifier>xtext-latest</target-platform-classifier>
<!-- timestamp format for replacing qualifier in OSGI MANIFEST/feature -->
<timestamp-pattern>'v'yyyyMMdd-HHmm</timestamp-pattern>
<!-- This is used to generate the Maven-version entry in
the packaged MANIFEST.MF of org.eclipse.xtext.util to
retrieve at run-time the current Xtext version -->
<mavenVersionManifestEntry>${project.version}</mavenVersionManifestEntry>
<tycho.scmUrl>scm:git:https://github.com/eclipse-xtext/xtext.git</tycho.scmUrl>
<!-- Required properties for releasing -->
<ssh-uri>[email protected]</ssh-uri>
<remote-dir>/home/data/httpd/download.eclipse.org/modeling/tmf/xtext</remote-dir>
<!-- this can be set in profiles with, e.g., releases, milestones, nightly, etc. -->
<remote-subdir>updates/nightly</remote-subdir>
<remote-zip-subdir>downloads/drops</remote-zip-subdir>
<!-- IMPORTANT: don't forget the final / required to make rsync work -->
<rsync-remote-source>${ssh-uri}:${remote-dir}/${remote-subdir}/</rsync-remote-source>
<rsync-remote-zip-source>${ssh-uri}:${remote-dir}/${remote-zip-subdir}/</rsync-remote-zip-source>
<rsync-local-source>${project.build.directory}/checkout/</rsync-local-source>
<rsync-local-zip-source>${project.build.directory}/zip/</rsync-local-zip-source>
<releases-directory>${rsync-local-source}</releases-directory>
<current-release-subdirectory>${qualifiedVersion}</current-release-subdirectory>
<current-release-directory>${releases-directory}/${current-release-subdirectory}</current-release-directory>
<releases-zip-directory>${rsync-local-zip-source}</releases-zip-directory>
<current-release-zip-subdirectory>${qualifiedVersion}</current-release-zip-subdirectory>
<current-release-zip-directory>${releases-zip-directory}/${current-release-zip-subdirectory}</current-release-zip-directory>
<!-- This can be used, for example, to pass the "-n" for dry run -->
<additional-rsync-commit-args></additional-rsync-commit-args>
<site.label>TMF Xtext Update Site</site.label>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>xtext-dev-bom</artifactId>
<version>${xtext-dev-bom-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
<!-- Sonatype snapshots are the default for Xtext dependencies
of other Git repositories. Sonatype snapshots are disabled
when using the "useJenkinsSnapshots" profile. -->
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<profiles>
<profile>
<!-- This is used only for updating versions in children projects
versions:set will scan automatically also these modules
even if this profile is not active.
Don't run a build with this profile explicitly -->
<id>update-versions</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>org.eclipse.xtext.full.releng</module>
</modules>
</profile>
<profile>
<!-- Activate it when performing a milestone release, so that
Tycho won't complain about different versions in OSGI and POM -->
<id>release-milestone</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<configuration>
<strictVersions>false</strictVersions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Activate it when performing a final release, so that
Tycho won't complain about different versions in OSGI and POM -->
<id>release-release</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<configuration>
<strictVersions>false</strictVersions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>replace-qualifier-with-timestamp</id>
<build>
<plugins>
<!-- meant to be called explicitly via the goal syntax:
build-helper:timestamp-property@timestamp -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>timestamp</id>
<goals>
<goal>timestamp-property</goal>
</goals>
<phase>none</phase>
<configuration>
<name>computedTimestamp</name>
<pattern>${timestamp-pattern}</pattern>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>useJenkinsSnapshots</id>
<repositories>
<repository>
<id>lsp4j-from-jenkins</id>
<url>https://ci.eclipse.org/xtext/job/lsp4j/lastStableBuild/artifact/build/maven-repository</url>
</repository>
<!-- Disable sonatype snapshots -->
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
<profile>
<id>eclipse-sign</id>
<properties>
<!-- don't run tests while signing, to avoid failures of the shape:
"signer information does not match signer information of other classes in the same package" -->
<skipTests>true</skipTests>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<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>
<pluginRepositories>
<pluginRepository>
<id>cbi-release</id>
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>sonatype-oss-release</id>
<properties>
<skipTests>true</skipTests>
</properties>
<build>
<plugins>
<!--
For the moment we do without
see https://github.com/xtext/xtext-monorepo/issues/14
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>javadoc</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>strict-jdk-17</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<!-- Toolchain selected by maven/tycho-compiler for compilation and maven/tycho-surefire as JRE of launched test-runtimes-->
<version>17</version>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>strict-jdk-21</id>
<!--
Here we don't use the toolchain relying on the effective Java version used for the build
-->
<properties>
<!--
Since the Xtend compiler generates Java code using new API introduced in Java 21,
so we must increase the release level or the Java compilation would not find the
new API when it compiles the Java code generated by Xtend.
see https://github.com/eclipse-xtext/xtext/issues/2686#issuecomment-2038175179
-->
<maven.compiler.release>21</maven.compiler.release>
<!--
Force generatation of Java 21 bytecode
-->
<maven.compiler.target>21</maven.compiler.target>
</properties>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<?m2e ignore?>
<id>enforce-maven-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.9.6</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin-version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.14.2</version>
</plugin>
<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>
<useProjectSettings>true</useProjectSettings>
<excludeResources>
<excludeResource>**/*.xtend</excludeResource>
<excludeResource>**/*.xtendbin</excludeResource>
<excludeResource>**/*._trace</excludeResource>
</excludeResources>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<!--
This will let Tycho execute tests in "eclipse-plugin" projects
as JUnit tests (NOT as plug-in tests).
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-version}</version>
<!--
This is needed due to changes in Tycho 4.0.0
see https://github.com/eclipse-tycho/tycho/blob/master/RELEASE_NOTES.md#using-integrationplugin-tests-with-eclipse-plugin-packaging
-->
<executions>
<execution>
<id>execute-unit-tests</id>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<!--
The Surefire Plugin excludes nested classes by default: http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#excludes
By removing all default exclusions the nested classes get executed too, JUnit 4 and JUnit 5.
-->
<excludes>
<exclude />
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}/target</directory>
</fileset>
<fileset>
<directory>${project.basedir}/xtend-gen</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>.gitignore</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<!-- extensions is crucial to avoid classloading problems
and API incompatibility when running in a Tycho build.
see https://github.com/eclipse-xtext/xtext/issues/2914 -->
<extensions>true</extensions>
<version>5.1.9</version>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>${xtend-maven-plugin-version}</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>xtend-install-debug-info</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>${basedir}/xtend-gen</outputDirectory>
</configuration>
</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-p2-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<!--
The Tycho Surefire Plugin excludes nested classes by default: https://tycho.eclipseprojects.io/doc/latest/tycho-surefire-plugin/test-mojo.html#excludes
By removing all default exclusions the nested classes get executed too, JUnit 4 and JUnit 5.
-->
<excludes>
<exclude />
</excludes>
<failIfNoTests>true</failIfNoTests>
<systemProperties>
<!-- https://github.com/eclipse-xtext/xtext/issues/3057 -->
<DetectVMInstallationsJob.disabled>true</DetectVMInstallationsJob.disabled>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-eclipserun-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>1.3.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<!-- MJAVADOC-620 – Maven Javadoc Plugin fails to resolve the dependencies
when used with Java 11 -->
<version>3.5.0</version>
<configuration>
<detectOfflineLinks>false</detectOfflineLinks>
<detectJavaApiLink>false</detectJavaApiLink>
<source>8</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<failOnError>false</failOnError>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
</plugin>
</plugins>
</pluginManagement>
<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-enforcer-plugin</artifactId>
</plugin>
<plugin>
<!-- Explicitly bind it to "prepare-package" (instead of the default "package")
and before tycho-source-plugin: for pure Maven projects this will generate
the JAR with sources, while tycho-source-plugin will no nothing; for
bundles, tycho-source-plugin will overwrite the JAR with sources generated
by maven-source-plugin. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
<phase>prepare-package</phase>
</execution>
</executions>
</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>
<execution>
<id>feature-source</id>
<goals>
<goal>feature-source</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!--
Required if the generated source-feature is used in an update-site or another feature.
It must be after tycho-source-plugin
-->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<executions>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<target>
<file>
${project.basedir}/../${target-platform-classifier}.target
</file>
</target>
<environments>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>aarch64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<dependencies>
<!-- Use jgit to resolve source references for git: type SCM -->
<dependency>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-sourceref-jgit</artifactId>
<version>${tycho-version}</version>
</dependency>
</dependencies>
<configuration>
<format>${timestamp-pattern}</format>
<!-- required to have valid consumable Maven artifacts
https://github.com/eclipse/tycho/issues/781 -->
<skipPomGeneration>true</skipPomGeneration>
<sourceReferences>
<!-- Generate the source reference in the MANIFEST.MF -->
<generate>true</generate>
</sourceReferences>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh-s01</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>