pom.xml: use root.basedir to find license header file (fixes problems with running "mvn verify" for parent project).

This commit is contained in:
Ryszard Wiśniewski 2011-04-26 03:20:04 +02:00
parent 68937b969e
commit 566ea35a0d

View File

@ -37,8 +37,14 @@
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
<header>${project.parent.basedir}/src/templates/apache2.0-header.txt</header>
<header>${root.basedir}/src/templates/apache2.0-header.txt</header>
<strictCheck>true</strictCheck>
<excludes>
<exclude>.gitignore</exclude>
<exclude>LICENSE</exclude>
<exclude>NOTICE</exclude>
<exclude>NOTICE-smali</exclude>
</excludes>
</configuration>
<executions>
<execution>