You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shelley B (JIRA)" <ji...@codehaus.org> on 2007/07/25 17:57:13 UTC

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

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

        

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

Posted by "luke w patterson (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Evgeny Mandrikov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205356#action_205356 ] 

Evgeny Mandrikov commented on MCHANGELOG-67:
--------------------------------------------

Is there a progress?

> 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

        

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

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

Dennis Lundberg commented on MCHANGELOG-67:
-------------------------------------------

I am not in favor of adding this feature.

If you create a branch you must update the SCM section in the POM. Otherwise you won't be able to do a release from the branch.

> 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

        

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

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

Shelley B commented on MCHANGELOG-67:
-------------------------------------

Another use case to validate this feature request is to allow local builds to succeed when the scm is unavailable (if either the server is down or the build is occurring offline).

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