-
Notifications
You must be signed in to change notification settings - Fork 3
/
pom.xml
110 lines (98 loc) · 4.29 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>ualberta-cmput402</groupId>
<artifactId>findbugs</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- for running google error prone -->
<!--<properties>-->
<!--<javac.version>9+181-r4173-1</javac.version>-->
<!--</properties>-->
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<!-- for running google error prone -->
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-compiler-plugin</artifactId>-->
<!--<version>3.8.0</version>-->
<!--<configuration>-->
<!--<source>8</source>-->
<!--<target>8</target>-->
<!--<compilerArgs>-->
<!--<arg>-XDcompilePolicy=simple</arg>-->
<!--<arg>-Xplugin:ErrorProne</arg>-->
<!--</compilerArgs>-->
<!--<annotationProcessorPaths>-->
<!--<path>-->
<!--<groupId>com.google.errorprone</groupId>-->
<!--<artifactId>error_prone_core</artifactId>-->
<!--<version>2.3.3</version>-->
<!--</path>-->
<!--</annotationProcessorPaths>-->
<!--</configuration>-->
<!--</plugin>-->
<!-- SpotBugs Static Analysis -->
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
<failOnError>true</failOnError>
<includeFilterFile>spotbugs-security-include.xml</includeFilterFile>
<excludeFilterFile>spotbugs-security-exclude.xml</excludeFilterFile>
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>LATEST</version> <!-- Auto-update to the latest stable -->
</plugin>
</plugins>
</configuration>
</plugin>
</plugins>
</build>
<!-- for running google error prone -->
<!--<profiles>-->
<!--<profile>-->
<!--<id>jdk8</id>-->
<!--<activation>-->
<!--<jdk>1.8</jdk>-->
<!--</activation>-->
<!--<build>-->
<!--<plugins>-->
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-compiler-plugin</artifactId>-->
<!--<configuration>-->
<!--<fork>true</fork>-->
<!--<compilerArgs combine.children="append">-->
<!--<arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</arg>-->
<!--</compilerArgs>-->
<!--</configuration>-->
<!--</plugin>-->
<!--</plugins>-->
<!--</build>-->
<!--</profile>-->
<!--</profiles>-->
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.4</version>
</plugin>
</plugins>
</reporting>
</project>