centralising dependency information for differing child poms can be achieved 
via dependency-management 
mechanismhttp://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management
 activating which grouping is included is achieved by defining profiles by 
testinf your attributes (i.e. when condition) will trigger that profile to be 
includedhttp://maven.apache.org/guides/introduction/introduction-to-profiles.html
  
Martin 
______________________________________________ 
Long winded disclaimer goes here
 > Date: Sat, 8 Dec 2012 20:57:19 +0100
> Subject: exclusion only when test
> From: laudio.i...@gmail.com
> To: users@maven.apache.org
> 
> hello
> 
> i have one artifact (A1) that depends from another artifact (A2)
> 
> the A2 artifact has one dependency but when i make the A1's tests i want to
> exclude one dependency
> i am using the exclusion into the dependency but i cannot say it that the
> exclusion applies only whent test.
> 
> is this posible?
> 
> thanks
                                          

Reply via email to