I'm defining a report configuration in my parent pom which will be run in each child and grandchild project.
Like so:
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>1.2</version>
<configuration>
<xmlOutput>true</xmlOutput>
<threshold>Low</threshold>
<effort>Min</effort>
<includeFilterFile>${basedir}/findbugsFilter.xml</includeFilterFile>
</configuration>
</plugin>
</plugins>
</reporting>
The trouble is that each child inserts its basedir
rather than the defining POM. I suppose I'm looking for the equivalent to ANT's <property name="name" location="${basedir}"/>
. Any ideas?