maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MCHANGELOG-48) The link generated in the report contain only one occurrence if a duplicated word is used in the scm repository url.
Date Sat, 14 Oct 2006 15:39:53 GMT
    [ http://jira.codehaus.org/browse/MCHANGELOG-48?page=comments#action_77637 ] 
            
Dennis Lundberg commented on MCHANGELOG-48:
-------------------------------------------

I have done some testing on this and have come to the conclusion that the plugin is working
as expected. I have not been able to reproduce the problem you are describing.

The method you mention take two parameters. Here's a fake example that I have used for testing:
base: 'http://svn.sourceforge.net/viewvc/dbunit/dbunit/trunk/'
target: '/trunk/pom.xml'

It takes the first token from target: "trunk" and tries to find it in base. It will not find
it until it looks at the last token. Then the two are merged into:
http://svn.sourceforge.net/viewvc/dbunit/dbunit/trunk/pom.xml

With your config this would translate into:
base: 'http://mysubversion/viewvc/lgrefapp/lgrefapp/trunk'
target: '/trunk/pom.xml'

Please try the latest SNAPSHOT and see you still experience this problem.

> The link generated in the report contain only one occurrence if a duplicated word is
used in the scm repository url.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGELOG-48
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-48
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>            Reporter: Giorgio Urto
>            Priority: Minor
>
> We have chose this svn repository layout
> <product>
> <component 1>
> .....
> <component n>
> where <product> is a svn repository, and <component 1..n > are directory
having each one it's trunk, tags and branch.
> If the product have only one component, we have product and component with equals names.
> es:  http://mysubversion/workarea/lgrefapp/lgrefapp/trunk
>          where:
>                - workarea is the root directory of all the products 
>                - the first occurrence of lgrefapp is the product
>                - the second  occurrence of lgrefapp is the component
>  
> The link generated by changelog report contains only one occurrence of lgrefapp
> es: http://mysubversion/workarea/lgrefapp/trunk/.....
> So the links are broken.
> Thank you 
> Giorgio
> Here are my configurations:
> <scm>
>     <url>http://mysubversion/viewvc/lgrefapp/lgrefapp/trunk</url>
>     <connection>scm:svn:http://mysubversion/workarea/lgrefapp/lgrefapp/trunk</connection>
> <developerConnection>scm:svn:http://oneuser@mysubversion/workarea/lgrefapp/lgrefapp/trunk</developerConnection>
>   </scm>
> <!-- CHANGELOG PLUGIN -->
>  <plugin>
>   <groupId>org.apache.maven.plugins</groupId> 
>   <artifactId>maven-changelog-plugin</artifactId> 
>   <version>2.0-SNAPSHOT</version> 
>         <reportSets>
>           <reportSet>
>             <id>dual-report</id>
>             <configuration>
>               <type>range</type>
>               <range>365</range>
>               <!--<dateFormat>dd-MM-yyyy</dateFormat>-->          
                
>             </configuration>
>             <reports>
>               <report>changelog</report>
>               <report>file-activity</report>
>               <report>dev-activity</report>              
>             </reports>
>           </reportSet>
>         </reportSets>
>  </plugin>

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

        

Mime
View raw message