(james-mime4j) branch master updated: This updates dependencies and tweaks javadocs so that they work

[email protected]
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <175164364771.3216887.11839202882549232604@gitbox3-he-fi.apache.org>
This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-mime4j.git


The following commit(s) were added to refs/heads/master by this push:
     new a74237cd This updates dependencies and tweaks javadocs so that they work
a74237cd is described below

commit a74237cd6a413a06bc54fd6389b2ea0281357fc2
Author: tallison <[email protected]>
AuthorDate: Thu Jul 3 12:18:49 2025 -0400

    This updates dependencies and tweaks javadocs so that they work
---
 core/src/main/javadoc/overview.html                  |  2 +-
 .../java/org/apache/james/mime4j/dom/Disposable.java |  2 +-
 .../james/mime4j/field/DefaultFieldParser.java       |  3 ++-
 .../james/mime4j/field/LenientFieldParser.java       |  3 ++-
 pom.xml                                              | 20 ++++++++++----------
 5 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/core/src/main/javadoc/overview.html b/core/src/main/javadoc/overview.html
index bf0194c7..047896ad 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 (&lt;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 5254f00f..980ac2d5 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 047ae4bb..2704b8bd 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 @@ public class DefaultFieldParser extends DelegatingFieldParser {
      * 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 e5e7500f..f2b8c805 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 @@ public class LenientFieldParser extends DelegatingFieldParser {
      * 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 2d68b2ce..253a6eff 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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.