Bruno P. Kinoshita created IMAGING-255:
------------------------------------------
Summary: Build errors with mvn site (NCSS)
Key: IMAGING-255
URL: https://issues.apache.org/jira/browse/IMAGING-255
Project: Commons Imaging
Issue Type: Bug
Reporter: Bruno P. Kinoshita
Getting several errors similar to
{noformat}
[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" ...
{noformat}
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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)