maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: exclusion only when test
Date Sat, 08 Dec 2012 20:26:49 GMT

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.info@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
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message