Skip to content

Commit 5ef7738

Browse files
authored
Upgrade the maven site and related plugins, and other little cleanup. (#779)
* Fix fluido skin version inheritence from pom to src/site/site.xml file. Upgrade a number of plugins and maybe one library. Fix some used undeclared and unused declared imports. * Restore two dependency changes I made per feedback from kwwall and upgrade a few more dependencies/plugins that have new versions since last commit. * Upgrade some plugins and 1 dependency. Do a little exclusion cleanup.
1 parent b17000c commit 5ef7738

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

pom.xml

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@
136136

137137
<properties>
138138
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
139-
<version.jmh>1.36</version.jmh>
140-
<version.findsecbugs>1.12.0</version.findsecbugs>
141-
<version.fluido>1.11.1</version.fluido>
139+
<version.jmh>1.36</version.jmh>
140+
<version.findsecbugs>2.0.0-M3</version.findsecbugs>
141+
<version.fluido>2.0.0-M3</version.fluido>
142142
<version.powermock>2.0.9</version.powermock>
143143
<version.spotbugs>4.7.3</version.spotbugs>
144-
<version.spotbugs.maven>4.7.3.0</version.spotbugs.maven>
144+
<version.spotbugs.maven>4.7.3.2</version.spotbugs.maven>
145145
<version.surefire>3.0.0-M9</version.surefire>
146146
<project.java.target>1.8</project.java.target>
147147
<!-- TODO: Be sure to update. Should be date of previous official release -->
@@ -162,7 +162,11 @@
162162
<artifactId>javax.servlet.jsp-api</artifactId>
163163
<version>2.3.3</version>
164164
<scope>provided</scope>
165-
<exclusions>
165+
<!-- Note: Because this dependency is provided, this exclusion doesn't actually do anything.
166+
But we include it so the convergence report will report 100% convergence.
167+
Deleting this does not cause the convergence check to fail.
168+
-->
169+
<exclusions>
166170
<exclusion>
167171
<groupId>javax.servlet</groupId>
168172
<artifactId>javax.servlet-api</artifactId>
@@ -186,10 +190,6 @@
186190
<groupId>xerces</groupId>
187191
<artifactId>xercesImpl</artifactId>
188192
</exclusion>
189-
<exclusion>
190-
<groupId>xml-apis</groupId>
191-
<artifactId>xml-apis</artifactId>
192-
</exclusion>
193193
</exclusions>
194194
</dependency>
195195
<dependency>
@@ -213,6 +213,10 @@
213213
<groupId>commons-logging</groupId>
214214
<artifactId>commons-logging</artifactId>
215215
</exclusion>
216+
<!-- Note: Because the following dependency is marked as provided to commons-configuration,
217+
this exclusion doesn't actually do anything. But we include it so the convergence report
218+
will report 100% convergence. Deleting this does not cause the convergence check to fail.
219+
-->
216220
<exclusion>
217221
<groupId>xml-apis</groupId>
218222
<artifactId>xml-apis</artifactId>
@@ -228,13 +232,6 @@
228232
<groupId>commons-fileupload</groupId>
229233
<artifactId>commons-fileupload</artifactId>
230234
<version>1.5</version>
231-
<exclusions>
232-
<!-- excluded because we directly import newer version. -->
233-
<exclusion>
234-
<groupId>commons-io</groupId>
235-
<artifactId>commons-io</artifactId>
236-
</exclusion>
237-
</exclusions>
238235
</dependency>
239236
<dependency>
240237
<groupId>org.apache.commons</groupId>
@@ -250,11 +247,18 @@
250247
<groupId>org.owasp.antisamy</groupId>
251248
<artifactId>antisamy</artifactId>
252249
<version>1.7.2</version>
250+
<exclusions>
251+
<!-- excluded because we directly import newer version below. -->
252+
<exclusion>
253+
<groupId>org.slf4j</groupId>
254+
<artifactId>slf4j-api</artifactId>
255+
</exclusion>
256+
</exclusions>
253257
</dependency>
254258
<dependency>
255259
<groupId>org.slf4j</groupId>
256260
<artifactId>slf4j-api</artifactId>
257-
<version>2.0.4</version>
261+
<version>2.0.6</version>
258262
</dependency>
259263
<dependency>
260264
<groupId>xml-apis</groupId>
@@ -483,7 +487,7 @@
483487
<plugin>
484488
<groupId>org.apache.maven.plugins</groupId>
485489
<artifactId>maven-compiler-plugin</artifactId>
486-
<version>3.10.1</version>
490+
<version>3.11.0</version>
487491
<configuration>
488492
<source>${project.java.target}</source>
489493
<target>${project.java.target}</target>
@@ -544,14 +548,12 @@
544548
<artifactId>animal-sniffer-enforcer-rule</artifactId>
545549
<version>1.22</version>
546550
</dependency>
547-
548551
</dependencies>
552+
549553
<executions>
550554
<execution>
551555
<id>enforce-maven</id>
552-
<goals>
553-
<goal>enforce</goal>
554-
</goals>
556+
<goals><goal>enforce</goal></goals>
555557
<configuration>
556558
<rules>
557559
<requireMavenVersion>
@@ -575,7 +577,7 @@
575577
JAVA_HOME environment variable is pointed to a JDK1.8 or later distribution.
576578
</message>
577579
</requireJavaVersion>
578-
<enforceBytecodeVersion>
580+
<enforceBytecodeVersion>
579581
<maxJdkVersion>${project.java.target}</maxJdkVersion>
580582
<ignoreOptionals>true</ignoreOptionals>
581583
<ignoredScopes/><!-- 'test' scopes not ignored so we can actually test on Java 8. -->
@@ -681,10 +683,11 @@
681683
</plugin>
682684

683685
<plugin>
684-
<!-- Note: This uses the maven-fluido-skin version specified next. The skin is referenced in src/site/site.xml. -->
686+
<!-- Note: This uses the maven-fluido-skin version specified next.
687+
The skin is referenced in src/site/site.xml. -->
685688
<groupId>org.apache.maven.plugins</groupId>
686689
<artifactId>maven-site-plugin</artifactId>
687-
<version>4.0.0-M3</version>
690+
<version>4.0.0-M5</version>
688691
<dependencies>
689692
<dependency>
690693
<groupId>org.apache.maven.skins</groupId>
@@ -745,7 +748,7 @@
745748
<plugin>
746749
<groupId>org.owasp</groupId>
747750
<artifactId>dependency-check-maven</artifactId>
748-
<version>8.1.0</version>
751+
<version>8.1.2</version>
749752
<configuration>
750753
<failBuildOnCVSS>1.0</failBuildOnCVSS>
751754
<suppressionFiles>./suppressions.xml</suppressionFiles>
@@ -764,8 +767,8 @@
764767

765768
<reporting>
766769
<plugins>
767-
<plugin>
768-
<groupId>io.github.weblegacy</groupId>
770+
<plugin>
771+
<groupId>io.github.weblegacy</groupId>
769772
<artifactId>taglib-maven-plugin</artifactId>
770773
</plugin>
771774
<plugin>

0 commit comments

Comments
 (0)