|
29 | 29 | for using plugins with older than they require Maven version.
|
30 | 30 | If version number changed in one place, be sure to change in the other.
|
31 | 31 | -->
|
| 32 | + <dependencies> |
| 33 | + <dependency> |
| 34 | + <!-- for JUnitTestRunnerInterceptor plugin --> |
| 35 | + <groupId>com.atlassian.clover</groupId> |
| 36 | + <artifactId>clover</artifactId> |
| 37 | + <version>4.1.2</version> |
| 38 | + <scope>test</scope> |
| 39 | + </dependency> |
| 40 | + </dependencies> |
32 | 41 | <prerequisites>
|
33 | 42 | <maven>3.9.0</maven>
|
34 | 43 | </prerequisites>
|
35 | 44 | <properties>
|
36 |
| - <!-- As of Tycho 0.22, skipTests takes priority, if maven.test.skip also specified, |
| 45 | + <!-- As of Tycho 0.22, skipTests takes priority, if maven.test.skip also specified, |
37 | 46 | with different value. See https://bugs.eclipse.org/442976.
|
38 | 47 | During production builds, we run with -DskipTests=true -->
|
39 | 48 | <skipTests>false</skipTests>
|
|
42 | 51 | <buildTimestamp>${maven.build.timestamp}</buildTimestamp>
|
43 | 52 | <buildType>I</buildType>
|
44 | 53 | <buildId>${buildType}${buildTimestamp}</buildId>
|
45 |
| - <!-- |
| 54 | + <!-- |
46 | 55 | releaseName should match the yearly "release train" name.
|
47 | 56 | For example, "Mars", "Mars.1", "Luna SR2", etc.
|
48 | 57 | It will show up in "about box",
|
49 | 58 | such as Version: Mars (4.5), for main features.
|
50 | 59 | See bug 328139.
|
51 | 60 | -->
|
52 | 61 | <releaseName>2024-03</releaseName>
|
53 |
| - <!-- |
| 62 | + <!-- |
54 | 63 | The releaseNumbers below, for SDK and Platform, might be
|
55 | 64 | thought of as the "marketing number" or "branding number",
|
56 | 65 | and in fact are used in the branding bundle of the corresponding products.
|
|
72 | 81 | <cbi-plugins.version>1.4.3</cbi-plugins.version>
|
73 | 82 | <surefire.version>3.2.2</surefire.version>
|
74 | 83 |
|
75 |
| - <!-- |
| 84 | + <!-- |
76 | 85 | The tycho-eclipserun-plugin will create its instance of Eclipse from this
|
77 | 86 | 'eclipiserun-repo' repository, such as for computing .api-descriptions and
|
78 | 87 | generating API Tools reports.
|
|
81 | 90 |
|
82 | 91 | <comparator.repo>https://download.eclipse.org/eclipse/updates/4.31-I-builds</comparator.repo>
|
83 | 92 |
|
84 |
| - <!-- only used when Tycho snapshot repo is enabled in <pluginRepositories> further down --> |
| 93 | + <!-- only used when Tycho snapshot repo is enabled in <pluginRepositories> further down --> |
85 | 94 | <tycho-snapshot-repo.url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</tycho-snapshot-repo.url>
|
86 | 95 |
|
87 | 96 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
88 | 97 | <cbi-jdt-repo.url>https://repo.eclipse.org/content/repositories/eclipse-staging/</cbi-jdt-repo.url>
|
89 | 98 | <cbi-ecj-version>3.36.0.v20231114-0937</cbi-ecj-version>
|
90 | 99 |
|
91 |
| - <!-- |
| 100 | + <!-- |
92 | 101 | Production bundles are produced by ignoring the compiler warnings specified
|
93 | 102 | by ${code.ignoredWarnings} (see further down).
|
94 | 103 | Good citizens don't override those default settings for their production bundles.
|
95 | 104 | -->
|
96 | 105 | <code.ignoredWarnings>-warn:-deprecation,unavoidableGenericProblems,warningToken</code.ignoredWarnings>
|
97 | 106 |
|
98 |
| - <!-- |
| 107 | + <!-- |
99 | 108 | Test bundles may override the list of ignored warnings by setting this at the top of their pom.xml:
|
100 | 109 | <properties>
|
101 | 110 | <code.ignoredWarnings>${tests.ignoredWarnings}</code.ignoredWarnings>
|
|
104 | 113 | -->
|
105 | 114 | <tests.ignoredWarnings>-warn:-deprecation,raw,unchecked,discouraged,warningToken</tests.ignoredWarnings>
|
106 | 115 |
|
107 |
| - <!-- |
| 116 | + <!-- |
108 | 117 | repo for released versions of CBI. Note, we intentionally use as specific a repo as possible.
|
109 | 118 | See bug 471835.
|
110 | 119 | -->
|
|
114 | 123 | <cbi-releases-repo.url>https://repo.eclipse.org/content/repositories/cbi-releases/</cbi-releases-repo.url>
|
115 | 124 |
|
116 | 125 |
|
117 |
| - <!-- |
| 126 | + <!-- |
118 | 127 | This eclipse-p2-repo.url is specifically for the build-individual-bundles profile.
|
119 | 128 | See that profile for longer comment.
|
120 | 129 | -->
|
121 | 130 | <eclipse-p2-repo.url>This_URL_set_in_build-individual-bundles_profile</eclipse-p2-repo.url>
|
122 | 131 |
|
123 |
| - <!-- |
| 132 | + <!-- |
124 | 133 | If configuration is not specified at all, in signing plugin, the default
|
125 | 134 | is 'false' (do not exclude inner jars, that is inner jars are signed).
|
126 | 135 | -->
|
127 | 136 | <defaultSigning-excludeInnerJars>false</defaultSigning-excludeInnerJars>
|
128 | 137 |
|
129 |
| - <!-- |
| 138 | + <!-- |
130 | 139 | Valid options: error, warning, and ignore
|
131 | 140 | jgit.dirtyWorkingTree checking was added as of Tycho 0.19.0
|
132 | 141 | see: https://bugs.eclipse.org/419030
|
133 | 142 | -->
|
134 | 143 | <jgit.dirtyWorkingTree-platformDefault>ignore</jgit.dirtyWorkingTree-platformDefault>
|
135 | 144 |
|
136 | 145 | <tycho.buildqualifier.format>'v'yyyyMMdd-HHmm</tycho.buildqualifier.format>
|
137 |
| - <!-- allows submodules to enable the inclusion of the pom descriptor in the final artifact --> |
| 146 | + <!-- allows submodules to enable the inclusion of the pom descriptor in the final artifact --> |
138 | 147 | <tycho.addMavenDescriptor>false</tycho.addMavenDescriptor>
|
139 |
| - <!-- allows submodules to enable the mapping of p2 artifacts to maven artifacts --> |
| 148 | + <!-- allows submodules to enable the mapping of p2 artifacts to maven artifacts --> |
140 | 149 | <tycho.mapP2Dependencies>false</tycho.mapP2Dependencies>
|
141 |
| - <!-- allows submodules to disable the usage of BREE for their builds --> |
| 150 | + <!-- allows submodules to disable the usage of BREE for their builds --> |
142 | 151 | <tycho.useJDK>BREE</tycho.useJDK>
|
143 | 152 |
|
144 | 153 | <compare-version-with-baselines.skip>true</compare-version-with-baselines.skip>
|
145 | 154 | <previous-release.baseline>https://download.eclipse.org/eclipse/updates/4.30/R-4.30-202312010110/</previous-release.baseline>
|
146 | 155 |
|
147 |
| - <!-- |
| 156 | + <!-- |
148 | 157 | Declaration of properties that contribute to the arg line for the tycho-surefire-plugin.
|
149 | 158 | The properties are declared empty by default and are overridden by automatic activation
|
150 | 159 | of the profiles 'macos' and 'jdk9-or-newer' or specific configuration in modules.
|
151 | 160 | -->
|
152 |
| - <!-- any additional surefire args; to be defined by a test-plugin --> |
| 161 | + <!-- any additional surefire args; to be defined by a test-plugin --> |
153 | 162 | <surefire.testArgLine></surefire.testArgLine>
|
154 |
| - <!-- platform/OS specific JVM args --> |
| 163 | + <!-- platform/OS specific JVM args --> |
155 | 164 | <surefire.platformSystemProperties></surefire.platformSystemProperties>
|
156 |
| - <!-- properties related to Java modules on Java 9+ --> |
| 165 | + <!-- properties related to Java modules on Java 9+ --> |
157 | 166 | <surefire.moduleProperties></surefire.moduleProperties>
|
158 |
| - <!-- system specific JVM args; if needed provided by system properties to the build command --> |
| 167 | + <!-- system specific JVM args; if needed provided by system properties to the build command --> |
159 | 168 | <surefire.systemProperties></surefire.systemProperties>
|
160 | 169 | <java.version>17</java.version>
|
161 | 170 | </properties>
|
|
184 | 193 | </distributionManagement>
|
185 | 194 | <pluginRepositories>
|
186 | 195 |
|
187 |
| - <!-- Released Tycho versions are available on maven central, which is now mirrored to Eclipse.org. |
| 196 | + <!-- Released Tycho versions are available on maven central, which is now mirrored to Eclipse.org. |
188 | 197 | The tycho-snapshot-repo is only needed when using snapshots. -->
|
189 | 198 | <pluginRepository>
|
190 | 199 | <id>tycho-snapshots</id>
|
|
247 | 256 | <groupId>org.eclipse.tycho</groupId>
|
248 | 257 | <artifactId>target-platform-configuration</artifactId>
|
249 | 258 | <configuration>
|
250 |
| - <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=453757 |
| 259 | + <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=453757 |
251 | 260 | <resolveWithExecutionEnvironmentConstraints>false</resolveWithExecutionEnvironmentConstraints>
|
252 | 261 | -->
|
253 | 262 | <target>
|
|
343 | 352 | </executions>
|
344 | 353 | </plugin>
|
345 | 354 | <plugin>
|
346 |
| - <!-- |
| 355 | + <!-- |
347 | 356 | This maven-enforcer-plugin configuration to actually break the build if
|
348 | 357 | run with older maven.
|
349 | 358 | prerequisites section is kept for now as even if it doesn't break the build, it
|
|
412 | 421 | <plugin>
|
413 | 422 | <groupId>org.eclipse.tycho.extras</groupId>
|
414 | 423 | <artifactId>tycho-eclipserun-plugin</artifactId>
|
415 |
| - <!-- this is actually present in any 0.14+ version --> |
| 424 | + <!-- this is actually present in any 0.14+ version --> |
416 | 425 | <version>${tycho.version}</version>
|
417 | 426 | <configuration>
|
418 | 427 | <executionEnvironment>JavaSE-17</executionEnvironment>
|
|
441 | 450 | <version>${surefire.version}</version>
|
442 | 451 | <configuration>
|
443 | 452 | <properties>
|
444 |
| - <!-- Attach Clover's test interceptor in order to |
| 453 | + <!-- Attach Clover's test interceptor in order to |
445 | 454 | record JUnit4 Parameterized tests -->
|
446 | 455 | <property>
|
447 | 456 | <name>listener</name>
|
|
481 | 490 | <args>-encoding</args>
|
482 | 491 | <args>${project.build.sourceEncoding}</args>
|
483 | 492 | <args>-proceedOnError</args>
|
484 |
| - <!-- Use this form, for Tycho 22 or less. |
| 493 | + <!-- Use this form, for Tycho 22 or less. |
485 | 494 | <args>-log</args>
|
486 | 495 | <args>${project.build.directory}/@dot.xml</args>
|
487 | 496 | -->
|
488 | 497 | </compilerArgs>
|
489 |
| - <!-- Use this form for Tycho 23 or greater --> |
| 498 | + <!-- Use this form for Tycho 23 or greater --> |
490 | 499 | <log>xml</log>
|
491 | 500 | <logDirectory>${project.build.directory}/compilelogs</logDirectory>
|
492 | 501 | <showWarnings>true</showWarnings>
|
|
699 | 708 | <head>Implementation Requirements:</head>
|
700 | 709 | </tag>
|
701 | 710 | </tags>
|
702 |
| - <!-- These are provided by PDE/Tycho by default but javadoc do not know that ... --> |
| 711 | + <!-- These are provided by PDE/Tycho by default but javadoc do not know that ... --> |
703 | 712 | <additionalDependencies>
|
704 | 713 | <additionalDependency>
|
705 | 714 | <groupId>org.osgi</groupId>
|
|
730 | 739 |
|
731 | 740 | <featureToPatch>org.eclipse.jdt</featureToPatch>
|
732 | 741 |
|
733 |
| - <!-- |
| 742 | + <!-- |
734 | 743 | For future versions, in addition to changing this value of "featureToPatchVersion",
|
735 | 744 | the same value needs to be edited in
|
736 | 745 | .../java21patch/org.eclipse.jdt.java21patch/feature.xml
|
|
743 | 752 | Also, when new patch created, should update the wiki at
|
744 | 753 | https://wiki.eclipse.org/Java21
|
745 | 754 | -->
|
746 |
| - <!-- This needs the version of the feature to be patched. --> |
| 755 | + <!-- This needs the version of the feature to be patched. --> |
747 | 756 | <featureToPatchVersion>3.19.200.v20230705-1800</featureToPatchVersion>
|
748 |
| - <!-- Can specify an exact range here, or something of a loose range, depending on what's needed. --> |
| 757 | + <!-- Can specify an exact range here, or something of a loose range, depending on what's needed. --> |
749 | 758 | <versionRangeForPatch>[3.19.200.v20230705-1800,3.19.249.v20231213-1800)</versionRangeForPatch>
|
750 |
| - <!-- Comment this line when a patch is required on top of I-build --> |
| 759 | + <!-- Comment this line when a patch is required on top of I-build --> |
751 | 760 | <comparator.repo>https://download.eclipse.org/eclipse/updates/4.30/R-4.30-202312010110/</comparator.repo>
|
752 | 761 | </properties>
|
753 | 762 | <repositories>
|
|
759 | 768 | </repositories>
|
760 | 769 | </profile>
|
761 | 770 | <profile>
|
762 |
| - <!-- This provile enables automatic version bumps when running the build --> |
| 771 | + <!-- This provile enables automatic version bumps when running the build --> |
763 | 772 | <id>vb</id>
|
764 | 773 | <properties>
|
765 | 774 | <compare-version-with-baselines.skip>false</compare-version-with-baselines.skip>
|
|
789 | 798 | <id>build-individual-bundles</id>
|
790 | 799 | <activation>
|
791 | 800 | <property>
|
792 |
| - <!-- Enable if aggregatorBuild system-property is not set --> |
| 801 | + <!-- Enable if aggregatorBuild system-property is not set --> |
793 | 802 | <name>!aggregatorBuild</name>
|
794 | 803 | </property>
|
795 | 804 | </activation>
|
796 | 805 | <properties>
|
797 |
| - <!-- |
| 806 | + <!-- |
798 | 807 | This eclipse-p2-repo.url is specifically for the build individual bundles profile and Gerrit jobs.
|
799 | 808 | Default is set to I-builds for main development cycle.
|
800 | 809 | For maintenance streams should always be "M-builds".
|
|
829 | 838 | </executions>
|
830 | 839 | <configuration>
|
831 | 840 | <excludeInnerJars>${defaultSigning-excludeInnerJars}</excludeInnerJars>
|
832 |
| - <!-- |
| 841 | + <!-- |
833 | 842 | The default timeout is 0 seconds which means "wait forever": https://www.eclipse.org/cbi/sitedocs/eclipse-jarsigner-plugin/sign-mojo.html#timeoutMillis
|
834 | 843 | We don't want to wait until the build finally aborts, so, setting a timeout (see bug 507369).
|
835 | 844 | Increasing timeout from 60000 to 120000 (see bug 544823).
|
|
867 | 876 | <artifactId>tycho-compiler-plugin</artifactId>
|
868 | 877 | <version>${tycho.version}</version>
|
869 | 878 | <configuration>
|
870 |
| - <!-- |
| 879 | + <!-- |
871 | 880 | this tells Tycho to use JRE libraries that match bundle runtime execution environment see:
|
872 | 881 | https://tycho.eclipseprojects.io/doc/latest/tycho-compiler-plugin/compile-mojo.html#useJDK
|
873 | 882 | -->
|
|
985 | 994 | <profile>
|
986 | 995 | <id>coverage</id>
|
987 | 996 | <properties>
|
988 |
| - <!-- Since we append output of various tests, write to a common folder besides tests --> |
989 |
| - <!-- it's recommended to override that to an absolute value in specific Hudson configurations |
| 997 | + <!-- Since we append output of various tests, write to a common folder besides tests --> |
| 998 | + <!-- it's recommended to override that to an absolute value in specific Hudson configurations |
990 | 999 | and Sonar integration -->
|
991 | 1000 | <jacoco.destFile>${project.basedir}/../target/jacoco.exec</jacoco.destFile>
|
992 | 1001 | <sonar.jacoco.reportPath>${jacoco.destFile}</sonar.jacoco.reportPath>
|
|
1053 | 1062 | <artifactId>maven-pmd-plugin</artifactId>
|
1054 | 1063 | <version>3.21.2</version>
|
1055 | 1064 | <configuration>
|
1056 |
| - <!-- PMD options --> |
| 1065 | + <!-- PMD options --> |
1057 | 1066 | <targetJDK>${java.version}</targetJDK>
|
1058 | 1067 | <aggregate>true</aggregate>
|
1059 | 1068 | <failOnViolation>false</failOnViolation>
|
1060 | 1069 | <format>xml</format>
|
1061 | 1070 | <rulesets><ruleset>pmd/eclipse_ruleset.xml</ruleset></rulesets>
|
1062 |
| - <!-- CPD options --> |
| 1071 | + <!-- CPD options --> |
1063 | 1072 | <minimumTokens>100</minimumTokens>
|
1064 | 1073 | <ignoreIdentifiers>true</ignoreIdentifiers>
|
1065 | 1074 | </configuration>
|
|
0 commit comments