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

    Maven  build failure quick starts anyone has this problem ?

    Mauro Araujo Newbie

      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