[ http://jira.codehaus.org/browse/MPIR-42?page=comments#action_63255 ]
Brett Porter commented on MPIR-42: ---------------------------------- I'm not sure of the issue. If you can't find it, feel free to file a new one. In the end it will get linked up or resolved. To change the second element in the URL, you can set <checkoutDirectoryName> in the plugin configuration. > 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