[ 
https://issues.apache.org/jira/browse/MPMD-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537657#comment-17537657
 ] 

Matt Nelson commented on MPMD-299:
----------------------------------

{quote}
You are abusing the package phase
{quote}

I was following the {{site:jar}} documentation.
{quote}
Binds by default to the lifecycle phase: package.
{quote}
https://maven.apache.org/plugins/maven-site-plugin/jar-mojo.html

> Change of default skipEmptyReport value breaks site:jar
> -------------------------------------------------------
>
>                 Key: MPMD-299
>                 URL: https://issues.apache.org/jira/browse/MPMD-299
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>          Components: CPD, PMD
>    Affects Versions: 3.13.0
>            Reporter: Matt Nelson
>            Priority: Major
>             Fix For: waiting-for-feedback, wontfix-candidate
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Change of default skipEmptyReport value in MPMD-225 causes 
> [site:jar|https://maven.apache.org/plugins/maven-site-plugin/jar-mojo.html] 
> to be empty.
> Had to revert to the value to get site jars working again.
> {code:xml}
> <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-pmd-plugin</artifactId>
>     <version>3.13.0</version>
>     <configuration>
>         <skipEmptyReport>true</skipEmptyReport>
>     </configuration>
> </plugin>
> {code}
> Working on getting a repro case against 
> https://github.com/apache/maven-pmd-plugin



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to