Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
3.25.0
-
None
-
None
-
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Java version: 21.0.4
Description
For example with project that has no m-pmd-p configured:
$ git init maven-jar-plugin
$ cd maven-jar-plugin
$ git remote add origin https://github.com/apache/maven-jar-plugin
$ git fetch origin --depth=1 be27b5f35a8ca911a459d992c9c8f106084bf525
$ git checkout be27b5f35a8ca911a459d992c9c8f106084bf525
previously (3.24.0):
$ mvn org.apache.maven.plugins:maven-pmd-plugin:3.24.0:pmd ... [INFO] --- pmd:3.24.0:pmd (default-cli) @ maven-jar-plugin --- [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] PMD version: 7.3.0 [INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.372 s [INFO] Finished at: 2024-09-07T15:04:57+02:00 [INFO] ------------------------------------------------------------------------
while now (3.25.0):
$ mvn org.apache.maven.plugins:maven-pmd-plugin:3.25.0:pmd [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.802 s [INFO] Finished at: 2024-09-07T15:08:59+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.25.0:pmd (default-cli) on project maven-jar-plugin: Execution default-cli of goal org.apache.maven.plugins:maven-pmd-plugin:3.25.0:pmd failed: skin cannot be null -> [Help 1]
# first bad commit: [c31b29af9835652db9ab0b9e919c8e14bc4efabf] [MPMD-389] Upgrade to Doxia 2.0.0 Milestone Stack
After checking site.xml there (m-jar-p), and adding <skin> it's fine to use 3.25.0.
Thus changing the type and priority.
Feel free to close as invalid. I'm sorry for the noise.