[ 
https://jira.codehaus.org/browse/MBUILDHELPER-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MBUILDHELPER-20.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6
         Assignee: Robert Scholte

Decided together with Paul Gier to provide the {{skipAttach}} parameter.

Fixed in [rev. 14204|http://fisheye.codehaus.org/changelog/mojo/?cs=14204]

> Optionnal Attach artifact
> -------------------------
>
>                 Key: MBUILDHELPER-20
>                 URL: https://jira.codehaus.org/browse/MBUILDHELPER-20
>             Project: Maven 2.x Build Helper Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.6
>            Reporter: Wauquier Francois
>            Assignee: Robert Scholte
>             Fix For: 1.6
>
>         Attachments: AttachArtifact.java, 
> build-helper-maven-plugin-1.5.1-MBUILDHELPER-20.jar, 
> build-helper-maven-plugin-attach-artifact.zip, 
> build-helper-maven-plugin-attach-artifact.zip
>
>
> 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.
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


Reply via email to