Skip to content

Commit 73b2aa7

Browse files
[MENFORCER-485] Upgrade Parent to 40
- upgrade parent - use versions from parent in IT
1 parent 3300c1a commit 73b2aa7

File tree

9 files changed

+63
-68
lines changed
  • maven-enforcer-plugin/src/it/projects
    • MENFORCER-306/parent
    • require-plugin-versions-expressions
    • require-plugin-versions-expressions2
    • require-plugin-versions-mm-ci-friendly
    • require-plugin-versions-plugin-with-integration-test-lifecycle
    • require-plugin-versions-projectGAVexpressions
    • require-same-versions_with-dependencies-failure

9 files changed

+63
-68
lines changed

maven-enforcer-plugin/src/it/projects/MENFORCER-306/parent/pom.xml

+10-10
Original file line numberDiff line numberDiff line change
@@ -55,52 +55,52 @@ under the License.
5555
<plugin>
5656
<groupId>org.apache.maven.plugins</groupId>
5757
<artifactId>maven-clean-plugin</artifactId>
58-
<version>3.1.0</version>
58+
<version>@version.maven-clean-plugin@</version>
5959
</plugin>
6060
<plugin>
6161
<groupId>org.apache.maven.plugins</groupId>
6262
<artifactId>maven-install-plugin</artifactId>
63-
<version>2.5.2</version>
63+
<version>@version.maven-install-plugin@</version>
6464
</plugin>
6565
<plugin>
6666
<groupId>org.apache.maven.plugins</groupId>
6767
<artifactId>maven-site-plugin</artifactId>
68-
<version>3.7.1</version>
68+
<version>@version.maven-site-plugin@</version>
6969
</plugin>
7070
<plugin>
7171
<groupId>org.apache.maven.plugins</groupId>
7272
<artifactId>maven-deploy-plugin</artifactId>
73-
<version>2.8.2</version>
73+
<version>@version.maven-deploy-plugin@</version>
7474
</plugin>
7575
<plugin>
7676
<groupId>org.apache.maven.plugins</groupId>
7777
<artifactId>maven-compiler-plugin</artifactId>
78-
<version>3.7.0</version>
78+
<version>@version.maven-compiler-plugin@</version>
7979
</plugin>
8080
<plugin>
8181
<groupId>org.apache.maven.plugins</groupId>
8282
<artifactId>maven-plugin-plugin</artifactId>
83-
<version>3.5.2</version>
83+
<version>@version.maven-plugin-tools@</version>
8484
</plugin>
8585
<plugin>
8686
<groupId>org.apache.maven.plugins</groupId>
8787
<artifactId>maven-surefire-plugin</artifactId>
88-
<version>2.21.0</version>
88+
<version>@version.maven-surefire@</version>
8989
</plugin>
9090
<plugin>
9191
<groupId>org.apache.maven.plugins</groupId>
9292
<artifactId>maven-jar-plugin</artifactId>
93-
<version>3.1.0</version>
93+
<version>@version.maven-jar-plugin@</version>
9494
</plugin>
9595
<plugin>
9696
<groupId>org.apache.maven.plugins</groupId>
9797
<artifactId>maven-resources-plugin</artifactId>
98-
<version>3.1.0</version>
98+
<version>@version.maven-resources-plugin@</version>
9999
</plugin>
100100
<plugin>
101101
<groupId>org.apache.maven.plugins</groupId>
102102
<artifactId>maven-wrapper-plugin</artifactId>
103-
<version>3.0.1</version>
103+
<version>@version.maven-wrapper-plugin@</version>
104104
</plugin>
105105
</plugins>
106106
</pluginManagement>

maven-enforcer-plugin/src/it/projects/require-plugin-versions-expressions/pom.xml

+9-9
Original file line numberDiff line numberDiff line change
@@ -36,47 +36,47 @@
3636
<plugin>
3737
<groupId>org.apache.maven.plugins</groupId>
3838
<artifactId>maven-clean-plugin</artifactId>
39-
<version>2.5</version>
39+
<version>@version.maven-clean-plugin@</version>
4040
</plugin>
4141
<plugin>
4242
<groupId>org.apache.maven.plugins</groupId>
4343
<artifactId>maven-resources-plugin</artifactId>
44-
<version>2.6</version>
44+
<version>@version.maven-resources-plugin@</version>
4545
</plugin>
4646
<plugin>
4747
<groupId>org.apache.maven.plugins</groupId>
4848
<artifactId>maven-compiler-plugin</artifactId>
49-
<version>2.5.1</version>
49+
<version>@version.maven-compiler-plugin@</version>
5050
</plugin>
5151
<plugin>
5252
<groupId>org.apache.maven.plugins</groupId>
5353
<artifactId>maven-surefire-plugin</artifactId>
54-
<version>2.12.4</version>
54+
<version>@version.maven-surefire@</version>
5555
</plugin>
5656
<plugin>
5757
<groupId>org.apache.maven.plugins</groupId>
5858
<artifactId>maven-jar-plugin</artifactId>
59-
<version>2.4</version>
59+
<version>@version.maven-jar-plugin@</version>
6060
</plugin>
6161
<plugin>
6262
<groupId>org.apache.maven.plugins</groupId>
6363
<artifactId>maven-install-plugin</artifactId>
64-
<version>2.4</version>
64+
<version>@version.maven-install-plugin@</version>
6565
</plugin>
6666
<plugin>
6767
<groupId>org.apache.maven.plugins</groupId>
6868
<artifactId>maven-deploy-plugin</artifactId>
69-
<version>2.7</version>
69+
<version>@version.maven-deploy-plugin@</version>
7070
</plugin>
7171
<plugin>
7272
<groupId>org.apache.maven.plugins</groupId>
7373
<artifactId>maven-site-plugin</artifactId>
74-
<version>3.2</version>
74+
<version>@version.maven-site-plugin@</version>
7575
</plugin>
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-wrapper-plugin</artifactId>
79-
<version>3.0.1</version>
79+
<version>@version.maven-wrapper-plugin@</version>
8080
</plugin>
8181
<plugin>
8282
<groupId>${expressionplugin.groupId}</groupId>

maven-enforcer-plugin/src/it/projects/require-plugin-versions-expressions2/module1/pom.xml

+5-8
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
<properties>
3636
<maven.compiler.source>1.8</maven.compiler.source>
3737
<maven.compiler.target>1.8</maven.compiler.target>
38-
<checkstyle.plugin.version>3.1.1</checkstyle.plugin.version>
39-
<pmd.plugin.version>3.13.0</pmd.plugin.version>
40-
<surefire.version>3.0.0-M4</surefire.version>
4138
</properties>
4239

4340
<build>
@@ -46,27 +43,27 @@
4643
<plugin>
4744
<groupId>org.apache.maven.plugins</groupId>
4845
<artifactId>maven-antrun-plugin</artifactId>
49-
<version>${maven.antrun.plugin.version}</version>
46+
<version>@version.maven-antrun-plugin@</version>
5047
</plugin>
5148
<plugin>
5249
<groupId>org.apache.maven.plugins</groupId>
5350
<artifactId>maven-checkstyle-plugin</artifactId>
54-
<version>${checkstyle.plugin.version}</version>
51+
<version>@version.maven-checkstyle-plugin@</version>
5552
</plugin>
5653
<plugin>
5754
<groupId>org.apache.maven.plugins</groupId>
5855
<artifactId>maven-failsafe-plugin</artifactId>
59-
<version>${surefire.version}</version>
56+
<version>@version.maven-surefire@</version>
6057
</plugin>
6158
<plugin>
6259
<groupId>org.apache.maven.plugins</groupId>
6360
<artifactId>maven-pmd-plugin</artifactId>
64-
<version>${pmd.plugin.version}</version>
61+
<version>@version.maven-pmd-plugin@</version>
6562
</plugin>
6663
<plugin>
6764
<groupId>org.apache.maven.plugins</groupId>
6865
<artifactId>maven-surefire-plugin</artifactId>
69-
<version>${surefire.version}</version>
66+
<version>@version.maven-surefire@</version>
7067
</plugin>
7168
</plugins>
7269
</pluginManagement>

maven-enforcer-plugin/src/it/projects/require-plugin-versions-expressions2/pom.xml

+11-12
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
<properties>
3838
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3939
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
40-
<maven.antrun.plugin.version>3.0.0</maven.antrun.plugin.version>
4140
</properties>
4241

4342
<build>
@@ -46,57 +45,57 @@
4645
<plugin>
4746
<groupId>org.apache.maven.plugins</groupId>
4847
<artifactId>maven-clean-plugin</artifactId>
49-
<version>3.1.0</version>
48+
<version>@version.maven-clean-plugin@</version>
5049
</plugin>
5150
<plugin>
5251
<groupId>org.apache.maven.plugins</groupId>
5352
<artifactId>maven-compiler-plugin</artifactId>
54-
<version>3.8.1</version>
53+
<version>@version.maven-compiler-plugin@</version>
5554
</plugin>
5655
<plugin>
5756
<groupId>org.apache.maven.plugins</groupId>
5857
<artifactId>maven-dependency-plugin</artifactId>
59-
<version>3.1.2</version>
58+
<version>@version.maven-dependency-plugin@</version>
6059
</plugin>
6160
<plugin>
6261
<groupId>org.apache.maven.plugins</groupId>
6362
<artifactId>maven-deploy-plugin</artifactId>
64-
<version>3.0.0-M1</version>
63+
<version>@version.maven-deploy-plugin@</version>
6564
</plugin>
6665
<plugin>
6766
<groupId>org.apache.maven.plugins</groupId>
6867
<artifactId>maven-enforcer-plugin</artifactId>
69-
<version>3.0.0-M3</version>
68+
<version>@project.version@</version>
7069
</plugin>
7170
<plugin>
7271
<groupId>org.apache.maven.plugins</groupId>
7372
<artifactId>maven-install-plugin</artifactId>
74-
<version>3.0.0-M1</version>
73+
<version>@version.maven-install-plugin@</version>
7574
</plugin>
7675
<plugin>
7776
<groupId>org.apache.maven.plugins</groupId>
7877
<artifactId>maven-jar-plugin</artifactId>
79-
<version>3.2.0</version>
78+
<version>@version.maven-jar-plugin@</version>
8079
</plugin>
8180
<plugin>
8281
<groupId>org.apache.maven.plugins</groupId>
8382
<artifactId>maven-project-info-reports-plugin</artifactId>
84-
<version>3.1.0</version>
83+
<version>@version.maven-project-info-reports-plugin@</version>
8584
</plugin>
8685
<plugin>
8786
<groupId>org.apache.maven.plugins</groupId>
8887
<artifactId>maven-release-plugin</artifactId>
89-
<version>3.0.0-M1</version>
88+
<version>@version.maven-release-plugin@</version>
9089
</plugin>
9190
<plugin>
9291
<groupId>org.apache.maven.plugins</groupId>
9392
<artifactId>maven-site-plugin</artifactId>
94-
<version>3.9.1</version>
93+
<version>@version.maven-site-plugin@</version>
9594
</plugin>
9695
<plugin>
9796
<groupId>org.apache.maven.plugins</groupId>
9897
<artifactId>maven-wrapper-plugin</artifactId>
99-
<version>3.0.1</version>
98+
<version>@version.maven-wrapper-plugin@</version>
10099
</plugin>
101100
</plugins>
102101
</pluginManagement>

maven-enforcer-plugin/src/it/projects/require-plugin-versions-mm-ci-friendly/pom.xml

+9-9
Original file line numberDiff line numberDiff line change
@@ -40,47 +40,47 @@ under the License.
4040
<plugin>
4141
<groupId>org.apache.maven.plugins</groupId>
4242
<artifactId>maven-clean-plugin</artifactId>
43-
<version>2.5</version>
43+
<version>@version.maven-clean-plugin@</version>
4444
</plugin>
4545
<plugin>
4646
<groupId>org.apache.maven.plugins</groupId>
4747
<artifactId>maven-resources-plugin</artifactId>
48-
<version>2.6</version>
48+
<version>@version.maven-resources-plugin@</version>
4949
</plugin>
5050
<plugin>
5151
<groupId>org.apache.maven.plugins</groupId>
5252
<artifactId>maven-compiler-plugin</artifactId>
53-
<version>2.5.1</version>
53+
<version>@version.maven-compiler-plugin@</version>
5454
</plugin>
5555
<plugin>
5656
<groupId>org.apache.maven.plugins</groupId>
5757
<artifactId>maven-surefire-plugin</artifactId>
58-
<version>2.12.4</version>
58+
<version>@version.maven-surefire@</version>
5959
</plugin>
6060
<plugin>
6161
<groupId>org.apache.maven.plugins</groupId>
6262
<artifactId>maven-jar-plugin</artifactId>
63-
<version>2.4</version>
63+
<version>@version.maven-jar-plugin@</version>
6464
</plugin>
6565
<plugin>
6666
<groupId>org.apache.maven.plugins</groupId>
6767
<artifactId>maven-install-plugin</artifactId>
68-
<version>2.4</version>
68+
<version>@version.maven-install-plugin@</version>
6969
</plugin>
7070
<plugin>
7171
<groupId>org.apache.maven.plugins</groupId>
7272
<artifactId>maven-deploy-plugin</artifactId>
73-
<version>2.7</version>
73+
<version>@version.maven-deploy-plugin@</version>
7474
</plugin>
7575
<plugin>
7676
<groupId>org.apache.maven.plugins</groupId>
7777
<artifactId>maven-site-plugin</artifactId>
78-
<version>3.2</version>
78+
<version>@version.maven-site-plugin@</version>
7979
</plugin>
8080
<plugin>
8181
<groupId>org.apache.maven.plugins</groupId>
8282
<artifactId>maven-wrapper-plugin</artifactId>
83-
<version>3.0.1</version>
83+
<version>@version.maven-wrapper-plugin@</version>
8484
</plugin>
8585
<plugin>
8686
<groupId>org.apache.maven.plugins</groupId>

maven-enforcer-plugin/src/it/projects/require-plugin-versions-plugin-with-integration-test-lifecycle/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
</plugin>
8989
<plugin>
9090
<artifactId>maven-resources-plugin</artifactId>
91-
<version>2.4.3</version>
91+
<version>@version.maven-resources-plugin@</version>
9292
</plugin>
9393
</plugins>
9494
</build>

maven-enforcer-plugin/src/it/projects/require-plugin-versions-projectGAVexpressions/pom.xml

+9-9
Original file line numberDiff line numberDiff line change
@@ -36,47 +36,47 @@
3636
<plugin>
3737
<groupId>org.apache.maven.plugins</groupId>
3838
<artifactId>maven-clean-plugin</artifactId>
39-
<version>2.5</version>
39+
<version>@version.maven-clean-plugin@</version>
4040
</plugin>
4141
<plugin>
4242
<groupId>org.apache.maven.plugins</groupId>
4343
<artifactId>maven-resources-plugin</artifactId>
44-
<version>2.6</version>
44+
<version>@version.maven-resources-plugin@</version>
4545
</plugin>
4646
<plugin>
4747
<groupId>org.apache.maven.plugins</groupId>
4848
<artifactId>maven-compiler-plugin</artifactId>
49-
<version>2.5.1</version>
49+
<version>@version.maven-compiler-plugin@</version>
5050
</plugin>
5151
<plugin>
5252
<groupId>org.apache.maven.plugins</groupId>
5353
<artifactId>maven-surefire-plugin</artifactId>
54-
<version>2.12.4</version>
54+
<version>@version.maven-surefire@</version>
5555
</plugin>
5656
<plugin>
5757
<groupId>org.apache.maven.plugins</groupId>
5858
<artifactId>maven-jar-plugin</artifactId>
59-
<version>2.4</version>
59+
<version>@version.maven-jar-plugin@</version>
6060
</plugin>
6161
<plugin>
6262
<groupId>org.apache.maven.plugins</groupId>
6363
<artifactId>maven-install-plugin</artifactId>
64-
<version>2.4</version>
64+
<version>@version.maven-install-plugin@</version>
6565
</plugin>
6666
<plugin>
6767
<groupId>org.apache.maven.plugins</groupId>
6868
<artifactId>maven-deploy-plugin</artifactId>
69-
<version>2.7</version>
69+
<version>@version.maven-deploy-plugin@</version>
7070
</plugin>
7171
<plugin>
7272
<groupId>org.apache.maven.plugins</groupId>
7373
<artifactId>maven-site-plugin</artifactId>
74-
<version>3.2</version>
74+
<version>@version.maven-site-plugin@</version>
7575
</plugin>
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-wrapper-plugin</artifactId>
79-
<version>3.0.1</version>
79+
<version>@version.maven-wrapper-plugin@</version>
8080
</plugin>
8181
</plugins>
8282
</pluginManagement>

maven-enforcer-plugin/src/it/projects/require-same-versions_with-dependencies-failure/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
<plugin>
5555
<groupId>org.apache.maven.plugins</groupId>
5656
<artifactId>maven-surefire-plugin</artifactId>
57-
<version>2.14</version>
57+
<version>@version.maven-surefire@</version>
5858
</plugin>
5959
<plugin>
6060
<groupId>org.apache.maven.plugins</groupId>
6161
<artifactId>maven-failsafe-plugin</artifactId>
62-
<version>2.14</version>
62+
<version>@version.maven-surefire@</version>
6363
</plugin>
6464
</plugins>
6565
</build>
@@ -82,7 +82,7 @@
8282
<plugin>
8383
<groupId>org.apache.maven.plugins</groupId>
8484
<artifactId>maven-surefire-report-plugin</artifactId>
85-
<version>2.14</version>
85+
<version>@version.maven-surefire@</version>
8686
</plugin>
8787
</plugins>
8888
</reporting>

0 commit comments

Comments
 (0)