You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kuno Baeriswyl (JIRA)" <ji...@codehaus.org> on 2008/10/22 16:48:19 UTC
[jira] Created: (MCHANGELOG-87) Wrong svn path if artifactid !=
directory
Wrong svn path if artifactid != directory
-----------------------------------------
Key: MCHANGELOG-87
URL: http://jira.codehaus.org/browse/MCHANGELOG-87
Project: Maven 2.x Changelog Plugin
Issue Type: Bug
Affects Versions: 2.1
Environment: windows, Subversion 1.5
Reporter: Kuno Baeriswyl
site generate fails, since artifactId and directory name are not equal (project-foo != project_foo) :
[INFO] Executing: svn --non-interactive log -v -r "{2008-09-22 14:39:55 +0000}:{2008-10-23 14:39:55 +0000}" http://$repo$/trunk/sub1/project-foo
[INFO] Working directory: d:\maven-projects\bats-upgrade\sub1\project_foo
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: '/mcs/bats-upgrade/!svn/bc/18337/trunk/sub1/project-foo' path not found
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation
Embedded error: Error rendering Maven report: An error has occurred during changelog command :
Command failed.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28 seconds
[INFO] Finished at: Wed Oct 22 16:39:56 CEST 2008
[INFO] Final Memory: 35M/512M
[INFO] ------------------------------------------------------------------------
--
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-87) Wrong svn path if artifactid !=
directory
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MCHANGELOG-87.
----------------------------------
Resolution: Won't Fix
Add a scm element in your pom and everything will work.
> Wrong svn path if artifactid != directory
> -----------------------------------------
>
> Key: MCHANGELOG-87
> URL: http://jira.codehaus.org/browse/MCHANGELOG-87
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: windows, Subversion 1.5
> Reporter: Kuno Baeriswyl
>
> site generate fails, since artifactId and directory name are not equal (project-foo != project_foo) :
> [INFO] Executing: svn --non-interactive log -v -r "{2008-09-22 14:39:55 +0000}:{2008-10-23 14:39:55 +0000}" http://$repo$/trunk/sub1/project-foo
> [INFO] Working directory: d:\maven-projects\bats-upgrade\sub1\project_foo
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: '/mcs/bats-upgrade/!svn/bc/18337/trunk/sub1/project-foo' path not found
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error has occurred during changelog command :
> Command failed.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 28 seconds
> [INFO] Finished at: Wed Oct 22 16:39:56 CEST 2008
> [INFO] Final Memory: 35M/512M
> [INFO] ------------------------------------------------------------------------
--
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-87) Wrong svn path if artifactid !=
directory
Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155155#action_155155 ]
John Allen commented on MCHANGELOG-87:
--------------------------------------
there a quite a few situations where maven assumes the artifact name does equal the svn dir name. trying to break that convention leads to problems in <scm> construction, as you've found out. work around is to either name them to match or to declare <scm> manually in every project.
> Wrong svn path if artifactid != directory
> -----------------------------------------
>
> Key: MCHANGELOG-87
> URL: http://jira.codehaus.org/browse/MCHANGELOG-87
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: windows, Subversion 1.5
> Reporter: Kuno Baeriswyl
>
> site generate fails, since artifactId and directory name are not equal (project-foo != project_foo) :
> [INFO] Executing: svn --non-interactive log -v -r "{2008-09-22 14:39:55 +0000}:{2008-10-23 14:39:55 +0000}" http://$repo$/trunk/sub1/project-foo
> [INFO] Working directory: d:\maven-projects\bats-upgrade\sub1\project_foo
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: '/mcs/bats-upgrade/!svn/bc/18337/trunk/sub1/project-foo' path not found
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error has occurred during changelog command :
> Command failed.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 28 seconds
> [INFO] Finished at: Wed Oct 22 16:39:56 CEST 2008
> [INFO] Final Memory: 35M/512M
> [INFO] ------------------------------------------------------------------------
--
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