Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
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
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?
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.