Hi Ranga, Lets remove carbon.core and carbon.logging and add the rest to the predefined M2 Repo of the tenant.
thanks, dimuthu On Thu, May 29, 2014 at 6:16 AM, Ranga Siriwardena <ra...@wso2.com> wrote: > Hi All, > > This is regarding[1] and we need to provide necessary dependencies with > App Factory archetypes so that the end users will facilitate when writing > codes related to carbon related activities such as invoking registry. After > adding registry core and carbon core dependencies we noticed a maven build > delay due to transient dependencies. To avoid this I have exclude these > transient dependencies and following is the dependency tree taken from a > webapp. So these are the dependencies we are planing to add to archetypes. > > > [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ app1 --- > [INFO] org.wso2.af:app1:war:default-SNAPSHOT > [INFO] +- javax:javaee-web-api:jar:6.0:provided > [INFO] +- javax.servlet:servlet-api:jar:2.4:provided > [INFO] +- org.wso2.carbon:org.wso2.carbon.registry.api:jar:4.2.0:provided > [INFO] +- org.wso2.carbon:org.wso2.carbon.user.api:jar:4.2.0:provided > [INFO] +- org.wso2.carbon:org.wso2.carbon.utils:jar:4.2.0:provided > [INFO] +- org.wso2.carbon:org.wso2.carbon.core:jar:4.2.0:provided > [INFO] +- org.wso2.carbon:org.wso2.carbon.registry.core:jar:4.2.0:provided > [INFO] \- org.wso2.carbon:org.wso2.carbon.logging:jar:4.2.0:provided > > > With these dependencies the initial build time is around 2.5 minutes at > the moment. And this is only for the first time build and the time will get > reduced from the next build. Hope this build time is good enough. If that > is not the case we will have to pack the initial .m2 repo which is around > 9MB. Please let us know your concerns. > > > [1] https://wso2.org/jira/browse/APPFAC-1984 > > Thank You. > Ranga. > > -- > Ranga Siriwardena > Software Engineer > WSO2 Inc. > -- Dimuthu Leelarathne Architect & Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev