This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch MANTRUN-239 in repository https://gitbox.apache.org/repos/asf/maven-antrun-plugin.git
commit e4fcca9eedf526f05e1bb79e5418b56349b57b56 Author: Sylwester Lachiewicz <slachiew...@apache.org> AuthorDate: Thu May 25 22:44:05 2023 +0200 [MANTRUN-239] Upgrade plugins to remove warnings --- pom.xml | 28 +++++++++++++++++++++++ src/it/custom-ant-target-attributes/verify.groovy | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7ead9fc..f29660e 100644 --- a/pom.xml +++ b/pom.xml @@ -61,6 +61,8 @@ under the License. <properties> <mavenVersion>3.2.5</mavenVersion> + <surefire.version>3.1.0</surefire.version> + <maven.plugin.tools.version>3.9.0</maven.plugin.tools.version> <project.build.outputTimestamp>2022-04-18T19:40:06Z</project.build.outputTimestamp> </properties> @@ -131,6 +133,32 @@ under the License. </excludes> </configuration> </plugin> + <!-- remove with parent upgrade --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>3.3.1</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-remote-resources-plugin</artifactId> + <version>3.1.0</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>3.3.0</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.11.0</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <version>3.5.1</version> + </plugin> </plugins> </pluginManagement> <plugins> diff --git a/src/it/custom-ant-target-attributes/verify.groovy b/src/it/custom-ant-target-attributes/verify.groovy index bde2452..64d2768 100644 --- a/src/it/custom-ant-target-attributes/verify.groovy +++ b/src/it/custom-ant-target-attributes/verify.groovy @@ -18,7 +18,7 @@ * under the License. */ -def antProject = new XmlSlurper().parse(new File(basedir, 'target/antrun/build-myname.xml')) +def antProject = new groovy.xml.XmlSlurper().parse(new File(basedir, 'target/antrun/build-myname.xml')) assert antProject.@default == "myname" assert antProject.target.size() == 1