You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul Spencer <pa...@apache.org> on 2006/05/19 19:19:23 UTC
[M2] The artifactId is getting append to the some urls when the
and tags are inherited.
The artifactId is getting append to the some urls when the <url> and
<scm> tags are inherited.
** From parent POM.XML
<artifactId>master-pom</artifactId>
<url>
http://foo.com/projects/bar/${pom.artifactId}/${pom.version}
</url>
<scm>
<connection>
scm:cvs:pserver:cvsanon@foo.com:/mikon:${pom.artifactId}
</connection>
<developerConnection>
scm:cvs:pserver:${maven.username}@foo.com:/bar:${pom.artifactId}
</developerConnection>
<url>http://foo.com/viewcvs/bar/${pom.artifactId}/</url>
</scm>
** From project
<artifactId>project-pom</artifactId>
<version>1.0-SNAPSHOT</version>
Resulting values displayed on the site, as generated by the various reports.
Project URL as displayed in the report titled Project Summary:
http://foo.com/projects/bar/project-pom/1.0-SNAPSHOT/project-pom
As displayed in the report title Source Repository
Anonymous access
scm:cvs:pserver:cvsanon@foo.com:/mikon:project-pom/project-pom
Developer access
scm:cvs:pserver:username@foo.com:/bar:project-pom/project-pom
Web Access
http://foo.com/viewcvs/bar/project-pom/project-pom
Expected values, which is also displayed when the <url> and <scm> tags
are NOT inherited.
Project URL as displayed in the report titled Project Summary:
http://foo.com/projects/bar/project-pom/1.0-SNAPSHOT
As displayed in the report title Source Repository
Anonymous access scm:cvs:pserver:cvsanon@foo.com:/mikon:project-pom
Developer access scm:cvs:pserver:username@foo.com:/bar:project-pom
Web Access http://foo.com/viewcvs/bar/project-pom
I am using maven 2.0.4 and generating the site using the following
command to insure all plugins are current:
mvn site -U
Paul Spencer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org