Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7421

Unable to build cxf-core

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.2.0
    • Invalid
    • Core
    • None
    • Novice

    Description

      I'm new to CXF and just want to build the cxf-core module but I'm facing up an error while installing it :

      ```
      $ mvn package
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Apache CXF Core 3.2.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ cxf-core —
      [INFO]
      [INFO] — maven-bundle-plugin:2.5.4:cleanVersions (versions) @ cxf-core —
      [INFO]
      [INFO] — maven-checkstyle-plugin:2.17:checkstyle (validate) @ cxf-core —
      [INFO] Starting audit...
      Audit done.
      [INFO]
      [INFO] >>> maven-pmd-plugin:3.8:check (validate) > :pmd @ cxf-core >>>
      [INFO]
      [INFO] — maven-pmd-plugin:3.8:pmd (pmd) @ cxf-core —
      juin 21, 2017 5:58:02 PM net.sourceforge.pmd.cache.AbstractAnalysisCache checkValidity
      INFOS: Analysis cache invalidated, classpath changed.
      [INFO]
      [INFO] <<< maven-pmd-plugin:3.8:check (validate) < :pmd @ cxf-core <<<
      [INFO]
      [INFO] — maven-pmd-plugin:3.8:check (validate) @ cxf-core —
      [INFO]
      [INFO]
      [INFO] — buildnumber-maven-plugin:1.4:create-timestamp (create-noncanonicalrev) @ cxf-core —
      [INFO]
      [INFO] — buildnumber-maven-plugin:1.4:create (create-buildnumber) @ cxf-core —
      [INFO] Executing: /bin/sh c cd '/****/core' && 'git' 'rev-parse' '-verify' 'HEAD'
      [INFO] Working directory: /***/core
      [INFO] Storing buildNumber: 8b5ad0005d5e42bb51a90c6773aae12c5022f78b at timestamp: 1498060689554
      [INFO] Storing buildScmBranch: master
      [INFO]
      [INFO] — cxf-xml2fastinfoset-plugin:3.2.2-SNAPSHOT:xml2fastinfoset (xml2fastinfoset) @ cxf-core —
      [INFO]
      [INFO] — cxf-xjc-plugin:3.1.0:xsdtojava (generate-sources) @ cxf-core —
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 15.711 s
      [INFO] Finished at: 2017-06-21T17:58:10+02:00
      [INFO] Final Memory: 35M/258M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.cxf:cxf-xjc-plugin:3.1.0:xsdtojava (generate-sources) on project cxf-core: Could not download extension artifact: Unable to resolve com.sun.xml.bind:jaxb-xjc:jar:2.2.11:compile while resolving org.apache.cxf.xjcplugins:cxf-xjc-javadoc:3.1.0 -> [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/MojoExecutionException
      ```

      It appears that this artifact should be available but I don't know how to make it work.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aduros Alexandre Duros
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: