You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ivan Bondarenko (JIRA)" <ji...@codehaus.org> on 2013/10/11 18:48:52 UTC

[jira] (MINSTALL-96) Skip option for install-file

    [ https://jira.codehaus.org/browse/MINSTALL-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=334009#comment-334009 ] 

Ivan Bondarenko commented on MINSTALL-96:
-----------------------------------------

The same need here, but for a bit different task.
We need to run install-file on internal properties condition. Currently we can only put intall-file into profile (only external parameter condition will work) or perform operation in any case. We have chosen later as lesser of two evils, but now some artifacts are installed twice (not a good practice).
                
> Skip option for install-file
> ----------------------------
>
>                 Key: MINSTALL-96
>                 URL: https://jira.codehaus.org/browse/MINSTALL-96
>             Project: Maven Install Plugin
>          Issue Type: Improvement
>          Components: install:install-file
>    Affects Versions: 2.4
>            Reporter: Tiemo Vorschütz
>         Attachments: InstallFileMojo.java.patch
>
>
> For my process it would be helpful to also introduce a skip option for install:install-file to be able to disable install-file creation by setting a pom property.
> This could be necessary if the build chain is designed by a parent pom and should by simply modified inside the child pom.
> In my case all plugin definitions are outsourced to the parent pom file and should only be set by properties by the developers to take care that modifications to the build chain are inherited.
> I attached a patch to enable skipping also for install-file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira