This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch upgrade-parent-and-mvn4 in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git
commit beb0056b6a84bb7feac305cf2e701a5895e19282 Author: Karl Heinz Marbaise <khmarba...@apache.org> AuthorDate: Mon Dec 18 15:52:54 2023 +0100 Updated Parent / Added plexus-xml dep. --- pom.xml | 16 +++++++++++----- .../{verify.groovy => .mvn/.gitkeep} | 12 ------------ src/it/non-changed-artifact/verify.groovy | 1 - 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/pom.xml b/pom.xml index 1f4d7c1..2441a57 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ <parent> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugins</artifactId> - <version>39</version> + <version>41</version> <relativePath /> </parent> @@ -80,13 +80,13 @@ <!-- plugin versions used in IT tests --> <mavenAntrunPluginVersion>3.1.0</mavenAntrunPluginVersion> - <mavenCompilerPluginVersion>3.10.1</mavenCompilerPluginVersion> + <mavenCompilerPluginVersion>3.11.0</mavenCompilerPluginVersion> <mavenEnforcerPluginVersion>3.1.0</mavenEnforcerPluginVersion> <mavenJarPluginVersion>3.3.0</mavenJarPluginVersion> - <mavenPluginPluginVersion>3.7.0</mavenPluginPluginVersion> + <mavenPluginPluginVersion>3.10.2</mavenPluginPluginVersion> <mavenResourcesPluginVersion>3.3.0</mavenResourcesPluginVersion> <mavenSourcePluginVersion>3.2.1</mavenSourcePluginVersion> - <mavenSurefirePluginVersion>3.0.0-M7</mavenSurefirePluginVersion> + <mavenSurefirePluginVersion>3.2.3</mavenSurefirePluginVersion> <project.build.outputTimestamp>2023-03-21T14:31:18Z</project.build.outputTimestamp> </properties> @@ -134,8 +134,14 @@ <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-xml</artifactId> + <version>4.0.3</version> + <scope>provided</scope> + </dependency> - <!-- dependencies to annotations --> + <!-- dependencies to annotations --> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> diff --git a/src/it/non-changed-artifact/verify.groovy b/src/it/non-changed-artifact/.mvn/.gitkeep similarity index 58% copy from src/it/non-changed-artifact/verify.groovy copy to src/it/non-changed-artifact/.mvn/.gitkeep index 0be1085..042f3ce 100644 --- a/src/it/non-changed-artifact/verify.groovy +++ b/src/it/non-changed-artifact/.mvn/.gitkeep @@ -16,15 +16,3 @@ * specific language governing permissions and limitations * under the License. */ - -File buildLog = new File( basedir, 'build.log' ) -assert buildLog.exists() - -def logText = buildLog.text - -artifactPath = new File( basedir, 'target/minstall-39-1.0-SNAPSHOT.jar' ).canonicalPath -copyArtifactPath = new File( basedir, '../../local-repo/org/apache/maven/plugins/install/its/minstall-39/1.0-SNAPSHOT/minstall-39-1.0-SNAPSHOT.jar' ).canonicalPath - -assert 2 == logText.count( "[INFO] Installing ${artifactPath} to ${copyArtifactPath}" ) -assert 1 == logText.count( "[DEBUG] Skipped re-installing ${artifactPath} to ${copyArtifactPath}, seems unchanged" ) - diff --git a/src/it/non-changed-artifact/verify.groovy b/src/it/non-changed-artifact/verify.groovy index 0be1085..e20ebea 100644 --- a/src/it/non-changed-artifact/verify.groovy +++ b/src/it/non-changed-artifact/verify.groovy @@ -27,4 +27,3 @@ copyArtifactPath = new File( basedir, '../../local-repo/org/apache/maven/plugins assert 2 == logText.count( "[INFO] Installing ${artifactPath} to ${copyArtifactPath}" ) assert 1 == logText.count( "[DEBUG] Skipped re-installing ${artifactPath} to ${copyArtifactPath}, seems unchanged" ) -