mirror of https://github.com/apache/jclouds.git
JCLOUDS-80. Inherit apache-rat plugin config.
This commit is contained in:
parent
5872d929ad
commit
3b9e6b3712
68
pom.xml
68
pom.xml
|
@ -49,74 +49,6 @@
|
||||||
</modules>
|
</modules>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.rat</groupId>
|
|
||||||
<artifactId>apache-rat-plugin</artifactId>
|
|
||||||
<inherited>false</inherited>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>check</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<excludeSubProjects>false</excludeSubProjects>
|
|
||||||
<excludes>
|
|
||||||
<!-- expectation files for unit tests -->
|
|
||||||
<exclude>**/src/test/resources/**</exclude>
|
|
||||||
|
|
||||||
<!-- prevent duplicating license -->
|
|
||||||
<exclude>**/LICENSE.txt</exclude>
|
|
||||||
<exclude>**/header.txt</exclude>
|
|
||||||
|
|
||||||
<!-- high-level project metadata -->
|
|
||||||
<exclude>**/NOTICE.txt</exclude>
|
|
||||||
<exclude>**/DISCLAIMER</exclude>
|
|
||||||
<exclude>**/BUILD.txt</exclude>
|
|
||||||
<exclude>**/CHANGES.txt</exclude>
|
|
||||||
<exclude>**/README.md</exclude>
|
|
||||||
<exclude>**/README.txt</exclude>
|
|
||||||
|
|
||||||
<!-- reference data lists -->
|
|
||||||
<exclude>**/*json</exclude>
|
|
||||||
<exclude>**/*readme</exclude>
|
|
||||||
|
|
||||||
<!-- one-line service registry files -->
|
|
||||||
<exclude>**/*ProviderMetadata</exclude>
|
|
||||||
<exclude>**/*ApiMetadata</exclude>
|
|
||||||
<exclude>**/*LoggingModule</exclude>
|
|
||||||
|
|
||||||
<!-- temporary files or those generated by IDE or SCM -->
|
|
||||||
<exclude>**/target/**</exclude>
|
|
||||||
<exclude>**/test-output/**</exclude>
|
|
||||||
<exclude>**/bin/**</exclude>
|
|
||||||
<exclude>**/.settings/**</exclude>
|
|
||||||
<exclude>**/.classpath</exclude>
|
|
||||||
<exclude>**/.dir-locals.el</exclude>
|
|
||||||
<exclude>**/.project</exclude>
|
|
||||||
<exclude>**/.idea/**</exclude>
|
|
||||||
<exclude>**/*.iml</exclude>
|
|
||||||
<exclude>**/*.eml</exclude>
|
|
||||||
<exclude>**/*.ipr</exclude>
|
|
||||||
<exclude>**/*.iws</exclude>
|
|
||||||
<exclude>**/*.DS_STORE</exclude>
|
|
||||||
<exclude>**/TAGS</exclude>
|
|
||||||
<exclude>**/.metadata/**</exclude>
|
|
||||||
<exclude>**/atlassian-ide-plugin.xml</exclude>
|
|
||||||
<exclude>**/.DS_Store</exclude>
|
|
||||||
<exclude>.mailmap</exclude>
|
|
||||||
<exclude>.git/**</exclude>
|
|
||||||
<exclude>**/.gitignore</exclude>
|
|
||||||
<exclude>**/.gitattributes</exclude>
|
|
||||||
|
|
||||||
<!-- Temporary files generated on CloudBees slaves -->
|
|
||||||
<exclude>.repository/**</exclude>
|
|
||||||
<exclude>gc.log</exclude>
|
|
||||||
</excludes>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
<groupId>com.mycila.maven-license-plugin</groupId>
|
||||||
<artifactId>maven-license-plugin</artifactId>
|
<artifactId>maven-license-plugin</artifactId>
|
||||||
|
|
|
@ -314,6 +314,72 @@
|
||||||
</testResource>
|
</testResource>
|
||||||
</testResources>
|
</testResources>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.rat</groupId>
|
||||||
|
<artifactId>apache-rat-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>check</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<excludes>
|
||||||
|
<!-- expectation files for unit tests -->
|
||||||
|
<exclude>**/src/test/resources/**</exclude>
|
||||||
|
|
||||||
|
<!-- prevent duplicating license -->
|
||||||
|
<exclude>**/LICENSE.txt</exclude>
|
||||||
|
<exclude>**/header.txt</exclude>
|
||||||
|
|
||||||
|
<!-- high-level project metadata -->
|
||||||
|
<exclude>**/NOTICE.txt</exclude>
|
||||||
|
<exclude>**/DISCLAIMER</exclude>
|
||||||
|
<exclude>**/BUILD.txt</exclude>
|
||||||
|
<exclude>**/CHANGES.txt</exclude>
|
||||||
|
<exclude>**/README.md</exclude>
|
||||||
|
<exclude>**/README.txt</exclude>
|
||||||
|
|
||||||
|
<!-- reference data lists -->
|
||||||
|
<exclude>**/*json</exclude>
|
||||||
|
<exclude>**/*readme</exclude>
|
||||||
|
|
||||||
|
<!-- one-line service registry files -->
|
||||||
|
<exclude>**/*ProviderMetadata</exclude>
|
||||||
|
<exclude>**/*ApiMetadata</exclude>
|
||||||
|
<exclude>**/*LoggingModule</exclude>
|
||||||
|
|
||||||
|
<!-- temporary files or those generated by IDE or SCM -->
|
||||||
|
<exclude>**/target/**</exclude>
|
||||||
|
<exclude>**/test-output/**</exclude>
|
||||||
|
<exclude>**/bin/**</exclude>
|
||||||
|
<exclude>**/.settings/**</exclude>
|
||||||
|
<exclude>**/.classpath</exclude>
|
||||||
|
<exclude>**/.dir-locals.el</exclude>
|
||||||
|
<exclude>**/.project</exclude>
|
||||||
|
<exclude>**/.idea/**</exclude>
|
||||||
|
<exclude>**/*.iml</exclude>
|
||||||
|
<exclude>**/*.eml</exclude>
|
||||||
|
<exclude>**/*.ipr</exclude>
|
||||||
|
<exclude>**/*.iws</exclude>
|
||||||
|
<exclude>**/*.DS_STORE</exclude>
|
||||||
|
<exclude>**/TAGS</exclude>
|
||||||
|
<exclude>**/.metadata/**</exclude>
|
||||||
|
<exclude>**/atlassian-ide-plugin.xml</exclude>
|
||||||
|
<exclude>**/.DS_Store</exclude>
|
||||||
|
<exclude>.mailmap</exclude>
|
||||||
|
<exclude>.git/**</exclude>
|
||||||
|
<exclude>**/.gitignore</exclude>
|
||||||
|
<exclude>**/.gitattributes</exclude>
|
||||||
|
|
||||||
|
<!-- Temporary files generated on CloudBees slaves -->
|
||||||
|
<exclude>.repository/**</exclude>
|
||||||
|
<exclude>gc.log</exclude>
|
||||||
|
</excludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.ning.maven.plugins</groupId>
|
<groupId>com.ning.maven.plugins</groupId>
|
||||||
<artifactId>maven-duplicate-finder-plugin</artifactId>
|
<artifactId>maven-duplicate-finder-plugin</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue