You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/25 14:59:23 UTC
[commons-build-plugin] branch release updated: maven-plugin-plugin 3.9.0 blows up, go back to 3.8.2
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-build-plugin.git
The following commit(s) were added to refs/heads/release by this push:
new 0117f62 maven-plugin-plugin 3.9.0 blows up, go back to 3.8.2
0117f62 is described below
commit 0117f6254b458a415d0adba199d29de355620162
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 25 10:59:14 2023 -0400
maven-plugin-plugin 3.9.0 blows up, go back to 3.8.2
- maven-antrun-plugin requires the target instead of task element
- maven-plugin-plugin 3.9.0 blows up with:
[ERROR] Could not find goal 'report' in plugin
org.apache.maven.plugins:maven-plugin-plugin:3.9.0 among available goals
addPluginArtifactMetadata, descriptor, help, helpmojo -> [Help 1]
---
pom.xml | 12 ++++++++----
src/changes/changes.xml | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 9adad72..91c7e5d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,7 +104,8 @@
</dependencies>
<build>
- <defaultGoal>clean verify apache-rat:check spotbugs:check pmd:check pmd:cpd-check javadoc:javadoc</defaultGoal>
+ <!-- include the site goal to detect problems previously encountered with maven-plugin-plugin 3.9.0 -->
+ <defaultGoal>clean verify apache-rat:check spotbugs:check pmd:check pmd:cpd-check javadoc:javadoc site</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
@@ -122,7 +123,10 @@
<plugins>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.9.0</version>
+ <!-- 3.9.0 blows up with:
+ [ERROR] Could not find goal 'report' in plugin org.apache.maven.plugins:maven-plugin-plugin:3.9.0 among available goals addPluginArtifactMetadata, descriptor, help, helpmojo -> [Help 1]
+ -->
+ <version>3.8.2</version>
<!-- Add the Ant plugin tools to the plugin -->
<dependencies>
<dependency>
@@ -274,7 +278,7 @@
<goal>run</goal>
</goals>
<configuration>
- <tasks>
+ <target>
<exec executable="svn">
<arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}"/>
</exec>
@@ -289,7 +293,7 @@
<exec executable="svn">
<arg line="update --set-depth infinity ${dirs}"/>
</exec>
- </tasks>
+ </target>
</configuration>
</execution>
</executions>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index aa7d120..e07b158 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -88,7 +88,7 @@
Bump spotbugs from 4.1.3 to 4.7.3, #24, #26, #57, #63, #72, #80, #98.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
- Bump maven-plugin-plugin from 3.6.0 to 3.9.0, #33, #52, #61, #104, #127, #138, #154.
+ Bump maven-plugin-plugin from 3.6.0 to 3.8.2, #33, #52, #61, #104, #127, #138, #154.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Bump maven-plugin-tools-ant from 3.6.0 to 3.9.0, #32, #53, #59, #126, #139, #152.