Hi All,
Unable to download camunda optimize plugin in pom.xml
**ERROR:**Failed to execute goal on project rpa: Could not resolve dependencies for project camunda:rpa:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.camunda.optimize:plugin:jar:3.3.0: Failed to read artifact descriptor for org.camunda.optimize:plugin:jar:3.3.0: Could not transfer artifact org.camunda.optimize:plugin:pom:3.3.0 from/to camunda-bpm-nexus (https://app.camunda.com/nexus/repository/camunda-optimize/): Access denied to https://app.camunda.com/nexus/repository/camunda-optimize/org/camunda/optimize/plugin/3.3.0/plugin-3.3.0.pom. Error code 401, Unauthorized → [Help 1]
[ERROR]
IT SHOWS ACCESSDENIED IN MAVEN BUILD BUT I CAN DOWNLOAD ALL ENTERPRISE JARS USING OUR CAMUNDA ENTERPRISE NEXUS CREDITS .
BELOW IS MY SEETINGS.XML
camunda-bpm-nexus-ee XYZ LMO myprofile
<repository>
<id>camunda-bpm-ee</id>
<name>XYZ</name>
<url>https://app.camunda.com/nexus/repository/camunda-bpm-ee/</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>myprofile</activeProfile>
</activeProfiles>
***********************************************************
MY POM.XML
<?xml version="1.0" encoding="UTF-8"?>
4.0.0
camunda
rpa
0.0.1-SNAPSHOT
Camunda Spring Boot Application
Spring Boot Application using Camunda. [The project has been generated by the Maven archetype ‘camunda-archetype-spring-boot-7.14.0’]
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<version.java>1.8</version.java>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<failOnMissingWebXml>false</failOnMissingWebXml>
org.camunda.bpm
camunda-bom
${camunda.version}
import
pom
org.springframework.boot
spring-boot-dependencies
${springBoot.version}
pom
import
org.camunda.bpm.springboot
camunda-bpm-spring-boot-starter-webapp-ee
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
</dependency>
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<!-- required to use H2 as a file based database (otherwise it's in-memory) -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<!-- Required to use Spin dataformat support -->
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-dataformat-all</artifactId>
</dependency>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-plugin-spin</artifactId>
</dependency>
<!-- Used to generate test coverage reports, see https://github.com/camunda/camunda-bpm-process-test-coverage -->
<dependency>
<groupId>org.camunda.bpm.extension</groupId>
<artifactId>camunda-bpm-process-test-coverage</artifactId>
<version>0.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.camunda.bpm.extension</groupId>
<artifactId>camunda-bpm-assert-scenario</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
<!-- java util logging => slf4j -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.camunda.optimize</groupId>
<artifactId>plugin</artifactId>
<version>3.3.0</version>
</dependency>
<!-- Add your own dependencies here, if in compile scope, they are added to the jar -->
<!-- JAXB -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>runtime</scope>
</dependency>
<repository>
<id>camunda-bpm-nexus-ee</id>
<name>camunda-bpm-nexus-ee</name>
<url>https://app.camunda.com/nexus/repository/camunda-bpm-ee/</url>
</repository>
<repository>
<id>camunda-bpm-nexus</id>
<name>camunda-bpm-nexus</name>
<url>https://app.camunda.com/nexus/repository/camunda-optimize/</url>
</repository>
<!-- enable this for EE dependencies (requires credentials in ~/.m2/settings.xml)
<repository>
<id>camunda-bpm-nexus-ee</id>
<name>Camunda Enterprise Maven Repository</name>
<url>https://app.camunda.com/nexus/content/repositories/camunda-bpm-ee</url>
</repository>
-->
${project.artifactId}
org.springframework.boot
spring-boot-maven-plugin
${springBoot.version}
ZIP
repackage
org.codehaus.mojo
exec-maven-plugin
1.6.0
camunda.rpa.CamundaApplication
org.apache.maven.plugins
maven-assembly-plugin
3.1.0
package
single
${project.artifactId}
jar-with-dependencies
*************************************************************************
note:
i have right credits of Nexus repo because i am able to login to repo