Because my plugin (spock-maven) doesn't work with Maven 3, I'd like to fail the 
build if it used with Maven 3. (Otherwise it will be very hard for users to 
find out the cause of the effect they are seeing.) How can I detect which Maven 
version my plugin gets run with? Can't find any information on this. 

Cheers, 
Peter 

PS: I'm posting to dev because I didn't get any replies on the user list.

----------------------------------------------------------------
Peter Niederwieser
Creator, http://spockframework.org
Committer, http://groovy.codehaus.org
Blogger, http://pniederw.wordpress.com
Chief Engineer, http://smarter-ecommerce.com
[email protected]
Twitter: pniederw









Reply via email to