You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Frederic THOMAS (JIRA)" <ji...@codehaus.org> on 2014/01/14 12:12:49 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=338660#comment-338660 ] 

Frederic THOMAS commented on MINSTALL-96:
-----------------------------------------

Hi Guys,

I just did the same patch before to see this issue was already open since a while.

In a multi-modules project, I build a set of modules with flexmojos and their runtime locales via the antrun plugin, I need then to install those runtime locales as attachment of the main artefact, I don't want to duplicate the configuration of the locales (antrun config) in each of the modules but can't it them to the pluginmanagement of the parent without having an error at install time because maven can't find the file to install at parent level, the reason why I did this patch.

If this patch is not merged, could you tell me what is the best way to achieve my goal pls ?
(having my own maven-install-plugin in my repo is the last thing I want to do)
                
> 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