[
https://issues.apache.org/jira/browse/IMAGING-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bruno P. Kinoshita resolved IMAGING-255.
----------------------------------------
Assignee: Bruno P. Kinoshita
Resolution: Fixed
Fixed in one of the previous commits. Just tried `mvn site` and it succeeded
with no issues. Same JVM version (8) and Maven (3.5.4) on Ubuntu LTS.
> Build errors with mvn site (NCSS)
> ---------------------------------
>
> Key: IMAGING-255
> URL: https://issues.apache.org/jira/browse/IMAGING-255
> Project: Commons Imaging
> Issue Type: Bug
> Affects Versions: 1.0-alpha1
> Reporter: Bruno P. Kinoshita
> Assignee: Bruno P. Kinoshita
> Priority: Major
> Fix For: 1.0-alpha2
>
>
> 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)