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
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture