I want to use my sonar PMD configuration using the permalink,
This is the build part of my maven pom.xml
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<rulesets>
<ruleset>http://nemo.sonarqube.org/profiles/export?format=pmd&language=java&name=Nemo</ruleset>
</rulesets>
</configuration>
<executions>
<execution>
<id>pmd</id>
<goals><goal>check</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
But when i import this into my eclipse (using the m2e-code-quality plugin), I get the following error:
java.lang.RuntimeException: Couldn't find the class White space is required between the public identifier and the system identifier.
How can i fix this?
Thanks for the help!
Please try use older version of pmd plugin.
Version 2.7.1 works ok for me with external link.
Here is issue for this error: http://jira.codehaus.org/browse/MPMD-174
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.