Following is the new dependency tree with minimum set of dependencies.
Webapp, jaxws and jaxrs archetypes are updated with these dependencies.

[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.registry.core:jar:4.2.0:provided


And with these dependencies minimum M2 repo will be around 6MB. I have
added this as the tenant M2 repo in Jenkins.

Thank You.
Ranga.




On Thu, May 29, 2014 at 8:29 AM, Dimuthu Leelarathne <[email protected]>wrote:

> 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 <[email protected]> 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: [email protected]
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>



-- 
Ranga Siriwardena
Software Engineer
Mobile: +94779808031
WSO2 Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to