Re: How can a plugin detect which Maven version it gets run with?

2010-12-06 Thread Brian Fox
You can also use prerequisites in the pom, this is the one and only use case it was intended for. --mobile On Dec 6, 2010, at 3:21 PM, Peter Niederwieser wrote: > 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

Re: How can a plugin detect which Maven version it gets run with?

2010-12-06 Thread Brian Fox
Take a look at the enforcer plugin and the enforcemavenversion rule --mobile On Dec 6, 2010, at 3:21 PM, Peter Niederwieser wrote: > 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

How can a plugin detect which Maven version it gets run with?

2010-12-06 Thread Peter Niederwieser
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

How can a plugin detect which Maven version it gets run with?

2010-12-06 Thread Peter Niederwieser
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

Re: JIRA project for indexer?

2010-12-06 Thread Jesse Glick
On 12/03/2010 10:09 AM, Brett Porter wrote: I went ahead and created this. http://jira.codehaus.org/browse/MINDEXER Consider moving at least the open issues relevant to the donated codebase from: https://issues.sonatype.org/browse/NEXUS/component/10050 (For example, I would want to track NEXU