AFAIK, There is no way to exclude all the transitive dependencies at once[1]. Btw, this is a feature requested my many users.
Thanks Sameera [1]. http://jira.codehaus.org/browse/MNG-2315 On Wed, Feb 23, 2011 at 4:34 PM, Afkham Azeez <az...@wso2.com> wrote: > There are a large number of dependencies where we are not interested in > transitives. In those cases, we can use the excludeTransitive flag. > > http://maven.apache.org/plugins/maven-dependency-plugin/resolve-mojo.html > > > On Wed, Feb 23, 2011 at 7:33 AM, Sumedha Rubasinghe <sume...@wso2.com>wrote: > >> >> >> On Wed, Feb 23, 2011 at 7:08 AM, Samisa Abeysinghe <sam...@wso2.com>wrote: >> >>> So are we going to do this on trunk? If so when? >>> >>> Do we not how to do it right? >>> >> >> We do know how to do it. But AFAIK that knowledge is only within few of >> us. >> Most importantly everyone should understand, >> -Why we should do it? >> -How we do it? >> -How to do it when introducing a new external dependency? >> >> But, as per the current trunk, lets gets 7-8 together and do it in one >> shot. >> Doing this right will introduce a significant improvement to our build >> time. Hence, we should do it as soon as we can allocate said number of >> engineers (more the quicker) for the task. Then we can update everyone else >> on above 3 topics. >> >> /sumedha >> >> >>> >>> ---------- Forwarded message ---------- >>> From: Sameera Jayasoma <same...@wso2.com> >>> Date: Tue, Feb 22, 2011 at 7:49 AM >>> Subject: Re: [Carbon-dev] Carbon 3.2.0 depending Axis2 1.6.x branch >>> To: Thilina Buddhika <thili...@wso2.com> >>> Cc: carbon-dev <carbon-dev@wso2.org> >>> >>> >>> >>> >>> On Tue, Feb 22, 2011 at 2:11 AM, Thilina Buddhika <thili...@wso2.com>wrote: >>> >>>> We were able to incorporate these changes to Carbon trunk. And I was >>>> able to build it until Carbon-Core with a fresh repo. >>>> >>>> A couple of issues encountered in Sandesha branch(Versions are not >>>> updated properly) and Savan trunk. I informed about this to the Axis list >>>> and hopefully we will be able to get it resolved within today. Savan seems >>>> to be depending on Sandesha trunk. So it should be branched off similar to >>>> transports (Will do it today). Until then you can apply the attached >>>> patches >>>> when building dependencies/sandesha and dependencies/savan. >>>> >>>> We will be depending on the Neethi orbit version released with Carbon >>>> 3.1.0 chunk2 (Neethi-2.0.4.wso2v2), so I have commented out Neethi from the >>>> default build profiles. >>>> >>>> I observed few places which have transitive dependencies to the Axiom >>>> trunk which need to be fixed. >>>> >>> >>> This needs to be fixed. We had similar issues while working on the Carbon >>> 3.1.0 branch. Lets fix these transitive dependencies in a platform wide >>> manner using Maven dependency exclusions. >>> >>> Thanks >>> Sameera >>> >>>> >>>> We will make sure all the products and Stratos services can be built >>>> with a fresh repo with these modifications by end of the day. >>>> >>>> Thanks, >>>> Thilina >>>> >>>> On Mon, Feb 21, 2011 at 4:41 PM, Thilina Buddhika <thili...@wso2.com>wrote: >>>> >>>>> After having some offline discussions, we came up with the following >>>>> plan. >>>>> >>>>> - Modify the Axis2, Rampart and Sandesha svn externals to point to >>>>> corresponding Apache 1_6_x branches >>>>> >>>>> - Switching to Axiom 1.2.11 and WSS4J-1.5.11 released versions, since >>>>> Axis2 and Rampart 1_6_x branches are depending on these versions. (So >>>>> these >>>>> externals will be removed from the trunk) >>>>> >>>>> - Modifying the Orbit versions of Axiom and WSS4J to 1.2.11-wso2v1 and >>>>> 1.5.11-wso2v1 respectively to be consistent. (At the moment, they are >>>>> 1.2.12-SNAPSHOT-wso2v1 and 1.5.12-SNAPSHOT-wso2v1) >>>>> >>>>> - Modifying the Synapse trunk to point to Axis2 1_6_x branch instead of >>>>> the trunk until we branch it for the release. (As per Supun, we can't >>>>> branch >>>>> at the moment, since some active development is going in Synapse trunk) >>>>> >>>>> - Creating Carbon 3.2.0 branch and branching off form 'Transports' >>>>> trunk and making it dependent on Axis 1_6_x >>>>> >>>>> >>>>> Thanks, >>>>> Thilina >>>>> >>>>> -- >>>> Thilina Buddhika >>>> Senior Software Engineer >>>> WSO2 Inc. ; http://wso2.com >>>> lean . enterprise . middleware >>>> >>>> phone : <%2B94%2077%2044%2088%20727>+94 77 44 88 727 >>>> blog : http://blog.thilinamb.com >>>> >>> >>> >>> >>> -- >>> Sameera Jayasoma >>> Technical Lead and Product Manager, WSO2 Carbon >>> >>> WSO2, Inc. (http://wso2.com) >>> email: same...@wso2.com >>> blog: http://tech.jayasoma.org >>> >>> Lean . Enterprise . Middleware >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> Thanks, >>> Samisa... >>> >>> Samisa Abeysinghe >>> VP Engineering >>> WSO2 Inc. >>> http://wso2.com >>> http://wso2.org >>> >>> >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Afkham Azeez* > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > * > * > *Member; Apache Software Foundation; > **http://www.apache.org/*<http://www.apache.org/> > * > email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 > 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* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev