mirror of https://github.com/apache/maven.git
Add RAT check to the release profile
- Will ensure that the license header checks continue to pass. - Noticed a strange "bug" in that I need to set <inherited>true</inherited> in the profile which then infects the non-inherited configuration outside the profile to all child projects. Not critical in this case, but none the less an unexpected consequence. Most likely would be resolved by switching to executions but that would require more duplication.
This commit is contained in:
parent
348f716433
commit
bfcf03d42c
13
pom.xml
13
pom.xml
|
@ -501,6 +501,19 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.rat</groupId>
|
||||||
|
<artifactId>apache-rat-plugin</artifactId>
|
||||||
|
<inherited>true</inherited>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>check</id>
|
||||||
|
<goals>
|
||||||
|
<goal>check</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
Loading…
Reference in New Issue