So you can have a parent child relationship in profiles ? I wasnt aware of
that..Let me add that these profiles are defined in the profiles.xml and not
within the the pom. 

Also if you could elaborate with an example as to how would i refer to the
properties of the parent profile from the child ?

Farhan.



Ron Senykoff wrote:
> 
> You could make the original profile a parent of the small one. Use the
> relativepath attribute so it looks on the filesystem first before
> checking the repository.
> 
>       <parent>
>               <groupId>com.mygroup</groupId>
>               <artifactId>myparent</artifactId>
>               <relativePath>parent-pom.xml</relativePath>
>               <version>1.0</version>
>       </parent>
> 
> -Ron
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Accessing-a-profile-property-from-another-profile-tp2355616p2355707.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to