Optionnal Attach artifact
-------------------------
Key: MBUILDHELPER-20
URL: http://jira.codehaus.org/browse/MBUILDHELPER-20
Project: Maven 2.x Build Helper Plugin
Issue Type: New Feature
Affects Versions: 1.6
Reporter: Wauquier Francois
Hi
I would like to be able to skip the attach-artifact on certain conditions.
I have a parent pom and many childs. Some childs builds an artifact with
antrun, while others don't.
The maven-antrun-plugin and build-helper-maven-plugin are configured in the
parent pom.xml
I am able to skip the antrun with
<tasks unless="mySkipProperty">
but not build-helper
I have this fail message on the deploy phase :
[ERROR] BUILD ERROR
[INFO] Error installing artifact: File ... does not exist
Those 2 solutions seems ok for me:
- add plugin property 'skipAttach' (default: false)
- add plugin property 'failOnFileNotFound' (default: false)
Thanks
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email