Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4047

Build fails: jackrabbit-jcr2spi: Signature errors found.

    XMLWordPrintableJSON

    Details

      Description

      Building the current code base from trunk (as of 22.10.2016, following the docs on http://jackrabbit.apache.org/jcr/building-jackrabbit.html), it fails with the message:

      Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.15:check (default) on project jackrabbit-jcr2spi: Signature errors found.:
      

      From the build log:

      [INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ jackrabbit-jcr2spi ---
      [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
      [ERROR] /Users/mln/Projects/jackrabbit/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/nodetype/NodeTypeRegistryImpl.java:614: Undefined reference: java.util.concurrent.ConcurrentHashMap.KeySetView java.util.concurrent.ConcurrentHashMap.keySet()
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Jackrabbit JCR to SPI .............................. FAILURE [  1.350 s]
      [INFO] Jackrabbit SPI to JCR .............................. SKIPPED
      [INFO] Jackrabbit SPI to WebDAV ........................... SKIPPED
      [INFO] Jackrabbit JCR to WebDAV ........................... SKIPPED
      [INFO] Jackrabbit JCR Client .............................. SKIPPED
      [INFO] Jackrabbit OSGi bundle ............................. SKIPPED
      [INFO] Jackrabbit Standalone .............................. SKIPPED
      [INFO] Apache Jackrabbit .................................. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.145 s
      [INFO] Finished at: 2016-10-22T13:57:07+02:00
      [INFO] Final Memory: 24M/464M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.15:check (default) on project jackrabbit-jcr2spi: Signature errors found. Verify them and ignore them with the proper annotation if needed. -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                reschke Julian Reschke
                Reporter:
                mathiasconradt Mathias Conradt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: