Skip to content

[MPMD-403] Standalone :pmd goal cannot be executed for 'skin cannot be null' #370

@jira-importer

Description

@jira-importer

Piotr Zygielo opened MPMD-403 and commented

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]

 

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.


Affects: 3.25.0

Remote Links:

Metadata

Metadata

Assignees

Labels

priority:minorMinor loss of function, or other problem where easy workaround is present

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions