Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-255

Build errors with mvn site (NCSS)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha1
    • 1.0-alpha2
    • 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

      Attachments

        Activity

          People

            kinow Bruno P. Kinoshita
            kinow Bruno P. Kinoshita
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: