xml - How to deploy one maven project to different nexus locations -


my maven-project build in "modes" production , develop through maven profiles.

at moment deploy production code nexus repo, have deploy develop mode well, should stored @ nexus-folder, because have use project in maven project, 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 me here? have create second pom.xml, because artifactid of pom.xml unique , cannot deploy nexus "mavenproject-production" and/or "mavenproject-develop" inside 1 pom?

best regards


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -