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:[EMAIL PROTECTED]:/mikon:${pom.artifactId}
    </connection>
    <developerConnection>
      scm:cvs:pserver:[EMAIL PROTECTED]:/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:[EMAIL PROTECTED]:/mikon:project-pom/project-pom
    Developer access
       scm:cvs:pserver:[EMAIL PROTECTED]:/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:[EMAIL PROTECTED]:/mikon:project-pom
    Developer access  scm:cvs:pserver:[EMAIL PROTECTED]:/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to