0 Replies Latest reply on Oct 26, 2012 8:57 AM by prasad.kasthuri

    JBoss EAP 6 building from source is failing with Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0-redhat-1 or one of its dependencies could not be resolved

    prasad.kasthuri

      Hi Team,

       

                  I am trying to build the JBoss EAP 6 from sources. When I tried this, ran into some issues as follows. I have copied the maven repository into "~/.m2/repository" but still no luck. Can any one help me in resolving this issue.

       

      /home/scratch/pkasthuri/JBoss/JBoss-EAP/trial/jboss-eap-6.0-src>mvn install

      [INFO] Scanning for projects...

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Build Order:

      [INFO]

      [INFO] JBoss Application Server: Parent Aggregator

      [INFO] JBoss Application Server: Build

      [INFO] JBoss Application Server: Distribution

      [INFO]                                                                        

      [INFO] ------------------------------------------------------------------------

      [INFO] Building JBoss Application Server: Parent Aggregator 6.0.0.CR1

      [INFO] ------------------------------------------------------------------------

      [WARNING] The POM for org.apache.maven.plugins:maven-enforcer-plugin:jar:1.0-redhat-1 is missing, no dependency information available

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Summary:

      [INFO]

      [INFO] JBoss Application Server: Parent Aggregator ....... FAILURE [0.244s]

      [INFO] JBoss Application Server: Build ................... SKIPPED

      [INFO] JBoss Application Server: Distribution ............ SKIPPED

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 2.900s

      [INFO] Finished at: Fri Jun 29 05:21:51 PDT 2012

      [INFO] Final Memory: 186M/640M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0-redhat-1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-enforcer-plugin:jar:1.0-redhat-1: Failure to find org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0-redhat-1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central 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 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/PluginResolutionException

       

       

      Regards

      Prasad Kasthuri