My maven-project is build in the "modes" production and develop through maven profiles.
At the moment I deploy the production code to the nexus repo, but now I have to deploy the develop mode as well, but it should be stored at another nexus-folder, because I have to use this project in another maven project, like this:
<!-- Profile A: -->
<dependency>
<groupId>com.mavenproject</groupId>
<artifactId>mavenproject-production</artifactId>
<version>1.0</version>
</dependency>
<!-- Profile B: -->
<dependency>
<groupId>com.mavenproject</groupId>
<artifactId>mavenproject-develop/artifactId>
<version>1.0</version>
</dependency>
Could anyone help me here? Do I have to create a second pom.xml, because the artifactId of a pom.xml is unique and I cannot deploy to nexus with "mavenproject-production" and/or "mavenproject-develop" inside one pom?
Best Regards