Not able to download Camunda dependencies in IntelliJ

Hello,

I am not able to download Camunda dependencies in IntelliJ.
See below the errors I am having:

"C:\Program Files\Java\jdk-10\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Camunda\bpm\cam-engine "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA 2018.3\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA 2018.3\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.3\lib\idea_rt.jar=17467:C:\Program Files\JetBrains\IntelliJ IDEA 2018.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2018.3\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.3 clean

[INFO] Scanning for projectsā€¦

Downloading: https://app.camunda.com/nexus/content/groups/public/org/springframework/boot/spring-boot-dependencies/2.0.6.RELEASE/spring-boot-dependencies-2.0.6.RELEASE.pom

Downloading: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-dependencies/2.0.6.RELEASE/spring-boot-dependencies-2.0.6.RELEASE.pom

Downloading: https://app.camunda.com/nexus/content/groups/public/org/camunda/bpm/camunda-bom/7.9.0/camunda-bom-7.9.0.pom

Downloading: https://repo.maven.apache.org/maven2/org/camunda/bpm/camunda-bom/7.9.0/camunda-bom-7.9.0.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.boot:spring-boot-dependencies:pom:2.0.6.RELEASE from/to camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public): Connect to app.camunda.com:443 [app.camunda.com/91.109.21.93] failed: Connection timed out: connect @ line 21, column 25

[ERROR] Non-resolvable import POM: Could not transfer artifact org.camunda.bpm:camunda-bom:pom:7.9.0 from/to camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public): Connect to app.camunda.com:443 [app.camunda.com/91.109.21.93] failed: Connection timed out: connect @ line 29, column 25

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-actuator:jar is missing. @ line 40, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 44, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-webflux:jar is missing. @ line 49, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework:spring-webflux:jar is missing. @ line 54, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-data-jpa:jar is missing. @ line 65, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-devtools:jar is missing. @ line 135, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-jdbc:jar is missing. @ line 142, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for com.h2database:h2:jar is missing. @ line 147, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-thymeleaf:jar is missing. @ line 208, column 21

@

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR] The project org.camunda.bpm.getstarted:camunda-application:1.0-SNAPSHOT (C:\Camunda\bpm\cam-engine\pom.xml) has 11 errors

[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.boot:spring-boot-dependencies:pom:2.0.6.RELEASE from/to camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public): Connect to app.camunda.com:443 [app.camunda.com/91.109.21.93] failed: Connection timed out: connect @ line 21, column 25 -> [Help 2]

[ERROR] Non-resolvable import POM: Could not transfer artifact org.camunda.bpm:camunda-bom:pom:7.9.0 from/to camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public): Connect to app.camunda.com:443 [app.camunda.com/91.109.21.93] failed: Connection timed out: connect @ line 29, column 25 -> [Help 2]

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-actuator:jar is missing. @ line 40, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 44, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-webflux:jar is missing. @ line 49, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework:spring-webflux:jar is missing. @ line 54, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-data-jpa:jar is missing. @ line 65, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-devtools:jar is missing. @ line 135, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-jdbc:jar is missing. @ line 142, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for com.h2database:h2:jar is missing. @ line 147, column 21

[ERROR] ā€˜dependencies.dependency.versionā€™ for org.springframework.boot:spring-boot-starter-thymeleaf:jar is missing. @ line 208, column 21

[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] ProjectBuildingException - Apache Maven - Apache Software Foundation

[ERROR] [Help 2] UnresolvableModelException - Apache Maven - Apache Software Foundation

Process finished with exit code 1

Hi,

Could you please share your pom.xml file.

<project xmlns=ā€œhttp://maven.apache.org/POM/4.0.0ā€ xmlns:xsi=ā€œhttp://www.w3.org/2001/XMLSchema-instanceā€
xsi:schemaLocation=ā€œhttp://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsdā€>
<modelVersion>4.0.0</modelVersion>
<groupId>org.camunda.bpm.getstarted</groupId>
<artifactId>camunda-application</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
<camunda-bpm-spring-boot-starter.version>2.1.2</camunda-bpm-spring-boot-starter.version>
<camunda.spring-boot.version>3.0.0</camunda.spring-boot.version>
<camunda.version>7.9.0</camunda.version>
<spring-boot.version>2.0.6.RELEASE</spring-boot.version>
<java.version>10</java.version>
<maven.compiler.source>1.10</maven.compiler.source>
<maven.compiler.target>1.10</maven.compiler.target>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>${camunda.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webflux</artifactId>
</dependency>

<!ā€“<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
<version>2.0.1.RELEASE</version>
</dependency>ā€“>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>

<!ā€“<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>ā€“>

<!ā€“Camunda Dependenciesā€“>
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter</artifactId>
<version>${camunda.spring-boot.version}</version>
</dependency>

<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
<version>${camunda.spring-boot.version}</version>
</dependency>

<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
<version>${camunda.spring-boot.version}</version>
</dependency>

<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-external-task-client</artifactId>
<version>1.0.0</version>
</dependency>

<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-test</artifactId>
<version>${camunda.spring-boot.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.camunda.bpm.extension</groupId>
<artifactId>camunda-bpm-assert</artifactId>
<version>1.2</version> <!-- Use 2.0-alpha2 for the CMMN assertions preview! -->
<scope>test</scope>
</dependency>

<!ā€“<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.9.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.camunda.bpm.extension</groupId>
<artifactId>camunda-bpm-assert-java8</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>ā€“>

<dependency>
<groupId>org.camunda.bpm.extension.mockito</groupId>
<artifactId>camunda-bpm-mockito</artifactId>
<version>3.1.0</version>
<scope>test</scope>
</dependency>

<!ā€“Application Serverā€“>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>3.0.8.Final</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>

<!ā€“Database Dependenciesā€“>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>

<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>

<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0</version>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>

<!ā€“Production Database Dependenciesā€“>
<!-- <dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>12.2.0.1</version>
</dependency>ā€“>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>2.1.1</version>
</dependency>

<!ā€“Authā€“>
<!ā€“<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>3.3.0</version>
</dependency>

<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
<version>2.0.6.RELEASE</version>
</dependency>

<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap-core</artifactId>
</dependency>
ā€“>
<!ā€“Supporting Librariesā€“>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
<version>1.4.1.RELEASE</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.camunda.bpm.extension.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-test</artifactId>
<version>2.3.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<configuration>
<layout>ZIP</layout>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>camunda-bpm-nexus</id>
<name>camunda-bpm-nexus</name>
<url>https://app.camunda.com/nexus/content/groups/public</url>
</repository>
</repositories>
</project>

Hi,

Here are the possible problems when such Connection timed out is thrown:

  1. bad connection from your side
  2. the connection is blocked by your employer
  3. your ip is blocked by us because of malicious traffic

No IP/firewall rules have changed since the last 2 months on our side.

Can the IP be unblocked at your level?

Thanks.

It doesnā€™t seem to be blocked from out side. You need to check the other two options:

  1. bad connection from your side
  2. the connection is blocked by your employer

Please check your report settings in settings.xmlā€¦

Make sure your repo login info is also available in the settings.xml

1 Like