Setting up a project with community edition from camunda spring initializr works fine and able to start the app and can go through webapps of embedded process engine but the same does not work with enterprise maven dependencies as mentioned over here –https://docs.camunda.org/get-started/apache-maven/.
Have included camunda-license.txt in resources folder and the dependencies are
Even I am also facing the same issue. Provided the enterprise edition dependencies in pom.xml and included the camunda-license.txt in resources folder.
ERROR] Failed to execute goal on project hello-world-demo: Could not resolve dependencies for project com.vodafone.m2m.gdsp:hello-world-demo:jar:1.0.0-SNAPSHOT: The following artifacts could not be resolved: org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest-ee:jar:7.13.0-ee, org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp-ee:jar:7.13.0-ee, org.camunda.bpm:camunda-bom:pom:7.13.0-ee: Could not find artifact org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest-ee:jar:7.13.0-ee in central (https://repo.maven.apache.org/maven2) -> [Help 1]
@Niall- pom.xml prompts with a error saying Missing artifact org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp-ee:jar:7.13.0-ee . Those jars required are missing or may be not able to download. This is the error.
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.camunda.bpm:camunda-bom:pom:7.13.0-ee is missing, no dependency information available
[WARNING] The POM for org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp-ee:jar:7.13.0-ee is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
Please find below the known issue in Artifactory while configuring Nexus repository as a Maven remote proxy.
While testing the connection in Artifactory, if you get “Connection failed: Error 404: Not Found” message then you can ignore it, and continue to add the repository. The maven build should be able to download dependencies without any issues.
Thank you @aravindhrs
Is the login to nexus repository a manual process to be done or does it happen from maven when all the proxy settings.xml is included. if not, how to login to nexus and access these.
@aravindhrs- Is that embedded in spring-boot ? . We need the embedded process engine(Not a separate setup using ZIP file) and the repository URL displays 404 not found even after included in settings.xml
The same way community version works with embedded process engine and no separate setup was done.
@Niall, Below artifact is needs to be added in docs (missing): Other enterprise artifact name ends with suffix -ee. But for spring-boot-starter-rest artifact there’s no suffix called -ee.
[INFO]
[INFO] ---------------< com.vodafone.m2m.gdsp:hello-world-demo >---------------
[INFO] Building hello-world-demo 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from : https://app.camunda.com/nexus/content/repositories/camunda-bpm-ee/org/camunda/bpm/springboot/camunda-bpm-spring-boot-starter-rest/7.13.0-ee/camunda-bpm-spring-boot-starter-rest-7.13.0-ee.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.499 s
[INFO] Finished at: 2020-08-23T19:04:11+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hello-world-demo: Could not resolve dependencies for project com.vodafone.m2m.gdsp:hello-world-demo:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:jar:7.13.0-ee: Failed to read artifact descriptor for org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:jar:7.13.0-ee: Could not transfer artifact org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:pom:7.13.0-ee from/to camunda-bpm-nexus-ee
Yes,I am able to access the nexus url : https://app.camunda.com/nexus/ and able to download the jar also but from my application the required dependencies are not downloading and getting the below error.
ERROR] Failed to execute goal on project hello-world-demo: Could not resolve dependencies for project com.vodafone.m2m.gdsp:hello-world-demo:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:jar:7.13.0-ee: Failed to read artifact descriptor for org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:jar:7.13.0-ee: Could not transfer artifact org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:pom:7.13.0-ee from/to camunda-bpm-nexus-ee (https://app.camunda.com/nexus/content/repositories/camunda-bpm-ee): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [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.
I am able to login to nexus with the username and password.
Changes done in the pom.xml as mentioned in the above image. After adding those repositories now the actual issue is :
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Able to login to nexus repository but mvn install not able to pickup those dependencies
[INFO] Building sampledocker 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://app.camunda.com/nexus/content/repositories/camunda-bpm-ee/org/camunda/bpm/camunda-bom/7.13.0-ee/camunda-bom-7.13.0-ee.pom
[INFO] Downloading: https://app.camunda.com/nexus/content/repositories/camunda-bpm-ee/org/camunda/bpm/springboot/camunda-bpm-spring-boot-starter-webapp-ee/7.13.0-ee/camunda-bpm-spring-boot-starter-webapp-ee-7.13.0-ee.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.981 s
[INFO] Finished at: 2020-08-23T23:50:43+05:30
[INFO] Final Memory: 18M/153M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sampledocker: Could not resolve dependencies for project com.camunda.docker:sampledocker:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.camunda.bpm:camunda-bom:pom:7.13.0-ee: Failed to read artifact descriptor for org.camunda.bpm:camunda-bom:pom:7.13.0-ee: Could not transfer artifact org.camunda.bpm:camunda-bom:pom:7.13.0-ee from/to camunda-bpm-nexus-ee (https://app.camunda.com/nexus/content/repositories/camunda-bpm-ee): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]