You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "kamal.gs" <ka...@lxisoft.com> on 2008/05/21 18:46:20 UTC

Profile activation based on packaging

I want a profile to be activated only for projects with packaging set to ear. 
I tried the following and it didn't work.

<activation>
     <property>
	<name>project.packaging</name>
	<value>ear</value>
      </property>
</activation>

Is this supported or should I resort to using custom properties?

Thanks,
Kamal


-- 
View this message in context: http://www.nabble.com/Profile-activation-based-on-packaging-tp17364359p17364359.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org