allow static URLSs which don't change in derived submodules -----------------------------------------------------------
Key: MNG-5142 URL: https://jira.codehaus.org/browse/MNG-5142 Project: Maven 2 & 3 Issue Type: Bug Components: Inheritance and Interpolation Affects Versions: 3.0.3, 2.2.1 Reporter: Mark Struberg In sub-modules, URLs in the MavenModel will automatically get expanded by adding the artifactId of the very sub-module. This is fine for e.g. a SVN scm URL but breaks other SCMs like git or hg. Proposal: We should introduce a 'static:' prefix for URLs which must not get automatically expanded in submodules. An example: <scm> <developerConnection>static:scm:git:https://myserver.com/gitrepo/... The 'static:' info will get removed while parsing the pom. Compat notes: I've tried that such scm URLs with mvn-3.0.3 and mvn-2.2.1 in <scm><connection>, <developerConnection>, <url>, <distributionManagement><site><url> and got no error building my project. Of course, if you use the 'static:' prefix then you cannot release or do other site and scm tasks with an old maven version anymore. But that part is considered to be broken anyway at the moment ;) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira