Stephen, Thanks for your reply I have tried profile with no success here is what I am doing and this is located in parent pom. <profile> <id>dev</id> <activation> <property>
<name>env</name> <value>dev</value> </property> </activation> <modules> <module>client</module> </modules> </profile> > mvn -Denv=dev clean install This is how I am evoking this profile but nothing is happening and all the sub modules are getting cleaned up. When we specifiy a name value pair in activation element how to envoke it from command line, I also dont want to put some thing specific in settings.xml. Any help is appreciated. Regards Seshu Pitcha (CME Group Chicago IL) -- View this message in context: http://old.nabble.com/Specifying-a-different-POM-file-tp26160205p26197443.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org