I have tried removing these dependencies but it is not possible because
these are transitive dependencies of some of the msf4j-core's dependencies
and are required at runtime.

On Fri, Jun 17, 2016 at 2:47 PM, Sagara Gunathunga <[email protected]> wrote:

> Got update and reduced file size to 12 MB.
>
> BTW can't we reduce dependencies further ?  As an example we have bundled
> 3 JSON libraries (Gson, Json-smart, Jackson ) and 2 logging APIs
> ( commons-logging and SLF4J ) with above sample.
>
> Thanks !
>
> On Fri, Jun 17, 2016 at 1:55 PM, Afkham Azeez <[email protected]> wrote:
>
>> Yes;
>>
>> ls -al target/helloworld-1.1.0-SNAPSHOT.jar
>>
>> -rw-r--r--  1 azeez  staff  *12222143* Jun 16 17:23
>> target/helloworld-1.1.0-SNAPSHOT.jar
>>
>>
>>
>> On Fri, Jun 17, 2016 at 1:52 PM, Thusitha Thilina Dayaratne <
>> [email protected]> wrote:
>>
>>> Hi Sagara,
>>>
>>> In the latest pack the helloworld sample is 12.2 MB. AFAIR Azeeze has
>>> removed most of the unwanted OSGi stuffs that get bundled.
>>> Will check on this further.
>>>
>>> Thanks
>>> Thusitha
>>>
>>> On Fri, Jun 17, 2016 at 1:43 PM, Sagara Gunathunga <[email protected]>
>>> wrote:
>>>
>>>>
>>>> In MSF4J 1.1.0-SNAPSHOT version helloworld sample size ( same go for
>>>> other samples as well)  became 20.1 MB, I don't think this is acceptable
>>>> size for a such simple sample. By looking at shade plugin I found number of
>>>> unwanted OSGi Jar files get bundled with the sample's uber Jar file, we
>>>> have to exclude these unwanted dependencies from parent POM files or need
>>>> to refractor Carbon-transport not to import those OSGi dependencies
>>>> automatically WDYT ?
>>>>
>>>> [INFO] Including
>>>> org.wso2.carbon:org.wso2.carbon.kernel.feature:zip:5.1.0 in the shaded jar.
>>>>  ( I don't think we need Zip files here)
>>>>
>>>> [INFO] Including org.osgi:org.osgi.core:jar:6.0.0 in the shaded jar.
>>>> [INFO] Including org.wso2.carbon:org.wso2.carbon.tools.core:jar:5.1.0
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.carbon:org.wso2.carbon.runtime.feature:zip:5.1.0 in the shaded 
>>>> jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.launcher.gtk.linux.x86:jar:1.1.200.v20150204-1316
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.common:jar:3.6.200.v20130402-1505
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.simpleconfigurator:jar:1.1.0.v20131217-1203
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.util:jar:1.0.500.v20130404-1337
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.ds:jar:1.4.200.v20131126-2331
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.launcher:jar:1.3.0.v20140415-2008
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.concurrent:jar:1.1.0.v20130327-1442
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.frameworkadmin:jar:2.0.100.v20131209-2144
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.frameworkadmin.equinox:jar:1.0.500.v20131211-1531
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.console:jar:1.1.0.v20140131-1639
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.apache.felix:org.apache.felix.gogo.command:jar:0.10.0.v201209301215 in
>>>> the shaded jar.
>>>> [INFO] Including
>>>> org.apache.felix:org.apache.felix.gogo.shell:jar:0.10.0.v201212101605 in
>>>> the shaded jar.
>>>> [INFO] Including
>>>> org.apache.felix:org.apache.felix.gogo.runtime:jar:0.10.0.v201209301036 in
>>>> the shaded jar.
>>>> [INFO] Including org.ops4j.pax.logging:pax-logging-api:jar:1.8.5 in the
>>>> shaded jar.
>>>> [INFO] Including org.ops4j.pax.logging:pax-logging-log4j2:jar:1.8.5 in
>>>> the shaded jar.
>>>> [INFO] Including 
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.cm:jar:1.1.0.v20131021-1936
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.preferences:jar:3.5.200.v20140224-1527
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.equinox:org.eclipse.equinox.simpleconfigurator.manipulator:jar:2.0.0.v20131217-1203
>>>> in the shaded jar.
>>>> [INFO] Including
>>>> org.wso2.eclipse.osgi:org.eclipse.osgi.compatibility.state:jar:1.0.1.v20140709-1414
>>>> in the shaded jar.
>>>>
>>>>
>>>>
>>>>
>>>> Thanks !
>>>> --
>>>> Sagara Gunathunga
>>>>
>>>> Architect; WSO2, Inc.;  http://wso2.com
>>>> V.P Apache Web Services;    http://ws.apache.org/
>>>> Linkedin; http://www.linkedin.com/in/ssagara
>>>> Blog ;  http://ssagara.blogspot.com
>>>>
>>>>
>>>
>>>
>>> --
>>> Thusitha Dayaratne
>>> Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> Mobile  +94712756809
>>> Blog      alokayasoya.blogspot.com
>>> About    http://about.me/thusithathilina
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>*
>> *email: **[email protected]* <[email protected]>
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* <http://blog.afkham.org>
>> *twitter: **http://twitter.com/afkham_azeez*
>> <http://twitter.com/afkham_azeez>
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> <http://lk.linkedin.com/in/afkhamazeez>*
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> Sagara Gunathunga
>
> Architect; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;    http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>*
*email: **[email protected]* <[email protected]>
* cell: +94 77 3320919blog: **http://blog.afkham.org*
<http://blog.afkham.org>
*twitter: **http://twitter.com/afkham_azeez*
<http://twitter.com/afkham_azeez>
*linked-in: **http://lk.linkedin.com/in/afkhamazeez
<http://lk.linkedin.com/in/afkhamazeez>*

*Lean . Enterprise . Middleware*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to