Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-3
-
Fix Version/s: 2.0
-
Component/s: None
-
Labels:None
Description
For maven-site, the SCM url is .../maven/site/trunk/. With this defined in the POM, the ScmReport automatically adds "maven-site" (the artifactId) which results in an inaccurate SCM command and links. There should be a method for specifying "absolute" (format what's specified with no additions) SCM information as well as "default" (add artifactId) information in the POM.
This issue is related to MNG-2129 dealing with maven-site's SCM reports.
I believe I have inaccurately reported this issue. The issue appears to be more with documentation of "how/why" rather than functional. In the maven-site POM, the link is now generated correctly, however there is no documentation (that I could find) about how to make it happen.
The relevant (I believe) portion of the POM follows with the only possible indication of this functionality resting with "excludeDefaults" which is under "reporting", not the plugin report itself.
<reporting>
<excludeDefaults>true</excludeDefaults>
<!-- TODO: disable dependencies -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
</plugins>
</reporting>
<!-- repeated here so that maven-site is not appended -->
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/components/trunk/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/components/trunk/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/maven/components/trunk/</url>
</scm>