You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/09/08 08:42:00 UTC

[jira] [Closed] (MPMD-403) Standalone :pmd goal cannot be executed for 'skin cannot be null'

     [ https://issues.apache.org/jira/browse/MPMD-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MPMD-403.
-------------------------------
    Fix Version/s:     (was: waiting-for-feedback)
                       (was: wontfix-candidate)
       Resolution: Not A Problem

So all is good and the failure is correct.

> Standalone :pmd goal cannot be executed for 'skin cannot be null'
> -----------------------------------------------------------------
>
>                 Key: MPMD-403
>                 URL: https://issues.apache.org/jira/browse/MPMD-403
>             Project: Maven PMD Plugin
>          Issue Type: Wish
>          Components: PMD
>    Affects Versions: 3.25.0
>         Environment: Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
> Java version: 21.0.4
>            Reporter: Piotr Zygielo
>            Assignee: Michael Osipov
>            Priority: Minor
>
> For example with project that has no {{m-pmd-p}} configured:
> {code:java}
> $ 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
> {code}
> previously (3.24.0):
> {code:java}
> $ 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] ------------------------------------------------------------------------
> {code}
> while now (3.25.0):
> {code:java}
> $ 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]
> {code}
>  
> {code:java}
> # first bad commit: [c31b29af9835652db9ab0b9e919c8e14bc4efabf] [MPMD-389] Upgrade to Doxia 2.0.0 Milestone Stack
> {code}
> ----
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)