You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2015/12/07 12:47:10 UTC
[jira] [Commented] (MPMD-214) linkXref in configuration section is
ignored
[ https://issues.apache.org/jira/browse/MPMD-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044811#comment-15044811 ]
Dennis Lundberg commented on MPMD-214:
--------------------------------------
Where in your POM did you put your configuration, under build/plugins or under reporting/plugins?
> 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)