Re: For a mojo with requiresProject=false, I would like to avoid Maven from loading the pom.xml from working directory

2012-04-20 Thread Jesse Glick
On 04/17/2012 03:24 AM, Vincent Latombe wrote: Maven tries to parse the project and if it fails, it doesn't even call my mojo. Same applies to 'mvn archetype:generate'. Seems to me that this is a bug more than an RFE. Note that invocations of bin/mvn without a goal but with e.g.

For a mojo with requiresProject=false, I would like to avoid Maven from loading the pom.xml from working directory

2012-04-17 Thread Vincent Latombe
Hello, I'm coding a plugin where I can have a goal that is using requiresProject = false, which I call directly from command line. In some cases, this plugin can be called in a context where there is a pom.xml in the working directory. The project itself may be invalid, but I still would like to