You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by hamdard <hs...@tiscali.co.uk> on 2007/01/24 01:51:18 UTC

common build section for several profiles

Hi

Is it possible to have a common build section that is only executed for
certain profiles.
For example if I have in total 3 profiles in my pom, and out of 3, 2 have
absolutely same build section. I don't want to duplicate the same build
markup in my pom. Can I declare that 'common' build outside from the
profiles, but then configure it to get executed only for 2 profiles and
remain quiet for 1.

Thanks


-- 
View this message in context: http://www.nabble.com/common-build-section-for-several-profiles-tf3078470s177.html#a8552988
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