Kristof Meixner created MPMD-214:
------------------------------------

             Summary: linkXref in configuration section is ignored
                 Key: MPMD-214
                 URL: https://issues.apache.org/jira/browse/MPMD-214
             Project: Maven PMD Plugin
          Issue Type: Bug
         Environment: Apache Maven 3.2.5
Java version: 1.8.0_45, vendor: Oracle Corporation
OS name: "linux", version: "3.13.0-49-generic", arch: "amd64", family: "unix"
maven-pmd-plugin 3.5
            Reporter: Kristof Meixner


The configuration of the plugin looks like this:
{code}
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-pmd-plugin</artifactId>
  <version>3.5</version>
  <configuration>
    <linkXref>false</linkXref>
  </configuration>
  <executions>
    <execution>
      <phase>verify</phase>
      <goals>
        <goal>check</goal>
      </goals>
    </execution>
  </executions>
</plugin>
{code}

During the execution of the {{pmd}} goal I get warnings about missing XRef. The 
{{check}} seems to work as expected:

{code}
[INFO] --- maven-pmd-plugin:3.5:pmd (pmd) @ net.fatlenny ---
[WARNING] Unable to locate Source XRef to link to - DISABLED
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] 
[INFO] <<< maven-pmd-plugin:3.5:check (default) < :pmd @ net.fatlenny <<<
[INFO] 
[INFO] --- maven-pmd-plugin:3.5:check (default) @ net.fatlenny ---
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to