[
http://jira.codehaus.org/browse/MNG-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter closed MNG-3054.
-----------------------------
Assignee: Brett Porter
Resolution: Duplicate
Fix Version/s: (was: 2.1-alpha-1)
> [regression] maven reports build success even on error.
> -------------------------------------------------------
>
> Key: MNG-3054
> URL: http://jira.codehaus.org/browse/MNG-3054
> Project: Maven 2
> Issue Type: Bug
> Components: Errors
> Affects Versions: 2.1-alpha-1
> Reporter: Brett Porter
> Assignee: Brett Porter
> Priority: Critical
>
> See linked issue for an example.
> The output is something like this:
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to construct build plan for:
> test:exec-phase-binding-test:jar:1.0-SNAPSHOT ( task-segment: [install] ).
> Reason: No phase specified for goal: aspectj-report in plugin:
> org.codehaus.mojo:aspectj-maven-plugin from POM:
> test:exec-phase-binding-test:jar:1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Jun 14 11:50:42 EST 2007
> [INFO] Final Memory: 2M/5M
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Jun 14 11:50:42 EST 2007
> [INFO] Final Memory: 2M/5M
> [INFO]
> ------------------------------------------------------------------------
> In addition, the exit code is 0, instead of 1 as desired.
--
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