[ http://jira.codehaus.org/browse/MNG-660?page=comments#action_43504 ] 

Yann Le Du commented on MNG-660:
--------------------------------

The duplicate svn is on purpose. As described in 
http://maven.apache.org/reference/plugins/scm/scmurl.html, the first one is for 
the provider and the second one for the protocol (we use svn protocol and not 
http). As a matter of fact, the generated Project Info page displays the 
erroneous info :

The source can be checked out anonymously from SVN with this command:
$>svn checkout //host:3691/COMMON/trunk/common-framework common-framework

> Project info reports plugin fails on unvalid SVN repository connection
> ----------------------------------------------------------------------
>
>          Key: MNG-660
>          URL: http://jira.codehaus.org/browse/MNG-660
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugins
>     Versions: 2.0-beta-1
>     Reporter: Yann Le Du

>
>
> Using the trunk build (rev. 225332)
> My POM contains 
>   <scm> 
> <connection>scm:svn:svn://host:3691/COMMON/trunk/commonframework/</connection>
>  </scm>
> and
>   <reporting> <plugins> [...] <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-project-info-reports-plugin</artifactId>
>   </plugin> </plugins> </reporting>
> site:site fails with the following error :
> [INFO] Generate "Source Repository" report.
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Diagnosis: Error during site generation
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] Cause: org.apache.maven.plugin.MojoExecutionException: Error during 
> site generation
> at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:372)
> ...
> Caused by: java.lang.IllegalArgumentException: The SVN repository connection 
> is not valid.
> at 
> org.apache.maven.report.projectinfo.ScmReport$ScmRenderer.getSvnRoot(ScmReport.java:427)
> ...

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to