Please, prefix the report title with the language it applies to within brackets, such as [java] or [apex].
If not specific to a language, you can use [core].
Affects PMD Version:
6.0.1
Description:
Try a fresh build on the unzipped sources zip, as workaround for #461
Code Sample demonstrating the issue:
%MVN_HOME%\bin\mvn clean package -Dmaven.test.skip=true
[WARNING]
java.lang.IllegalArgumentException: character to be escaped is missing
at java.util.regex.Matcher.appendReplacement(Matcher.java:809)
at java.util.regex.Matcher.replaceAll(Matcher.java:955)
at java.lang.String.replaceAll(String.java:2223)
at net.sourceforge.pmd.docs.RuleDocGenerator.getRuleClassSourceFilepath(RuleDocGenerator.java:543)
at net.sourceforge.pmd.docs.RuleDocGenerator.generateRuleSetIndex(RuleDocGenerator.java:389)
at net.sourceforge.pmd.docs.RuleDocGenerator.generate(RuleDocGenerator.java:86)
at net.sourceforge.pmd.docs.GenerateRuleDocsCmd.main(GenerateRuleDocsCmd.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
at java.lang.Thread.run(Thread.java:745)
[INFO] PMD Documentation Generator ........................ FAILURE [01:17 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:44 min
[INFO] Finished at: 2018-02-20T09:46:14+01:00
[INFO] Final Memory: 92M/730M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (d
efault) on project pmd-doc: An exception occured while executing the Java class.
character to be escaped is missing -> [Help 1]
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
Maven Build
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4