KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am working on an open source library and want to have releases sent to an internal artifactory server. I have been using maven's distributionManagement and overriding altDeploymentRepository to point to the internal server (so its never in the pom). This works fine when I do deploy:deploy but when I use the maven release plugin this seems to get ignored. mvn clean -DaltDeploymentRepository=central::default::internalhost deploy ## works mvn clean -DaltDeploymentRepository=central::default::internalhost release:perform ## fails, doesn't pick up this setting How can I override the repository via command line when the release plugin runs deploy?
Tags (comma-separated)
Save Edits
Cancel