You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "luke w patterson (JIRA)" <ji...@codehaus.org> on 2009/03/17 18:42:13 UTC

[jira] Commented: (MCHANGELOG-67) Add parameter to allow errors during build

    [ http://jira.codehaus.org/browse/MCHANGELOG-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170009#action_170009 ] 

luke w patterson commented on MCHANGELOG-67:
--------------------------------------------

What is the current workaround for the scenario of "when a project is copied or branched temporarily"?

I am trying to build from a branch and the build blows up when it gets to changelog. 

I like the idea:
"An optional boolean parameter such as ${maven.changelog.error.ignore} could be quite convenient in such cases."

> Add parameter to allow errors during build
> ------------------------------------------
>
>                 Key: MCHANGELOG-67
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-67
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: New Feature
>            Reporter: Shelley Baker
>            Priority: Minor
>
> Adding a parameter to prevent BUILD ERRORs when an error occurs in the changelog plugin could be quite convenient in certain cases.  For example, when a project is copied or branched temporarily (or initially created), the SCM URLs defined in the POM may not always be updated.  When the SCM path is not found, it causes the entire build to fail.
> {noformat}
> [INFO] Generate "Change Log" report.
> [INFO] Generating changed sets xml to: C:\the-project\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2007-06-25 15:25:29 +0000}:{2007-07-26 15:25:29 +0000}" https://scm.url/svn/the.group.id/trunk/the-project/
> [INFO] Working directory: C:\the-project\src\main\java
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: REPORT request failed on '/svn/!svn/bc/28239/the.group.id/trunk/the-project'
> svn: '/svn/!svn/bc/28239/the.group.id/trunk/the-project' path not found
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error is occurred during changelog command :
> Command failed.
> {noformat}
> An optional boolean parameter such as ${maven.changelog.error.ignore} could be quite convenient in such cases.

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