Can the main pom.xml be changed to not propagate the license plugin to
its modules?
<plugin>
<groupId>com.google.code.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
+ <inherited>false</inherited>
<configuration>
- <header>${module.relative.path}src/etc/header.txt</header>
+ <header>src/etc/header.txt</header>
<quiet>false</quiet>
<failIfMissing>true</failIfMissing>
<aggregate>true</aggregate>
<includes>
- <include>src/**</include>
+ <include>**/src/**</include>
<include>**/test/**</include>
</includes>
<excludes>
I think this still checks all the legal bits with some quick testing
except it is only done when the main mvn install is run. This way we
don't have to add ${module.relative.path} everywhere. Didn't know if
this was attempted earlier.
--
- Bryant Luk