You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (Jira)" <ji...@apache.org> on 2020/04/13 03:55:00 UTC

[jira] [Updated] (IMAGING-255) Build errors with mvn site (NCSS)

     [ https://issues.apache.org/jira/browse/IMAGING-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno P. Kinoshita updated IMAGING-255:
---------------------------------------
    Fix Version/s: 1.0-alpha2

> 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
>            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)