This updates dependencies and tweaks javadocs so that they work
diff --git a/core/src/main/javadoc/overview.html b/core/src/main/javadoc/overview.html
index bf0194c..047896a 100644
--- a/core/src/main/javadoc/overview.html
+++ b/core/src/main/javadoc/overview.html
@@ -34,7 +34,7 @@
However, mime4j does include facilities to decode bodies and fields.</p>
<p>The parser has been designed to be tolerant against messages violating the standards. It has
been tested using a large corpus (>5000) of e-mail messages. As a benchmark the widely used
- perl MIME::Tools parser has been used. mime4j and MIME:Tools rarely differ (<25 in those
+ perl MIME::Tools parser has been used. mime4j and MIME:Tools rarely differ (<25 in those
5000). When they do (which only occurs for illegally formatted spam messages) we think mime4j
does a better job.</p>
</BODY>
diff --git a/dom/src/main/java/org/apache/james/mime4j/dom/Disposable.java b/dom/src/main/java/org/apache/james/mime4j/dom/Disposable.java
index 5254f00..980ac2d 100644
--- a/dom/src/main/java/org/apache/james/mime4j/dom/Disposable.java
+++ b/dom/src/main/java/org/apache/james/mime4j/dom/Disposable.java
@@ -20,7 +20,7 @@
package org.apache.james.mime4j.dom;
/**
- * A <tt>Disposable</tt> is an object that should be disposed of explicitly
+ * A <code>Disposable</code> is an object that should be disposed of explicitly
* when it is no longer needed.
*
* The dispose method is invoked to release resources that the object is
diff --git a/dom/src/main/java/org/apache/james/mime4j/field/DefaultFieldParser.java b/dom/src/main/java/org/apache/james/mime4j/field/DefaultFieldParser.java
index 047ae4b..2704b8b 100644
--- a/dom/src/main/java/org/apache/james/mime4j/field/DefaultFieldParser.java
+++ b/dom/src/main/java/org/apache/james/mime4j/field/DefaultFieldParser.java
@@ -83,7 +83,8 @@
* Parses the given string and returns an instance of the {@link ParsedField} class.
* The type of the class returned depends on the field name:
* </p>
- * <table summary="Field names and corresponding classes">
+ * <table>
+ * <caption>Field names and corresponding classes</caption>
* <tr><th>Class returned</th><th>Field names</th></tr>
* <tr><td>{@link ContentTypeField}</td><td>Content-Type</td></tr>
* <tr><td>{@link ContentLengthField}</td><td>Content-Length</td></tr>
diff --git a/dom/src/main/java/org/apache/james/mime4j/field/LenientFieldParser.java b/dom/src/main/java/org/apache/james/mime4j/field/LenientFieldParser.java
index e5e7500..f2b8c80 100644
--- a/dom/src/main/java/org/apache/james/mime4j/field/LenientFieldParser.java
+++ b/dom/src/main/java/org/apache/james/mime4j/field/LenientFieldParser.java
@@ -103,7 +103,8 @@
* Parses the given string and returns an instance of the {@link ParsedField} class.
* The type of the class returned depends on the field name:
* </p>
- * <table summary="Field names and corresponding classes">
+ * <table>
+ * <caption>Field names and corresponding classes</caption>
* <tr><th>Class returned</th><th>Field names</th></tr>
* <tr><td>{@link ContentTypeField}</td><td>Content-Type</td></tr>
* <tr><td>{@link ContentLengthField}</td><td>Content-Length</td></tr>
diff --git a/pom.xml b/pom.xml
index 2d68b2c..253a6ef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
- <version>21</version>
+ <version>35</version>
<relativePath />
</parent>
@@ -69,11 +69,11 @@
<james-skin.version>1.8</james-skin.version>
<target.jdk>1.8</target.jdk>
- <commons-logging.version>1.2</commons-logging.version>
- <log4j.version>2.19.0</log4j.version>
+ <commons-logging.version>1.3.5</commons-logging.version>
+ <log4j.version>2.25.0</log4j.version>
<junit.version>4.13.2</junit.version>
- <mockito.version>3.12.4</mockito.version>
- <commons-io.version>2.17.0</commons-io.version>
+ <mockito.version>4.11.0</mockito.version>
+ <commons-io.version>2.19.0</commons-io.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -128,7 +128,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
- <version>3.21.0</version>
+ <version>3.27.3</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -187,7 +187,7 @@
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
- <version>3.1.2</version>
+ <version>3.4.2</version>
<executions>
<execution>
<id>jar</id>
@@ -203,13 +203,13 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>5.1.1</version>
+ <version>5.1.9</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
+ <version>3.14.0</version>
<configuration>
<optimize>true</optimize>
<source>${target.jdk}</source>
@@ -241,7 +241,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.3.0</version>
+ <version>3.11.2</version>
<reportSets>
<reportSet>
<id>aggregate</id>