glassfish
  1. glassfish
  2. GLASSFISH-20981

Build failure because of invalid pom.xml

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1
    • Component/s: build_system
    • Labels:
      None
    • Environment:

      Windows 7 Professional (x86/x64), JDK7 Update 51, Maven 3.1.1

      Description

      When building GlassFish 4.0.1 build 4, the build process is failed with following message. It is because that the specified version of webservices and jaxb does not exist on Maven central repository.

      the specified version of webservices in pom.xml is 2.3.1-b259 but latest version on the central is 2.3.1-b104. And jaxb in pom.xml is 2.2.8-b131017.0915 but latest on the central is 2.2.8-b01.

      ---- Error message #1 ----

      [INFO] Common persistence code between JPA and CMP ....... SUCCESS [3.266s]
      [INFO] GlassFish Core EJB container implementation ....... FAILURE [0.336s]
      [INFO] Full EJB Container add-ons ........................ SKIPPED

      (snip)

      [INFO] GlassFish Project ................................. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 23:50.842s
      [INFO] Finished at: Thu Feb 13 15:35:45 JST 2014
      [INFO] Final Memory: 353M/494M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project ejb-container: Could not resolve depen
      dencies for project org.glassfish.main.ejb:ejb-container:glassfish-jar:4.0.1-b04
      : Failure to find org.glassfish.metro:webservices-api-osgi:jar:2.3.1-b259 in htt
      ps://maven.java.net/content/repositories/promoted/ was cached in the local repos
      itory, resolution will not be reattempted until the update interval of jvnet-nex
      us-promoted has elapsed or updates are forced -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
      ch.
      [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 rea
      d the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
      lutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR] mvn <goals> -rf :ejb-container

      ---- Error message #2 ----

      [INFO] GlassFish Web Services related modules ............ SUCCESS [0.175s]
      [INFO] JSR-109 implementation to deploy Metro ............ FAILURE [6.597s]
      [INFO] GlassFish Metro Glue Code ......................... SKIPPED

      (snip)

      [INFO] GlassFish Project ................................. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 41:45.594s
      [INFO] Finished at: Thu Feb 13 15:42:19 JST 2014
      [INFO] Final Memory: 461M/494M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project jsr109-impl: Could not resolve depende
      ncies for project org.glassfish.main.webservices:jsr109-impl:glassfish-jar:4.0.1
      -SNAPSHOT: Failed to collect dependencies at com.sun.xml.bind:jaxb-osgi:jar:2.2.
      8-b131017.0915: Failed to read artifact descriptor for com.sun.xml.bind:jaxb-osg
      i:jar:2.2.8-b131017.0915: Could not transfer artifact com.sun.xml.bind:jaxb-osgi
      :pom:2.2.8-b131017.0915 from/to jvnet-nexus-promoted (https://maven.java.net/con
      tent/repositories/promoted/): peer not authenticated -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
      ch.
      [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 rea
      d the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
      lutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR] mvn <goals> -rf :jsr109-impl

        Activity

        Hide
        Romain Grécourt added a comment -

        update assignee, component.

        We are aware of this issue, it will be fixed very soon.

        Show
        Romain Grécourt added a comment - update assignee, component. We are aware of this issue, it will be fixed very soon.
        Hide
        Romain Grécourt added a comment -

        Issue is resolved: a new metro version has been integrated into GlassFish, and the missing bits have been recovered on maven.java.net.

        Show
        Romain Grécourt added a comment - Issue is resolved: a new metro version has been integrated into GlassFish, and the missing bits have been recovered on maven.java.net.

          People

          • Assignee:
            Romain Grécourt
            Reporter:
            HASUNUMA Kenji
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: