You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jim Crossley (JIRA)" <ji...@codehaus.org> on 2006/11/22 16:14:31 UTC

[jira] Created: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Links are broken for viewcvs.cgi
--------------------------------

                 Key: MCHANGELOG-52
                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
             Project: Maven 2.x Changelog Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-1, 2.0
         Environment: cvs on linux
            Reporter: Jim Crossley


My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.

I can hack sort of a fix by adding this to the plugin element:
  <configuration>
    <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
  </configuration>
But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=comments#action_82305 ] 
            
Dennis Lundberg commented on MCHANGELOG-52:
-------------------------------------------

It turns out that a release of Maven SCM came sooner than I thought. This plugin has been updated to used Maven SCM 1.0-beta-4. I've deployed a new SNAPSHOT of the plugin. Would you mind giving it a try to see if this update solves your problem.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Jim Crossley (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97979 ] 

Jim Crossley commented on MCHANGELOG-52:
----------------------------------------

I agree this should be reopened, but not as originally described.  I now get the same problem Stefan describes, where src/main/java is missing from the URL generated for each change.  The good news is that the 'c' is back!  ;-)  

I did confirm that MCHANGELOG-56 is fixed, however.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Jim Crossley (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=comments#action_80765 ] 
            
Jim Crossley commented on MCHANGELOG-52:
----------------------------------------

The <scmUrl> element in the description is inconsistent with my example.  It should be this:
<scmUrl>http://cvs/viewcvs.cgi/myproject/src/main/java/c</scmUrl>

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0, 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Updated: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=all ]

Dennis Lundberg updated MCHANGELOG-52:
--------------------------------------

    Affects Version/s:     (was: 2.0)

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Jim Crossley (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=comments#action_82432 ] 
            
Jim Crossley commented on MCHANGELOG-52:
----------------------------------------

Sorry, Dennis.  I get slightly different output now, but ultimately with the same error...

[INFO] [changelog:changelog]
[INFO] Generating changed sets xml to: /home/jim/src/sdv/sdv-rpc/target/changelo
g.xml
[INFO] Executing: cvs -z3 -f -t -d :pserver:ads@cvs:/usr/local/cvsroot -q log -d
 2006-11-11T20:11:32-0500<2006-12-12T20:11:32-0500
[INFO] Working directory: /home/jim/src/sdv/sdv-rpc/src/main/java
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR]   -> main: Session ID is XKXsAdIg8i0mEaYr
  -> main loop with CVSROOT=/usr/local/cvsroot
cvs [log aborted]: Can't parse date/time: `2006-11-11T20:11:32-0500'

Any other ideas?

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Reopened: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Jim Crossley (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Crossley reopened MCHANGELOG-52:
------------------------------------


The URL generated for each changelog entry is missing the string, "src/main/java", so the links are rendered broken.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Jim Crossley (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97996 ] 

Jim Crossley commented on MCHANGELOG-52:
----------------------------------------

No, I don't set sourceDirectory in my pom.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97956 ] 

Dennis Lundberg commented on MCHANGELOG-52:
-------------------------------------------

Stefan, we need more information from you to be able to reproduce your problem. A complete pom along with a description of your directory structure would be most helpful.

All changes in your SCM is considered.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Jim Crossley (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97987 ] 

Jim Crossley commented on MCHANGELOG-52:
----------------------------------------

Ok, I think I figured out what's going on and I have a workaround that fixes the links.  The problem is that the plugin's configuration parameter, basedir, defaults to ${project.build.sourceDirectory}.  IMHO, this is wrong.  It should default to the actual ${basedir} instead.  For me, the following configuration fixes this bug:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.1-SNAPSHOT</version>
        <configuration>
          <basedir>${basedir}</basedir>
        </configuration>
      </plugin>

So the answer to Stefan's question above is yes, only changes to src/main/java are considered, by default, and because of that, the resulting links are rendered broken.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Stefan Seidel (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98258 ] 

Stefan Seidel commented on MCHANGELOG-52:
-----------------------------------------

Looks good for me. Considers all changes and links are OK.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Closed: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MCHANGELOG-52.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.1, 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Closed: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MCHANGELOG-52.
-------------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: 2.0

The original problem has been solved in the 2.0 version.

The second problem is better described in MCHANGELOG-56. So closing this issue as fixed now.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>         Assigned To: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=comments#action_80816 ] 
            
Dennis Lundberg commented on MCHANGELOG-52:
-------------------------------------------

Something similar to this has been reported before and has been fixed in SVN. Can you please try using the latest version:
{code:xml}
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.0-SNAPSHOT</version>
      </plugin>
    </plugins>
  </reporting>
{code}

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Jim Crossley (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=comments#action_81191 ] 
            
Jim Crossley commented on MCHANGELOG-52:
----------------------------------------

Using 2.0-SNAPSHOT from http://people.apache.org/repo/m2-snapshot-repository/ as you request, I get a different error:

[INFO] [changelog:changelog]
[INFO] Generating changed sets xml to: /home/jim/src/myproject/target/changelog.xml
[INFO] Executing: cvs -z3 -f -d :pserver:ads@cvs:/usr/local/cvsroot -q log -d '"2006-10-28T10:40:33-0400<2006-11-28T09:40:33-0500"'
[INFO] Working directory: /home/jim/src/myproject/src/main/java
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] cvs [log aborted]: Can't parse date/time: `"2006-10-28T10:40:33-0400'

I believe this may be related to SCM-187 which appears to be fixed but possibly not yet released.  Is it possible to make the plugin use the latest scm snapshot?

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=comments#action_81220 ] 
            
Dennis Lundberg commented on MCHANGELOG-52:
-------------------------------------------

We are very close to releasing 2.0 of this plugin. I'm afraid we can't wait for another version of Maven SCM to be released. We'll have to fix this issue in a later version of  this plugin.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98015 ] 

Dennis Lundberg commented on MCHANGELOG-52:
-------------------------------------------

I have deployed a new 2.1-SNAPSHOT. Please verify that it solves this issue.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Stefan Seidel (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97938 ] 

Stefan Seidel commented on MCHANGELOG-52:
-----------------------------------------

I request this to be reopened. When the fix of MCHANGELOG-56 now got the report working for me, I get exactly this problem (missing src/main/java in the viewcvs URL). I do not have an 'scmUrl' in the 'configuration' tag as the plugin is supposed to pick up on <scm><url>...</url></scm> from the pom.xml.

Are only changes in src/main/java considered? I would suggest this as a bug then, too.

Don't know what the reporter meant with the 'c' after 'java', though.

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97990 ] 

Dennis Lundberg commented on MCHANGELOG-52:
-------------------------------------------

Thanks for digging into this Jim.

Just one more question, do you explicitly set <build>/<sourceDirectory> in your pom.xml?

> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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

        

[jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi

Posted by "Jim Crossley (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97981 ] 

Jim Crossley commented on MCHANGELOG-52:
----------------------------------------

I can't attach an entire project atm, but I did just confirm that the bug occurs in both multi and single module projects.  The single module project I tested isn't a whole lot different from what you could generate with the archetype plugin.  Here's my scm element, if that helps.

  <scm>
    <connection>scm:cvs:pserver:ads@cvs:/usr/local/cvsroot:rtsp-java</connection>
    <url>http://cvs/viewvc.cgi/rtsp-java/</url>
  </scm>

My cvs version:  Concurrent Versions System (CVS) 1.12.13 (client/server)
Tested with Maven 2.0.6 and this version of the plugin:
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.1-SNAPSHOT</version>
      </plugin>


> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
>
>
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/Bar.java', the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  Note the absence of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes beneath ${basedir} would still be broken.

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