Thanks Thomas, that did it. I actually saw the parameter but overlooked it 'cause I thought it would recursively find every poms or so and wasn't designed for my use case. I was wrong.
For the record, pomIncludes parameter is actually a list, hence must be declared: <pomIncludes> <pomInclude>*</pomInclude> </pomIncludes> Cheers 2014-03-18 11:22 GMT+01:00 Thomas Broyer <[email protected]>: > > http://maven.apache.org/plugins/maven-invoker-plugin/run-mojo.html#pomIncludessays > : > > > If this parameter is not set, the plugin will search for all > <code>pom.xml</code> files one > > directory below projectsDirectory (i.e. */pom.xml). > > It's indeed initialized to "*/pom.xml" in the code: > > https://github.com/apache/maven-plugins/blob/maven-invoker-plugin-1.8/src/main/java/org/apache/maven/plugin/invoker/AbstractInvokerMojo.java#L206 > > So, from the doc, apparently, it should work if you use > <pomIncludes>*</pomIncludes> > > > On Tue, Mar 18, 2014 at 11:08 AM, Baptiste Mathus <[email protected] > >wrote: > > > Hi all, > > > > Had a quick look in JIRA, but didn't find anything obvious. > > > > I have 3 ITs in my src/it folder for my maven plugin. Only 2 get > executed. > > The 3rd one executes correctly if I explicitly match it using > > -Dinvoker.test=forgotten-test* > > > > Note that this IT doesn't have a pom.xml at its root, and is > > using invoker.project property. > > > > Haven't had a look in the m-invoker-p code, but if anyone has a hint > about > > this, or can point me to an existing JIRA that'd help. > > > > Thanks > > > > -- > > Baptiste <Batmat> MATHUS - http://batmat.net > > Sauvez un arbre, > > Mangez un castor ! > > > > > > -- > Thomas Broyer > /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/> < > http://xn--nna.ma.xn--bwa-xxb.je/> > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
