blob: 2bcd5a3d8b634fc9549bb1efd4d9f16ebb0d0b8b [file] [log] [blame]
<?xml version='1.0'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-project</artifactId>
<version>0.14-SNAPSHOT</version>
</parent>
<artifactId>apache-rat-core</artifactId>
<packaging>jar</packaging>
<name>Apache Creadur Rat::Core</name>
<description>The core functionality, shared by the Ant tasks
and the Maven plugin.</description>
<build>
<resources>
<resource>
<filtering>false</filtering>
<directory>src/main/resources</directory>
</resource>
<resource>
<filtering>true</filtering>
<directory>src/main/filtered-resources</directory>
</resource>
<resource>
<directory>..</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>RELEASE_NOTES.txt</include>
</includes>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<!-- These files have bad license headers because they are used to test bad license headers -->
<exclude>src/test/resources/appliedAL20/bad/*.*</exclude>
<exclude>src/test/resources/oasis/bad/*.*</exclude>
<!-- These files does not have license headers because they are used to test license headers -->
<exclude>src/test/resources/elements/Source.java</exclude>
<exclude>src/test/resources/elements/ILoggerFactory.java</exclude>
<exclude>src/test/resources/elements/sub/Empty.txt</exclude>
<exclude>src/test/resources/violations/bad.txt</exclude>
<exclude>src/test/resources/violations/FilterTest.cs</exclude>
<!-- used to test for binary files; does not work on UTF-8 (e.g. MacOSX) -->
<exclude>src/test/resources/binaries/Image-png.not</exclude>
<!-- These files have a valid license header that was not recognised by older rat versions -->
<exclude>src/test/resources/elements/TextHttps.txt</exclude>
<!-- Remove after using RAT 0.14 for dog-fooding ..... older versions do not ignore JSON -->
<exclude>src/test/resources/elements/plain.json</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<dependency>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<exclusions>
<!-- Not actually used (yet) so no point including it -->
<exclusion>
<groupId>org.tukaani</groupId>
<artifactId>xz</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</dependency>
</dependencies>
</project>