Hi,

I need to know if I can use conditions in my archetype.

My use case:
I have an archetype that can be used in various languages (e.g. Java and
Groovy). I want to give the user the base class for the according language.
But I don't want to be both classes (MyClass.java & MyClass.groovy) there -
just one!

Is there a way to only generate one of the two files via maven:generate
depending on a condition/property?
-- 
View this message in context: 
http://old.nabble.com/Conditional-archetype-generation-tp26655657p26655657.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

Reply via email to