i am trying to use the profiles in my parent pom like this
<profile>
<id>dev</id>
<activation>
<property>
<name>env</name>
<value>dev</value>
</property>
</activation>
<modules>
<module>client</module>
</modules>
</profile>
I want only the client module which is a child module in my project to build
and install when i call like this
> mvn -Denv=dev clean install
I do it and nothing happens how can this be done?
chicagopooldude wrote:
>
> I wanted to know if there is a way you can specify a different pom file to
> maven at the top level other than the default "pom.xml". we have multiple
> modules which maybe not be required for some developers and we want to add
> fewer modules in another parent pom which also deploys the application to
> local tomcat. Is there any way we can achieve that. Any help is
> appreciated.
>
--
View this message in context:
http://old.nabble.com/Specifying-a-different-POM-file-tp26160205p26163644.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]