[jboss-jira] [JBoss JIRA] (AS7-5927) Minimal AS7 build pulls in many unecessary dependencies

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Nov 13 05:57:18 EST 2012


    [ https://issues.jboss.org/browse/AS7-5927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733647#comment-12733647 ] 

Thomas Diesler commented on AS7-5927:
-------------------------------------

This patch reverses the dependency order from server => embedded to embedded => server
Additionally it makes a number of module dependencies optional such that a modular build does not pull in so many unnecessary deps.

It reduces the number of binary dependencies from 739 to 188 and the download size by 78% to 18MB

{code}
build-standalone-server:
    [mkdir] Created dir: /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT
     [copy] Copying 231 files to /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT
     [copy] Copied 40 empty directories to 2 empty directories under /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT
     [copy] Copying 1 file to /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT/standalone/configuration
     [copy] Copying 188 files to /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT/modules
{code}
                
> Minimal AS7 build pulls in many unecessary dependencies
> -------------------------------------------------------
>
>                 Key: AS7-5927
>                 URL: https://issues.jboss.org/browse/AS7-5927
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Build System, OSGi
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: 7.2.0.Alpha1
>
>         Attachments: standalone-module-dependencies2.xml
>
>
> A minimal AS7 modular build pulls in almost every module making it a monolithic beast.
> {code}
> build-standalone-server:
>     [mkdir] Created dir: /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT
>      [copy] Copying 231 files to /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT
>      [copy] Copied 40 empty directories to 2 empty directories under /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT
>      [copy] Copying 1 file to /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT/standalone/configuration
>      [copy] Copying 739 files to /home/tdiesler/git/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT/modules
> {code} 
> The resulting server is >80MB

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


More information about the jboss-jira mailing list