You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2009/12/29 02:29:55 UTC

[jira] Commented: (MNG-2111) Support for a bundled scope

    [ http://jira.codehaus.org/browse/MNG-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204349#action_204349 ] 

Jason van Zyl commented on MNG-2111:
------------------------------------

You can do this with the shade plugin which can also modify the POM to reflect the bundling of other dependencies.

> Support for a bundled scope
> ---------------------------
>
>                 Key: MNG-2111
>                 URL: http://jira.codehaus.org/browse/MNG-2111
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.2
>            Reporter: Charles Paclat
>
> The current alternatives for "scope" do not support the case where a component is dependent during compile and assembly on a partcular set of dependent components, and then bundles those components as part of its distribution jar.
> In such a case a third dependent component would like to declare that it is dependent on that component and be told that it need only download and include that one component in its classpath.  The current  "runtime" scope is purely additive, in that it allows one to define that an additional jar is required at runtime that was not needed at compile time.  The proposed new scope would state that the jar is required at compile and assemble time but not at runtime by using components.

-- 
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