2 Replies Latest reply on Apr 16, 2014 11:51 AM by rcernich

    Maven  build failure quick starts anyone has this problem ?

    mauroa85

      Hello trying to compile some quick starts  with  maven (version  3.2.1)

      for example Bpel-Loan-approval and then got build fail

       

       

      C:\JBEAP6\jboss-eap-6.1\quickstarts\bpel-service\loan_approval>mvn -U clean install

      [INFO] Scanning for projects...

      [INFO]

      [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBu

      ilder with a thread count of 1

      [INFO]

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

      [INFO] Building Quickstart : BPEL Service : Loan Approval 1.1.0.Final

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

      [WARNING] The POM for org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0.1 is invali

      d, transitive dependencies (if any) will not be available, enable debug logging for more details

      [WARNING] The POM for org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.0.1 is invalid, trans

      itive dependencies (if any) will not be available, enable debug logging for more details

      [WARNING] The POM for jencks:xapool-without-pool:jar:1.4 is invalid, transitive dependencies (if any

      ) will not be available, enable debug logging for more details

      [WARNING] The POM for commons-dbcp:commons-dbcp:jar:1.2 is invalid, transitive dependencies (if any)

      will not be available, enable debug logging for more details

      [WARNING] The POM for commons-pool:commons-pool:jar:1.6 is invalid, transitive dependencies (if any)

      will not be available, enable debug logging for more details

      [WARNING] The POM for org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.0 is invalid, transitive

      dependencies (if any) will not be available, enable debug logging for more details

      [WARNING] The POM for org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.0 is invalid, transitive

      dependencies (if any) will not be available, enable debug logging for more details

      [INFO]

      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ switchyard-quickstart-bpel-service-loan-ap

      proval ---

      [INFO] Deleting C:\JBEAP6\jboss-eap-6.1\quickstarts\bpel-service\loan_approval\target

      [INFO]

      [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ switchyard-quickstart-bpel-s

      ervice-loan-approval ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 8 resources

      [INFO]

      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ switchyard-quickstart-bpel-servic

      e-loan-approval ---

      [INFO] No sources to compile

      [INFO]

      [INFO] --- maven-source-plugin:2.1.1:jar-no-fork (attach-sources) @ switchyard-quickstart-bpel-servi

      ce-loan-approval ---

      [INFO] Building jar: C:\JBEAP6\jboss-eap-6.1\quickstarts\bpel-service\loan_approval\target\switchyar

      d-quickstart-bpel-service-loan-approval-sources.jar

      [INFO]

      [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ switchyard-quickstar

      t-bpel-service-loan-approval ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 12 resources

      [INFO]

      [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ switchyard-quickstart-bpe

      l-service-loan-approval ---

      [INFO] Compiling 4 source files to C:\JBEAP6\jboss-eap-6.1\quickstarts\bpel-service\loan_approval\ta

      rget\test-classes

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

      [ERROR] COMPILATION ERROR :

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

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\org\apache\geronimo\specs\geronimo-jta

      _1.0.1B_spec\1.0.1\geronimo-jta_1.0.1B_spec-1.0.1.jar; error in opening zip file

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\jencks\xapool-without-pool\1.4\xapool-

      without-pool-1.4.jar; error in opening zip file

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\commons-dbcp\commons-dbcp\1.2\commons-

      dbcp-1.2.jar; error in opening zip file

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\commons-pool\commons-pool\1.6\commons-

      pool-1.6.jar; error in opening zip file

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\org\apache\geronimo\specs\geronimo-jms

      _1.1_spec\1.0\geronimo-jms_1.1_spec-1.0.jar; error in opening zip file

      [INFO] 5 errors

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

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 4.676 s

      [INFO] Finished at: 2014-04-15T12:44:24+00:00

      [INFO] Final Memory: 37M/352M

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

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (def

      ault-testCompile) on project switchyard-quickstart-bpel-service-loan-approval: Compilation failure:

      Compilation failure:

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\org\apache\geronimo\specs\geronimo-jta

      _1.0.1B_spec\1.0.1\geronimo-jta_1.0.1B_spec-1.0.1.jar; error in opening zip file

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\jencks\xapool-without-pool\1.4\xapool-

      without-pool-1.4.jar; error in opening zip file

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\commons-dbcp\commons-dbcp\1.2\commons-

      dbcp-1.2.jar; error in opening zip file

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\commons-pool\commons-pool\1.6\commons-

      pool-1.6.jar; error in opening zip file

      [ERROR] error: error reading C:\Users\araujomu\.m2\repository\org\apache\geronimo\specs\geronimo-jms

      _1.1_spec\1.0\geronimo-jms_1.1_spec-1.0.jar; error in opening zip file

      [ERROR] -> [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 arti

      cles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

      C:\JBEAP6\jboss-eap-6.1\quickstarts\bpel-service\loan_approval>

       

      I dont know if is only my problem( config , network etc ) or it afects somebody else

        or other may be other thing and

      i realy dont know what to do.

      thanks

        • 1. Re: Maven  build failure quick starts anyone has this problem ?
          mauroa85

          ?????!!!!!!!

          i realy dont know what i have done to put this work

           

          i think it was a server problem maven repository or

          something  related to this.

           

           

          There are a few other options apart from Project->Clean, some of which are more along the lines of turning it off and on again.

          • Try right-clicking on the project and selecting Maven->Update Project Configuration.
          • Disable then re-enable dependency management (right-click Maven->Disable Dependency Management then Maven->Enable Dependency Management
          • Close the project and reopen it.
          • Check that your Maven settings are configured correctly. If you are behind a proxy you'll need toconfigure the proxy settings in the global or user settings.
          • Check you're using the Maven installation you expect. By default m2eclipse uses the embedder, if you have a separate installation you may want to configure m2eclipse to use the external installation so that CLI and Eclipse builds are consistent. This also ensures you're configured to connect through any proxy as above.

           

          http://stackoverflow.com/questions/6111408/maven2-missing-artifact-but-jars-are-in-place

           

          im not sure  what i did but it seams to be working for now ....

           

          Still it has this error

          Project build error: Non-resolvable parent POM for org.switchyard.quickstarts:switchyard-quickstart-parent:1.1.0.Final: Failure to transfer org.switchyard:switchyard-parent:pom:1.1.0.Final from https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced. Original error: Could not transfer artifact org.switchyard:switchyard-parent:pom:1.1.0.Final from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/): Connect to repository.jboss.org:443 [repository.jboss.org/209.132.182.33] failed: Connection timed out: connect and 'parent.relativePath' points at wrong local POM

          • 2. Re: Maven  build failure quick starts anyone has this problem ?
            rcernich

            I suspect this was an issue with one of the Maven repositories.  The most recent Jenkins build for SY components failed with similar errors.