Skip to content

Commit 086b3e8

Browse files
authored
Merge pull request #678 from davewichers/develop
Upgrade to AntiSamy 1.6.6.1 and upgrade a few plugins too.
2 parents ce0fede + 94563c0 commit 086b3e8

File tree

1 file changed

+11
-30
lines changed

1 file changed

+11
-30
lines changed

pom.xml

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,13 @@
133133
<properties>
134134
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
135135
<project.java.target>1.7</project.java.target>
136-
<version.findsecbugs>1.11.0</version.findsecbugs>
136+
<version.findsecbugs>1.12.0</version.findsecbugs>
137137
<version.jmh>1.35</version.jmh>
138138
<!-- Note: powermock v2.0.8 doesn't exist. v2.0.9+ requires mockito-core v3+, which requires Java 8 -->
139139
<version.powermock>2.0.7</version.powermock>
140140
<version.spotbugs>4.6.0</version.spotbugs>
141141
<version.spotbugs.maven>4.6.0.0</version.spotbugs.maven>
142-
<version.surefire>3.0.0-M5</version.surefire>
142+
<version.surefire>3.0.0-M6</version.surefire>
143143
</properties>
144144

145145
<dependencies>
@@ -243,22 +243,14 @@
243243
<dependency>
244244
<groupId>org.owasp.antisamy</groupId>
245245
<artifactId>antisamy</artifactId>
246-
<!-- TODO: needs to be 1.6.6.1 before release -->
247-
<version>1.6.5</version>
246+
<version>1.6.6.1</version>
248247
<exclusions>
249-
<!-- excluded because version from AntiSamy is too new (Requires Java 8) -->
248+
<!-- excluded because version imported by AntiSamy Requires Java 8. We import
249+
the last Java 7 versions of these ourselves. -->
250250
<exclusion>
251251
<groupId>commons-io</groupId>
252252
<artifactId>commons-io</artifactId>
253253
</exclusion>
254-
<!-- TODO: This is only needed for AntiSamy 1.6.5, not 1.6.6.1.
255-
Remove this exclusion when AntiSamy 1.6.6.1 is included. -->
256-
<exclusion>
257-
<groupId>org.slf4j</groupId>
258-
<artifactId>slf4j-api</artifactId>
259-
</exclusion>
260-
<!-- TODO: The neko-htmlunit exclusion here and inclusion next, is needed for AntiSamy 1.6.6.1.
261-
Remove this comment when AntiSamy 1.6.6.1 is included. -->
262254
<exclusion>
263255
<groupId>net.sourceforge.htmlunit</groupId>
264256
<artifactId>neko-htmlunit</artifactId>
@@ -477,7 +469,7 @@
477469
<plugin>
478470
<groupId>org.apache.maven.plugins</groupId>
479471
<artifactId>maven-clean-plugin</artifactId>
480-
<version>3.1.0</version>
472+
<version>3.2.0</version>
481473
</plugin>
482474

483475
<plugin>
@@ -658,30 +650,19 @@
658650
<plugin>
659651
<groupId>org.apache.maven.plugins</groupId>
660652
<artifactId>maven-jxr-plugin</artifactId>
661-
<version>3.1.1</version>
653+
<version>3.2.0</version>
662654
</plugin>
663655

664656
<plugin>
665657
<groupId>org.apache.maven.plugins</groupId>
666658
<artifactId>maven-pmd-plugin</artifactId>
667659
<version>3.16.0</version>
668-
<dependencies>
669-
<!-- Without this, 3.15.0+ causes lots of warning like: [WARNING] Could not find class org.owasp.validator.html.util.ErrorMessageUtil,
670-
due to: java.lang.IncompatibleClassChangeError: class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
671-
has interface org.objectweb.asm.ClassVisitor as super class.
672-
However, these warnings don't adversely affect the PMD results, so we are keeping this upgrade. -->
673-
<dependency>
674-
<groupId>org.ow2.asm</groupId>
675-
<artifactId>asm</artifactId>
676-
<version>9.2</version>
677-
</dependency>
678-
</dependencies>
679660
</plugin>
680661

681662
<plugin>
682663
<groupId>org.apache.maven.plugins</groupId>
683664
<artifactId>maven-project-info-reports-plugin</artifactId>
684-
<version>3.1.2</version>
665+
<version>3.2.2</version>
685666
</plugin>
686667

687668
<plugin>
@@ -734,9 +715,9 @@
734715
</plugin>
735716

736717
<plugin>
737-
<groupId>org.codehaus.mojo</groupId>
718+
<groupId>io.github.jiangxincode</groupId>
738719
<artifactId>jdepend-maven-plugin</artifactId>
739-
<version>2.0</version>
720+
<version>2.1</version>
740721
</plugin>
741722

742723
<plugin>
@@ -844,7 +825,7 @@
844825
<plugin>
845826
<!-- Using this introduces these errors: Skipped "JDepend" report (jdepend-maven-plugin:2.0:generate), file "jdepend-report.html" already exists.
846827
but don't know how to eliminate them, without disabling this plugin. -->
847-
<groupId>org.codehaus.mojo</groupId>
828+
<groupId>io.github.jiangxincode</groupId>
848829
<artifactId>jdepend-maven-plugin</artifactId>
849830
</plugin>
850831
<!-- Check for available updates to dependencies and report on them. -->

0 commit comments

Comments
 (0)