Skip to content

Commit 069a0df

Browse files
committed
Tweaked pom.xml so that mvn2 project runs clean. It looks like the findbugs plugin for Maven2 has bitrotten into irrelevance and the docs on how to upgrade to Maven3 are sparse. Will run findbugs via Eclipse.
1 parent bfb3251 commit 069a0df

File tree

1 file changed

+14
-26
lines changed

1 file changed

+14
-26
lines changed

pom.xml

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,23 @@ application while protecting against XSS.
4848
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
4949
</snapshotRepository>
5050
</distributionManagement>
51+
52+
<issueManagement>
53+
<system>GitHub</system>
54+
<url>https://github.com/OWASP/java-html-sanitizer/issues</url>
55+
</issueManagement>
56+
57+
<organization>
58+
<name>OWASP</name>
59+
<url>https://owasp.org</url>
60+
</organization>
61+
5162
<build>
5263
<plugins>
5364
<plugin>
5465
<groupId>org.sonatype.plugins</groupId>
5566
<artifactId>nexus-staging-maven-plugin</artifactId>
56-
<version>[1.6.5,)</version>
67+
<version>1.6.3</version>
5768
<extensions>true</extensions>
5869
<configuration>
5970
<serverId>ossrh</serverId>
@@ -149,13 +160,13 @@ application while protecting against XSS.
149160
<dependency>
150161
<groupId>com.google.code.findbugs</groupId>
151162
<artifactId>jsr305</artifactId>
152-
<version>[1.3.9,)</version>
163+
<version>[2.0.1,)</version>
153164
<scope>provided</scope>
154165
</dependency>
155166
<dependency>
156167
<groupId>com.google.code.findbugs</groupId>
157168
<artifactId>annotations</artifactId>
158-
<version>[1.3.9,)</version>
169+
<version>[2.0.1,)</version>
159170
<scope>provided</scope>
160171
</dependency>
161172

@@ -174,29 +185,6 @@ application while protecting against XSS.
174185
</dependency>
175186
</dependencies>
176187

177-
<reporting>
178-
<plugins>
179-
<!-- `mvn compile site` will generate target/site/findbugs.html -->
180-
<!-- http://mojo.codehaus.org/findbugs-maven-plugin/usage.html -->
181-
<!-- http://www.petrikainulainen.net/programming/maven/findbugs-maven-plugin-tutorial/ -->
182-
<plugin>
183-
<groupId>org.codehaus.mojo</groupId>
184-
<artifactId>findbugs-maven-plugin</artifactId>
185-
<version>2.5.2</version>
186-
<configuration>
187-
<!--
188-
Enables analysis which takes more memory but finds more bugs.
189-
If you run out of memory, changes the value of the effort element
190-
to 'Low'.
191-
-->
192-
<effort>Max</effort>
193-
<!-- Reports all bugs (other values are medium and max) -->
194-
<threshold>Low</threshold>
195-
</configuration>
196-
</plugin>
197-
</plugins>
198-
</reporting>
199-
200188
<properties>
201189
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
202190
</properties>

0 commit comments

Comments
 (0)