Hi All

I don't know what'm doing wrong here , can any one please advise

1. When i had 2 profiles in profiles.xml, profile-1 is activated by 
default, Profile-2 is activated when build.env=dev this is working fine, 
no problem at all

2. But when i moved these 2 profiles into parent pom.xml, at a given time 
i can activate only one profile
        i.e when i ran command "mvn help:active-profiles" , it showed me 
only one that is profile-1, my default profile, thats good
              but when i ran with "mvn -Dbuild.env=dev 
help:active-profiles" its just shows me profile-2 not the profile-1 which 
is default???


So in pom.xml profiles i can't have 2 profiles activated at same time ???



Thanks,
Raghu 

Reply via email to