maven - mvn to deploy in two or more repo repository in single deploy - Stack Overflow

admin2025-04-25  2

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.

转载请注明原文地址:http://anycun.com/QandA/1745596402a90957.html