You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alon Bar-Lev (JIRA)" <ji...@codehaus.org> on 2012/12/12 23:40:13 UTC

[jira] (MDEPLOY-90) Deploy should be allowed in offline mode when the repo is a file:

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

Alon Bar-Lev commented on MDEPLOY-90:
-------------------------------------

Hello,

the deploy plugin is a useful way to pack all project artifacts into maven repository structure. It is required for example when you package an application for package manager, so you need the artifacts as maven repository locally so it can be packaged.

I see no sense in limiting deploy plugin in case of repository is at file:// protocol, as file:// is not offline.

Please support this, or allow another mechanism to create locally maven repository of project artifacts.

Methods I tried: create repository using assembly - but binaries cannot be digested, create repository using dependency plugin - but I need to explicitly build the project in unique structure and explicitly specify dependencies.

The deploy plugin is the right way to do this, it is just the offline limitation inhibit the use of it.

Please push this forward, as far as code is concerned it is trivial.

Thanks!
                
> Deploy should be allowed in offline mode when the repo is a file:
> -----------------------------------------------------------------
>
>                 Key: MDEPLOY-90
>                 URL: https://jira.codehaus.org/browse/MDEPLOY-90
>             Project: Maven 2.x and 3.x Deploy Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Andy Jefferson
>              Labels: contributers-welcome
>
> When the repo being deployed to is on the same machine why should offline mode prohibit operation?

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