[ http://jira.codehaus.org/browse/MPIR-42?page=all ] Brett Porter closed MPIR-42: ----------------------------
Assign To: Brett Porter Resolution: Won't Fix the plugin shouldn't be smarter. It is using <scm><url/> just as it should. The issue is the confusion caused by the core's appending the artifactId - and there are already open issues to watch there for maven 2.1. > use of POM artifactId for svn report creates issues when file layout doesn't > match artifact names > ------------------------------------------------------------------------------------------------- > > Key: MPIR-42 > URL: http://jira.codehaus.org/browse/MPIR-42 > Project: Maven 2.x Project Info Reports Plugin > Type: Bug > Reporter: Jerome Lacoste > Assignee: Brett Porter > Priority: Critical > > > See > http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/source-repository.html > The webstart project is a multiproject plugin with the following layout: > webstart-maven-plugin/pom.xml (artifactid = webstart-maven-plugin-parent) > webstart-maven-plugin/plugin/pom.xml (artifactid = webstart-maven-plugin) > the ScmReport uses the artifactid and a URL built using the artifactIds to > construct the scm report information. E.g. : > private void anonymousAccessSVN( SvnScmProviderRepository svnRepo ) > { > paragraph( i18n.getString( "project-info-report", locale, > "report.scm.anonymousaccess.svn.intro" ) ); > StringBuffer sb = new StringBuffer(); > sb.append( "$ svn checkout " ).append( svnRepo.getUrl() ).append( > " " ).append( model.getArtifactId() ); > verbatimText( sb.toString() ); > } > All generated svn information (web, svn command line) is then wrong. > Instead of > https://svn.mojo.codehaus.org/mojo/trunk/mojo/mojo-sandbox/webstart-maven-plugin-parent/webstart-maven-plugin > one should have: > https://svn.mojo.codehaus.org/mojo/trunk/mojo/mojo-sandbox/webstart-maven-plugin/plugin > Etc... > Should I really override all my pom.xml <scm> entries, or should the plugin > be smarter and use the file layout instead? -- 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