pmann
pmann

Reputation: 759

mvn to deploy in two or more repo repository in single deploy

Is it possible to deploy artifacts generated in mvn build to be deployed in more then one repository in single build or need to execute deploy for multiple times for the repository

I have a requirement in which I need to deploy the built artifact in multiple repositories(one in nexus and other in artifactory). I have tried defining two profiles in pom file which contains repository details and I am activating both profile in the build command but only one profile is getting activated and upload is working for only one repository.

Upvotes: 0

Views: 19

Answers (0)

Related Questions