1<!--
2This file is part of dependency-check-utils.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8    http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15
16Copyright (c) 2014 - Jeremy Long. All Rights Reserved.
17-->
18<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
19    <modelVersion>4.0.0</modelVersion>
20    <parent>
21        <groupId>org.owasp</groupId>
22        <artifactId>dependency-check-parent</artifactId>
23        <version>3.1.1</version>
24    </parent>
25
26    <artifactId>dependency-check-utils</artifactId>
27    <name>Dependency-Check Utils</name>
28    <description>dependency-check-utils is a collection of common utility classes used within dependency-check that might be useful in other projects.</description>
29    <properties>
30        <findbugs.onlyAnalyze>org.owasp.dependencycheck.utils.*</findbugs.onlyAnalyze>
31    </properties>
32    <build>
33        <plugins>
34
35        </plugins>
36    </build>
37    <reporting>
38        <plugins>
39            <plugin>
40                <groupId>org.apache.maven.plugins</groupId>
41                <artifactId>maven-checkstyle-plugin</artifactId>
42                <version>${reporting.checkstyle-plugin.version}</version>
43                <configuration>
44                    <enableRulesSummary>false</enableRulesSummary>
45                    <enableFilesSummary>false</enableFilesSummary>
46                    <configLocation>${basedir}/../src/main/config/checkstyle-checks.xml</configLocation>
47                    <headerLocation>${basedir}/../src/main/config/checkstyle-header.txt</headerLocation>
48                    <suppressionsLocation>${basedir}/../src/main/config/checkstyle-suppressions.xml</suppressionsLocation>
49                    <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
50                </configuration>
51            </plugin>
52            <plugin>
53                <groupId>org.apache.maven.plugins</groupId>
54                <artifactId>maven-pmd-plugin</artifactId>
55                <version>${reporting.pmd-plugin.version}</version>
56                <configuration>
57                    <targetJdk>1.6</targetJdk>
58                    <linkXRef>true</linkXRef>
59                    <sourceEncoding>utf-8</sourceEncoding>
60                    <excludes>
61                        <exclude>**/org/owasp/dependencycheck/org/apache/**/*.java</exclude>
62                    </excludes>
63                    <rulesets>
64                        <ruleset>../src/main/config/dcrules.xml</ruleset>
65                        <ruleset>/rulesets/java/basic.xml</ruleset>
66                        <ruleset>/rulesets/java/imports.xml</ruleset>
67                        <ruleset>/rulesets/java/unusedcode.xml</ruleset>
68                    </rulesets>
69                </configuration>
70            </plugin>
71        </plugins>
72    </reporting>
73    <dependencies>
74        <dependency>
75            <groupId>commons-io</groupId>
76            <artifactId>commons-io</artifactId>
77        </dependency>
78        <dependency>
79            <groupId>org.apache.commons</groupId>
80            <artifactId>commons-lang3</artifactId>
81        </dependency>
82        <dependency>
83            <groupId>org.slf4j</groupId>
84            <artifactId>slf4j-api</artifactId>
85            <scope>compile</scope>
86        </dependency>
87        <dependency>
88            <groupId>ch.qos.logback</groupId>
89            <artifactId>logback-core</artifactId>
90            <scope>test</scope>
91        </dependency>
92        <dependency>
93            <groupId>ch.qos.logback</groupId>
94            <artifactId>logback-classic</artifactId>
95            <scope>test</scope>
96        </dependency>
97    </dependencies>
98</project>
99