Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-alpha1
-
None
-
None
Description
Getting several errors similar to
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.8.2:site (default-site) on project commons-imaging: Error generating javancss-maven-plugin:2.1:report report: Parsing error while executing JavaNCSS 33.54 ParseException in /home/kinow/Development/java/apache/commons-imaging/src/main/java/org/apache/commons/imaging/formats/tiff/TiffElement.java [ERROR] Last useful checkpoint: "org.apache.commons.imaging.formats.tiff.TiffElement" [ERROR] Encountered " "," ", "" at line 24, column 65. Encountered " "," ", "" at line 27, column 66. [ERROR] Was expecting one of: [ERROR] "instanceof" ...
When building the project with `mvn clean site`.
Looking at the maven plugin page, its bug tracking link is broken, the development mailing list has low activity. So not a lot going on, and looks like others had similar error, though I couldn't find any solution.
Had a look at Commons Lang but it doesn't appear to be using NCSS. Upgraded to the latest commons-parent, but the issue still persists.
Removing ncss from the pom.xml everything builds fine. So keen to remove it unless there are any objections.
Bruno