You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jared Bunting (JIRA)" <ji...@codehaus.org> on 2011/05/13 05:02:22 UTC

[jira] Created: (MSHADE-97) Add the ability to specify "entry points" for minimizeJar

Add the ability to specify "entry points" for minimizeJar 
----------------------------------------------------------

                 Key: MSHADE-97
                 URL: http://jira.codehaus.org/browse/MSHADE-97
             Project: Maven 2.x Shade Plugin
          Issue Type: Improvement
    Affects Versions: 1.4
            Reporter: Jared Bunting
         Attachments: entrypoints.patch

Currently, the "minimizeJar" option assumes that you want to include all classes in the current project and those that they depend on.  Sometimes, classes are accessed via reflection, or some other means, and therefore don't get included.  The ability to specify additional entry points (as classes) to this dependency tree would be useful.

I have added this as a patch that I am attaching.

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

        

[jira] Commented: (MSHADE-97) Add the ability to specify "entry points" for minimizeJar

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSHADE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272158#comment-272158 ] 

Benson Margulies commented on MSHADE-97:
----------------------------------------

Could I interest you in adding a test? 

> Add the ability to specify "entry points" for minimizeJar 
> ----------------------------------------------------------
>
>                 Key: MSHADE-97
>                 URL: https://jira.codehaus.org/browse/MSHADE-97
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Jared Bunting
>         Attachments: entrypoints.patch, entrypoints.patch
>
>
> Currently, the "minimizeJar" option assumes that you want to include all classes in the current project and those that they depend on.  Sometimes, classes are accessed via reflection, or some other means, and therefore don't get included.  The ability to specify additional entry points (as classes) to this dependency tree would be useful.
> I have added this as a patch that I am attaching.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MSHADE-97) Add the ability to specify "entry points" for minimizeJar

Posted by "Jared Bunting (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHADE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jared Bunting updated MSHADE-97:
--------------------------------

    Attachment: entrypoints.patch

Correcting formatting in patch.

> Add the ability to specify "entry points" for minimizeJar 
> ----------------------------------------------------------
>
>                 Key: MSHADE-97
>                 URL: http://jira.codehaus.org/browse/MSHADE-97
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Jared Bunting
>         Attachments: entrypoints.patch, entrypoints.patch
>
>
> Currently, the "minimizeJar" option assumes that you want to include all classes in the current project and those that they depend on.  Sometimes, classes are accessed via reflection, or some other means, and therefore don't get included.  The ability to specify additional entry points (as classes) to this dependency tree would be useful.
> I have added this as a patch that I am attaching.

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

        

[jira] Commented: (MSHADE-97) Add the ability to specify "entry points" for minimizeJar

Posted by "Jared Bunting (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSHADE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272167#comment-272167 ] 

Jared Bunting commented on MSHADE-97:
-------------------------------------

I'd be happy to, but it may take a day or two.

> Add the ability to specify "entry points" for minimizeJar 
> ----------------------------------------------------------
>
>                 Key: MSHADE-97
>                 URL: https://jira.codehaus.org/browse/MSHADE-97
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Jared Bunting
>         Attachments: entrypoints.patch, entrypoints.patch
>
>
> Currently, the "minimizeJar" option assumes that you want to include all classes in the current project and those that they depend on.  Sometimes, classes are accessed via reflection, or some other means, and therefore don't get included.  The ability to specify additional entry points (as classes) to this dependency tree would be useful.
> I have added this as a patch that I am attaching.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MSHADE-97) Add the ability to specify "entry points" for minimizeJar

Posted by "Stephen Buergler (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSHADE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=304776#comment-304776 ] 

Stephen Buergler commented on MSHADE-97:
----------------------------------------

Unrelated but.. How many jar minimizers does there need to be in the world? http://proguard.sourceforge.net/#alternatives.html
                
> Add the ability to specify "entry points" for minimizeJar 
> ----------------------------------------------------------
>
>                 Key: MSHADE-97
>                 URL: https://jira.codehaus.org/browse/MSHADE-97
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Jared Bunting
>         Attachments: entrypoints.patch, entrypoints.patch
>
>
> Currently, the "minimizeJar" option assumes that you want to include all classes in the current project and those that they depend on.  Sometimes, classes are accessed via reflection, or some other means, and therefore don't get included.  The ability to specify additional entry points (as classes) to this dependency tree would be useful.
> I have added this as a patch that I am attaching.

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