Deploy to an interal repository, different from the one definied in the pom.xml -------------------------------------------------------------------------------
Key: MDEPLOY-26 URL: http://jira.codehaus.org/browse/MDEPLOY-26 Project: Maven 2.x Deploy Plugin Type: New Feature Versions: 2.1 Reporter: Geoffrey De Smet Fix For: 2.3 Use-case 1 I (not a developper) checkout Codehaus Mojo's jasperreports plugin and want to install it in my company remote repository. The pom.xml is read-only of the jasperreports (because I might create patches later). Use-case 2 I checkout spring-richclient and want to deploy the latest snapshot in my company remote repository. However the configured repistory in the pom.xml is another one. I cannot use the repo of spring-richclient, because they sometimes break backwards compability at the moment in their snapshots. mvn deploy:deploy will try to deploy it to the repository defined in the pom.xml mvn deploy:deploy-file is to much hassle with the exported pom, ..., especially in a multiproject mvn deploy -DdeploymentRepository=scp://myInteralRepository does not work, deploymentRepository is ignored. A solution would be with mvn deploy -DsomeParameter=scp://myInteralRepository See also the user mailing list thread "mvn deploy external project to internal remote repository" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira