You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brian K. Wallace (JIRA)" <ji...@codehaus.org> on 2006/03/07 17:14:22 UTC

[jira] Created: (MPIR-33) ScmReport doesn't accept non-artifactId URLs

ScmReport doesn't accept non-artifactId URLs
--------------------------------------------

         Key: MPIR-33
         URL: http://jira.codehaus.org/browse/MPIR-33
     Project: Maven 2.x Project Info Reports Plugin
        Type: Bug

    Versions: 2.0-beta-3    
    Reporter: Brian K. Wallace


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.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPIR-33) ScmReport doesn't accept non-artifactId URLs

Posted by "Brian K. Wallace (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPIR-33?page=comments#action_60395 ] 

Brian K. Wallace commented on MPIR-33:
--------------------------------------

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>


> ScmReport doesn't accept non-artifactId URLs
> --------------------------------------------
>
>          Key: MPIR-33
>          URL: http://jira.codehaus.org/browse/MPIR-33
>      Project: Maven 2.x Project Info Reports Plugin
>         Type: Bug

>     Versions: 2.0-beta-3
>     Reporter: Brian K. Wallace

>
>
> 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.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org