Skip to content

Commit ee9b35d

Browse files
committed
[MPLUGIN-468] Upgrade plugins and components (in ITs)
1 parent 8c2f8a3 commit ee9b35d

File tree

41 files changed

+160
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+160
-83
lines changed

maven-plugin-plugin/src/it/annotation-with-inheritance-from-deps/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ under the License.
2929

3030
<name>Maven Integration Test :: annotation-with-inheritance-from-deps</name>
3131
<description>
32-
Test plugin-plugin, which tests maven-plugin-tools-api and
33-
maven-plugin-tools-java. This will generate a plugin descriptor from
32+
Test plugin-plugin, which tests maven-plugin-tools-api and
33+
maven-plugin-tools-java. This will generate a plugin descriptor from
3434
java-based mojo sources, install the plugin, and then use it.
3535
</description>
3636

@@ -80,7 +80,7 @@ under the License.
8080
<plugin>
8181
<groupId>org.apache.maven.plugins</groupId>
8282
<artifactId>maven-compiler-plugin</artifactId>
83-
<version>2.4</version>
83+
<version>@compilerPluginVersion@</version>
8484
</plugin>
8585
</plugins>
8686
</pluginManagement>

maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ under the License.
8484
<plugin>
8585
<groupId>org.apache.maven.plugins</groupId>
8686
<artifactId>maven-compiler-plugin</artifactId>
87-
<version>2.4</version>
87+
<version>@compilerPluginVersion@</version>
8888
</plugin>
8989
</plugins>
9090
</pluginManagement>

maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ under the License.
2929

3030
<name>Maven Integration Test :: annotation-with-inheritance</name>
3131
<description>
32-
Test plugin-plugin, which tests maven-plugin-tools-api and
33-
maven-plugin-tools-java. This will generate a plugin descriptor from
32+
Test plugin-plugin, which tests maven-plugin-tools-api and
33+
maven-plugin-tools-java. This will generate a plugin descriptor from
3434
java-based mojo sources, install the plugin, and then use it.
3535
</description>
3636

@@ -76,7 +76,7 @@ under the License.
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-compiler-plugin</artifactId>
79-
<version>2.4</version>
79+
<version>@compilerPluginVersion@</version>
8080
</plugin>
8181
</plugins>
8282
</pluginManagement>

maven-plugin-plugin/src/it/help-basic-deprecated-annotation-only/expected-help.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[INFO] help 1.0-SNAPSHOT
1+
[INFO] help-deprecated-annotation-only 1.0-SNAPSHOT
22
Tests generation and compilation of the help mojo.
33

4-
help:test
4+
help-deprecated-annotation-only:test
55
Deprecated. No reason given
66

77
MOJO-DESCRIPTION. Some "quotation" marks and backslashes '\\', some important

maven-plugin-plugin/src/it/help-basic-deprecated-annotation-only/invoker.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# to you under the Apache License, Version 2.0 (the
66
# "License"); you may not use this file except in compliance
77
# with the License. You may obtain a copy of the License at
8-
#
8+
#
99
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
10+
#
1111
# Unless required by applicable law or agreed to in writing,
1212
# software distributed under the License is distributed on an
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818
invoker.goals.1 = clean install
19-
invoker.goals.2 = --log-file help.log org.apache.maven.its.plugin:help:1.0-SNAPSHOT:help
19+
invoker.goals.2 = --log-file help.log org.apache.maven.its.plugin:help-deprecated-annotation-only:1.0-SNAPSHOT:help

maven-plugin-plugin/src/it/help-basic-deprecated-annotation-only/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ under the License.
2323
<modelVersion>4.0.0</modelVersion>
2424

2525
<groupId>org.apache.maven.its.plugin</groupId>
26-
<artifactId>help</artifactId>
26+
<artifactId>help-deprecated-annotation-only</artifactId>
2727
<version>1.0-SNAPSHOT</version>
2828
<packaging>maven-plugin</packaging>
2929

@@ -56,7 +56,7 @@ under the License.
5656
<plugin>
5757
<groupId>org.apache.maven.plugins</groupId>
5858
<artifactId>maven-compiler-plugin</artifactId>
59-
<version>3.10.1</version>
59+
<version>@compilerPluginVersion@</version>
6060
</plugin>
6161
</plugins>
6262
</pluginManagement>

maven-plugin-plugin/src/it/help-basic-deprecated-annotation-only/verify.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
expected = new File( basedir, "expected-help.txt" ).text.trim().replace( "\r", "" )
2121

2222
log = new File( basedir, "help.log" ).text.replace( "\r", "" )
23-
log = log.substring( log.indexOf( "[INFO] help 1.0-SNAPSHOT" ) )
23+
log = log.substring( log.indexOf( "[INFO] help-deprecated-annotation-only 1.0-SNAPSHOT" ) )
2424
log = log.substring( 0, log.indexOf( "[INFO]", 5 ) ).trim()
2525

2626
assert log == expected

maven-plugin-plugin/src/it/help-basic-jdk11/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ under the License.
5656
<plugin>
5757
<groupId>org.apache.maven.plugins</groupId>
5858
<artifactId>maven-compiler-plugin</artifactId>
59-
<version>3.8.0</version>
59+
<version>@compilerPluginVersion@</version>
6060
<configuration>
6161
<source>11</source>
6262
<target>11</target>

maven-plugin-plugin/src/it/help-basic/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ under the License.
5656
<plugin>
5757
<groupId>org.apache.maven.plugins</groupId>
5858
<artifactId>maven-compiler-plugin</artifactId>
59-
<version>2.4</version>
59+
<version>@compilerPluginVersion@</version>
6060
</plugin>
6161
</plugins>
6262
</pluginManagement>

maven-plugin-plugin/src/it/help-package/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ under the License.
5050
<plugin>
5151
<groupId>org.apache.maven.plugins</groupId>
5252
<artifactId>maven-compiler-plugin</artifactId>
53-
<version>2.4</version>
53+
<version>@compilerPluginVersion@</version>
5454
</plugin>
5555
</plugins>
5656
</pluginManagement>

maven-plugin-plugin/src/it/java-basic-annotations-jdk8/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ under the License.
2929

3030
<name>Maven Integration Test :: basic-java-annotations-jdk8</name>
3131
<description>
32-
Test plugin-plugin, which tests maven-plugin-tools-api and
33-
maven-plugin-tools-java. This will generate a plugin descriptor from
32+
Test plugin-plugin, which tests maven-plugin-tools-api and
33+
maven-plugin-tools-java. This will generate a plugin descriptor from
3434
java-based mojo sources, install the plugin, and then use it.
3535
</description>
3636

@@ -69,7 +69,7 @@ under the License.
6969
<plugin>
7070
<groupId>org.apache.maven.plugins</groupId>
7171
<artifactId>maven-compiler-plugin</artifactId>
72-
<version>3.1</version>
72+
<version>@compilerPluginVersion@</version>
7373
<configuration>
7474
<source>1.8</source><!-- avoid ${maven.compiler.source} since value is not as expected -->
7575
<target>1.8</target><!-- avoid ${maven.compiler.target} since value is not as expected -->

maven-plugin-plugin/src/it/java-basic-annotations-jdkcurrent/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ under the License.
2929

3030
<name>Maven Integration Test :: basic-java-annotations-jdk8</name>
3131
<description>
32-
Test plugin-plugin, which tests maven-plugin-tools-api and
33-
maven-plugin-tools-java. This will generate a plugin descriptor from
32+
Test plugin-plugin, which tests maven-plugin-tools-api and
33+
maven-plugin-tools-java. This will generate a plugin descriptor from
3434
java-based mojo sources, install the plugin, and then use it.
3535
</description>
3636

@@ -65,7 +65,7 @@ under the License.
6565
<plugin>
6666
<groupId>org.apache.maven.plugins</groupId>
6767
<artifactId>maven-compiler-plugin</artifactId>
68-
<version>3.8.0</version>
68+
<version>@compilerPluginVersion@</version>
6969
<configuration>
7070
<release>${java.specification.version}</release>
7171
</configuration>

maven-plugin-plugin/src/it/java-basic-annotations/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ under the License.
2929

3030
<name>Maven Integration Test :: basic-java-annotations</name>
3131
<description>
32-
Test plugin-plugin, which tests maven-plugin-tools-api and
33-
maven-plugin-tools-java. This will generate a plugin descriptor from
32+
Test plugin-plugin, which tests maven-plugin-tools-api and
33+
maven-plugin-tools-java. This will generate a plugin descriptor from
3434
java-based mojo sources, install the plugin, and then use it.
3535
</description>
3636

@@ -70,7 +70,7 @@ under the License.
7070
<plugin>
7171
<groupId>org.apache.maven.plugins</groupId>
7272
<artifactId>maven-compiler-plugin</artifactId>
73-
<version>2.4</version>
73+
<version>@compilerPluginVersion@</version>
7474
</plugin>
7575
</plugins>
7676
</pluginManagement>

maven-plugin-plugin/src/it/mplugin-223/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<plugin>
5454
<groupId>org.apache.maven.plugins</groupId>
5555
<artifactId>maven-compiler-plugin</artifactId>
56-
<version>2.4</version>
56+
<version>@compilerPluginVersion@</version>
5757
</plugin>
5858
<plugin>
5959
<groupId>org.apache.maven.plugins</groupId>

maven-plugin-plugin/src/it/mplugin-272_java8/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<plugin>
4949
<groupId>org.apache.maven.plugins</groupId>
5050
<artifactId>maven-compiler-plugin</artifactId>
51-
<version>3.1</version>
51+
<version>@compilerPluginVersion@</version>
5252
<configuration>
5353
<source>1.8</source>
5454
<target>1.8</target>

maven-plugin-plugin/src/it/mplugin-299_no-configuration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ under the License.
5656
<plugin>
5757
<groupId>org.apache.maven.plugins</groupId>
5858
<artifactId>maven-compiler-plugin</artifactId>
59-
<version>2.4</version>
59+
<version>@compilerPluginVersion@</version>
6060
</plugin>
6161
</plugins>
6262
</pluginManagement>

maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<plugin>
5858
<groupId>org.apache.maven.plugins</groupId>
5959
<artifactId>maven-compiler-plugin</artifactId>
60-
<version>2.4</version>
60+
<version>@compilerPluginVersion@</version>
6161
</plugin>
6262
<plugin>
6363
<groupId>org.apache.maven.plugins</groupId>

maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<plugin>
5858
<groupId>org.apache.maven.plugins</groupId>
5959
<artifactId>maven-compiler-plugin</artifactId>
60-
<version>2.4</version>
60+
<version>@compilerPluginVersion@</version>
6161
</plugin>
6262
<plugin>
6363
<groupId>org.apache.maven.plugins</groupId>

maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>org.apache.maven.surefire</groupId>
5050
<artifactId>maven-surefire-common</artifactId>
51-
<version>2.19.1</version>
51+
<version>3.1.0</version>
5252
</dependency>
5353
</dependencies>
5454

@@ -57,7 +57,7 @@
5757
<plugin>
5858
<groupId>org.apache.maven.plugins</groupId>
5959
<artifactId>maven-compiler-plugin</artifactId>
60-
<version>2.4</version>
60+
<version>@compilerPluginVersion@</version>
6161
</plugin>
6262
<plugin>
6363
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)