Failed building Camunda BPM Platform Snapshot

556 views
Skip to first unread message

Simon Zambrovski

unread,
Jul 29, 2014, 4:22:22 AM7/29/14
to camunda...@googlegroups.com
Hi guys,

I just wanted to re-build camunda so I checked camunda-bpm-platform, adjusted my settings.xml and started maven:

[ERROR] Failed to execute goal on project camunda-engine: Could not resolve dependencies for project org.camunda.bpm:camunda-engine:jar:7.2.0-SNAPSHOT: Failed t
o collect dependencies for [org.camunda.bpm.model:camunda-bpmn-model:jar:7.2.0-SNAPSHOT (compile), org.camunda.bpm.model:camunda-cmmn-model:jar:7.2.0-SNAPSHOT (
compile), org.camunda.connect:camunda-connect-all:jar:1.0.0-alpha1 (compile), org.camunda.spin:camunda-spin-all:jar:1.0.0-alpha1 (compile), org.apache.commons:c
ommons-email:jar:1.2 (compile), org.livetribe:livetribe-jsr223:jar:2.0.6 (provided), org.mybatis:mybatis:jar:3.2.3 (compile), org.springframework:spring-beans:j
ar:3.1.2.RELEASE (compile), junit:junit:jar:4.11 (provided), org.apache.ant:ant:ar:1.7.1 (provided), org.codehaus.groovy:groovy-all:jar:2.3.0 (provided), javax
.persistence:persistence-api:jar:1.0 (provided), org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1 (provided), com.h2database:h2:jar:1.3.168 (test), org
.apache.openjpa:openjpa:jar:1.2.2 (test), org.subethamail:subethasmtp-wiser:jar:1.2 (test), com.fasterxml.uuid:java-uuid-generator:jar:3.1.2 (provided), commons
-io:commons-io:jar:2.0.1 (test), joda-time:joda-time:jar:2.1 (compile), org.jboss.spec:jboss-javaee-web-6.0:pom:3.0.2.Final (provided), org.springframework:spri
ng-test:jar:3.1.2.RELEASE (test), commons-dbcp:commons-dbcp:jar:1.4 (test), org.apache.tomcat:catalina:jar:6.0.37 (provided), org.jboss:jboss-vfs:jar:3.1.0.Fina
l (provided), org.python:jython:jar:2.5.3 (provided), org.jruby:jruby-complete:jar:1.7.12 (provided)]: Failed to read artifact descriptor for org.camunda.bpm.mo
del:camunda-bpmn-model:jar:7.2.0-SNAPSHOT: Could not transfer artifact org.camunda.bpm.model:camunda-bpmn-model:pom:7.2.0-SNAPSHOT from/to JBoss public (https:/
/repository.jboss.org/nexus/content/groups/public/): peer not authenticated -> [Help 1]

Seems that your Nexus fails to connect to further repos...

How can I solve it?


$ mvn -version
Apache Maven 3.0.5
Maven home: c:\env\tools\maven
Java version: 1.7.0_10, vendor: Oracle Corporation
Java home: c:\Program Files\Java\jdk1.7.0_10\jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"


Kind regards,


--
Simon Zambrovski

Dipl.-Ing.- Inf.
E-Mail: si...@zambrovski.org
Tel.: +49 176 16169010
Internet: http://simon.zambrovski.org/

Ich benutze GnuPG und EnigMail, um die E-Mail Kommunikation abzusichern.
Mein Schlüssel ist 0x3B03A36B. Fragen Sie mich gerne danach.
signature.asc

Christian Lipphardt

unread,
Jul 29, 2014, 4:35:15 AM7/29/14
to camunda...@googlegroups.com
Hi Simon,

Did you use the snippet mentioned in the project's README.md to add the following to your settings.xml?

<profiles>
 
<profile>
   
<id>camunda-bpm</id>
   
<repositories>
     
<repository>
       
<id>camunda-bpm-nexus</id>
       
<name>camunda-bpm-nexus</name>
       
<releases>
         
<enabled>true</enabled>
       
</releases>
       
<snapshots>
         
<enabled>true</enabled>
       
</snapshots>
       
<url>https://app.camunda.com/nexus/content/groups/public</url>
     
</repository>
   
</repositories>
 
</profile>
</profiles>
<activeProfiles>
 
<activeProfile>camunda-bpm</activeProfile>
</activeProfiles>

Does Maven try to download the artifacts from camunda nexus?

Cheers,
Christian

Simon Zambrovski

unread,
Jul 29, 2014, 4:37:52 AM7/29/14
to camunda...@googlegroups.com
Yes and yes.

As you can see in the error message, it tries to use your Nexus and fails (possibly it is a handshake error between your nexus and jboss nexus).


Am 29.07.2014 10:35, schrieb Christian Lipphardt:
<profiles>
  <profile>
    <id>camunda-bpm</id>
    <repositories>
      <repository>
        <id>camunda-bpm-nexus</id>
        <name>camunda-bpm-nexus</name>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>true</enabled>
        </snapshots>
        <url>https://app.camunda.com/nexus/content/groups/public</url>
      </repository>
    </repositories>
  </profile>
</profiles>
<activeProfiles>
  <activeProfile>camunda-bpm</activeProfile>
</activeProfiles>


signature.asc

Simon Zambrovski

unread,
Jul 29, 2014, 4:43:06 AM7/29/14
to camunda...@googlegroups.com
Maven fails on Engine:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] camunda BPM - Parent Pom .......................... SUCCESS [0.390s]
[INFO] camunda BPM - QA .................................. SUCCESS [0.013s]
[INFO] camunda BPM - H2 Webapp ........................... SUCCESS [0.908s]
[INFO] camunda BPM - cycle - root ........................ SUCCESS [0.012s]
[INFO] camunda BPM - cycle - httpclient .................. SUCCESS [1.525s]
[INFO] camunda BPM - engine .............................. FAILURE [9.547s]
[INFO] camunda BPM - cycle - app ......................... SKIPPED

trying to get Camunda-BPMN-Model POM 7.2.0-Snapshot
signature.asc

Christian Lipphardt

unread,
Jul 29, 2014, 4:53:09 AM7/29/14
to camunda...@googlegroups.com
Hi Simon,

There is no log message indicating that the camunda nexus is asked for the artifacts. Just the JBoss public repository specified in 'parent/pom.xml'. When the camunda nexus would ask the JBoss nexus, it would be transparent. You would not see the JBoss message. So your maven tries to download from the JBoss public repository, which is ok. But it should also tries to lookup the artifacts in the camunda-nexus. Please add to your settings xml another repository:

<repository>
  <id>camunda-snapshots</id>
  <releases>
    <enabled>false</enabled>
  </releases>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>


Cheers,
Christian

Simon Zambrovski

unread,
Jul 29, 2014, 5:03:52 AM7/29/14
to camunda...@googlegroups.com
Hi Christian,

it is getting better:


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] camunda BPM - Parent Pom .......................... SUCCESS [0.409s]

[INFO] camunda BPM - QA .................................. SUCCESS [0.013s]
[INFO] camunda BPM - H2 Webapp ........................... SUCCESS [0.889s]

[INFO] camunda BPM - cycle - root ........................ SUCCESS [0.012s]
[INFO] camunda BPM - cycle - httpclient .................. SUCCESS [1.493s]
[INFO] camunda BPM - engine .............................. FAILURE [1.729s]

[INFO] camunda BPM - cycle - app ......................... SKIPPED
[INFO] camunda BPM - cycle - SQL scripts ................. SKIPPED
[INFO] camunda BPM - cycle - JBoss ....................... SKIPPED
[INFO] camunda BPM - cycle - Glassfish ................... SKIPPED
[INFO] camunda BPM - cycle - Tomcat ...................... SKIPPED
[INFO] camunda BPM - Job Executor RA ..................... SKIPPED
[INFO] camunda BPM - EJB Service ......................... SKIPPED
[INFO] camunda BPM - Client .............................. SKIPPED
[INFO] camunda BPM - Job Executor RAR .................... SKIPPED
[INFO] camunda BPM - engine - Cdi ........................ SKIPPED
[INFO] camunda BPM - engine - Spring ..................... SKIPPED
[INFO] camunda BPM - engine - REST ....................... SKIPPED
[INFO] camunda BPM - example - invoice ................... SKIPPED
[INFO] camunda BPM - example - wait states ............... SKIPPED
[INFO] camunda BPM - identity - ldap ..................... SKIPPED
[INFO] camunda BPM - jBoss7 .............................. SKIPPED
[INFO] camunda BPM - jBoss7 Subsystem .................... SKIPPED
[INFO] camunda BPM - jBoss7 Modules ...................... SKIPPED
[INFO] camunda BPM - jBoss7 Assembly ..................... SKIPPED
[INFO] camunda BPM - SQL scripts ......................... SKIPPED
[INFO] camunda BPM - jBoss7 Distro ....................... SKIPPED
[INFO] camunda BPM - Glassfish 3.1.x ..................... SKIPPED
[INFO] camunda BPM - Glassfish 3.1.x Service ............. SKIPPED
[INFO] camunda BPM - Glassfish 3.1.x EAR ................. SKIPPED
[INFO] camunda BPM - Glassfish 3.1.x Assembly ............ SKIPPED
[INFO] camunda BPM - Glassfish 3.1.x Distro .............. SKIPPED
[INFO] camunda BPM - tomcat .............................. SKIPPED
[INFO] camunda BPM - tomcat Assembly ..................... SKIPPED
[INFO] camunda BPM - tomcat Distro ....................... SKIPPED
[INFO] camunda BPM - Bom ................................. SKIPPED
[INFO] camunda BPM - Root Pom ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.861s
[INFO] Finished at: Tue Jul 29 11:02:32 CEST 2014
[INFO] Final Memory: 30M/345M
[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project camunda-engine: Could not resolve depe
ndencies for project org.camunda.bpm:camunda-engine:jar:7.2.0-SNAPSHOT: The foll
owing artifacts could not be resolved: org.camunda.bpm.model:camunda-bpmn-model:
jar:7.2.0-SNAPSHOT, org.camunda.bpm.model:camunda-cmmn-model:jar:7.2.0-SNAPSHOT:
 Could not transfer artifact org.camunda.bpm.model:camunda-bpmn-model:jar:7.2.0-
SNAPSHOT from/to camunda-snapshots (https://app.camunda.com/nexus/content/reposi
tories/camunda-bpm-snapshots/): 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 :camunda-engine




Am 29.07.2014 10:53, schrieb Christian Lipphardt:

<repository>
  <id>camunda-snapshots</id>
  <releases>
    <enabled>false</enabled>
  </releases>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>


signature.asc

Daniel Meyer

unread,
Jul 29, 2014, 8:05:44 AM7/29/14
to camunda...@googlegroups.com
Hi Simon,

strange... Apparently it does not accept the certificate of our nexus?

Daniel
-- 
---------------------------------------------
We are Hiring Open Source Developers!
http://www.camunda.org/community/jobs.html
---------------------------------------------
Blog: http://blog.camunda.org
Twitter: https://twitter.com/meyerdan
---------------------------------------------
camunda services GmbH - The Business Process Company Zossener Straße 55-58 - 10961 Berlin
www.camunda.com - in...@camunda.com
---------------------------------------------
Daniel Meyer
Project Lead
Telefon +49  30 664 04 09 – 00
daniel...@camunda.com
---------------------------------------------
Amtsgericht Charlottenburg: HRB 113230 B 
Geschäftsführer: Jakob Freund, Bernd Rücker 
---------------------------------------------

Simon Zambrovski

unread,
Jul 29, 2014, 8:36:27 AM7/29/14
to camunda...@googlegroups.com
What should I update?
Java? Maven?


-- 
Simon Zambrovski 

Dipl.-Ing.- Inf.
E-Mail: si...@zambrovski.org
Tel.: +49 176 16169010
Internet: http://simon.zambrovski.org/
Twitter: @zambrovski


Ich benutze GnuPG und EnigMail, um die E-Mail Kommunikation abzusichern.
Mein Schlüssel ist 0x3B03A36B. Fragen Sie mich gerne danach.
--
You received this message because you are subscribed to the Google Groups "camunda BPM platform contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-dev/53D78E0D.9000705%40camunda.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Meyer

unread,
Jul 29, 2014, 8:52:42 AM7/29/14
to camunda...@googlegroups.com
Strange, this never happend here.

You could try to update to maven 3.1.x? This is what I use:

Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200)
Maven home: /home/meyerd/Programs/apache-maven-3.1.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /home/meyerd/Programs/jdk1.7.0_51/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-20-generic", arch: "amd64", family: "unix"

For more options, visit https://groups.google.com/d/optout.

Simon Zambrovski

unread,
Jul 29, 2014, 9:31:39 AM7/29/14
to camunda...@googlegroups.com
Ok, I found the mistake, it was on my site and had to do with security features I did in Maven for a different project.
Platform is build is running, sorry for confusion.

Kind regards

For more options, visit https://groups.google.com/d/optout.


--
signature.asc

Daniel Meyer

unread,
Jul 29, 2014, 9:33:29 AM7/29/14
to camunda...@googlegroups.com
Hi Simon,

no problem! Glad it worked out.

Cheers,
daniel
Reply all
Reply to author
Forward
0 new messages