[
http://jira.codehaus.org/browse/MBUILDHELPER-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MBUILDHELPER-25.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.6
Assignee: Robert Scholte
Although Dan's comment is right, there can be other reasons why the removal
failed.
The maven-clean-plugin has the same feature, but calls it failOnError.
I've chosen to use this name instead of removeCritical (most Maven-users will
recognize this better).
Thanks for the patch, fixed in [rev. 14187
|http://fisheye.codehaus.org/changelog/mojo/?cs=14187]
> Add removeCritical option to the RemoveLocalArtifactMojo
> --------------------------------------------------------
>
> Key: MBUILDHELPER-25
> URL: http://jira.codehaus.org/browse/MBUILDHELPER-25
> Project: Maven 2.x Build Helper Plugin
> Issue Type: Improvement
> Affects Versions: 1.5
> Environment: Windows, Java 6, Maven 2.2.1
> Reporter: Anthony Whitford
> Assignee: Robert Scholte
> Fix For: 1.6
>
> Attachments: RemoveLocalArtifactMojo-removeCritical.patch
>
>
> My corporate parent pom has a step to run
> {{build-helper:remove-project-artifact}} which helps avoid local repositories
> from growing out of control.
> Occasionally, my continuous integration server fails when two projects are
> building at the same time that have a dependency. For example, Project A
> depends on Project B, and if Project B is trying to remove its artifact(s)
> while Project A is building, then the step fails. The failures are a
> nuisance.
> I propose adding a {{removeCritical}} flag to the {{RemoveLocalArtifactMojo}}
> that can control whether a failure is critical or not. In my case, I would
> like to _try_ and run the cleanup, but if it fails, a warning is OK and I'd
> like Maven to just continue... (After all, it may be successful on a follow
> up build.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email