diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 78bd581..23d2542 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,9 +9,7 @@ updates: ignore: # Provided by the Web container, so aligned with Jetty. - dependency-name: "jakarta.servlet:jakarta.servlet-api" - # Contains incompatible API changes and needs compatibility work. - dependency-name: "jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api" - versions: [">=2.0.0"] # Ignore 1.2.0-atlassian-2 - dependency-name: "jaxen:jaxen" - package-ecosystem: "github-actions" diff --git a/core/pom.xml b/core/pom.xml index 5b9fadf..013495b 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -49,14 +49,14 @@ jakarta.servlet jakarta.servlet-api - 4.0.4 - true + 5.0.0 + provided jakarta.servlet.jsp.jstl jakarta.servlet.jsp.jstl-api - 1.2.7 - true + 2.0.0 + provided jaxen diff --git a/core/src/main/java/org/apache/commons/jelly/servlet/JellyServlet.java b/core/src/main/java/org/apache/commons/jelly/servlet/JellyServlet.java index 88691d0..9e12f17 100644 --- a/core/src/main/java/org/apache/commons/jelly/servlet/JellyServlet.java +++ b/core/src/main/java/org/apache/commons/jelly/servlet/JellyServlet.java @@ -23,11 +23,11 @@ import java.net.MalformedURLException; import java.net.URL; -import javax.servlet.ServletException; -import javax.servlet.ServletOutputStream; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; +import jakarta.servlet.ServletException; +import jakarta.servlet.ServletOutputStream; +import jakarta.servlet.http.HttpServlet; +import jakarta.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletResponse; import org.apache.commons.jelly.JellyContext; import org.apache.commons.jelly.JellyException; diff --git a/core/src/main/java/org/apache/commons/jelly/servlet/JellyServletContext.java b/core/src/main/java/org/apache/commons/jelly/servlet/JellyServletContext.java index e10beb9..b377049 100644 --- a/core/src/main/java/org/apache/commons/jelly/servlet/JellyServletContext.java +++ b/core/src/main/java/org/apache/commons/jelly/servlet/JellyServletContext.java @@ -18,7 +18,7 @@ import org.apache.commons.jelly.JellyContext; -import javax.servlet.ServletContext; +import jakarta.servlet.ServletContext; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; diff --git a/core/src/main/java/org/apache/commons/jelly/tags/core/ForEachTag.java b/core/src/main/java/org/apache/commons/jelly/tags/core/ForEachTag.java index 4a092b8..1e4e0b9 100644 --- a/core/src/main/java/org/apache/commons/jelly/tags/core/ForEachTag.java +++ b/core/src/main/java/org/apache/commons/jelly/tags/core/ForEachTag.java @@ -18,7 +18,7 @@ import java.util.Iterator; -import javax.servlet.jsp.jstl.core.LoopTagStatus; +import jakarta.servlet.jsp.jstl.core.LoopTagStatus; import org.apache.commons.jelly.JellyTagException; import org.apache.commons.jelly.MissingAttributeException; diff --git a/core/src/main/resources/org/apache/commons/jelly/tags/Resources.properties b/core/src/main/resources/org/apache/commons/jelly/tags/Resources.properties index f7d5e65..45b3ebe 100644 --- a/core/src/main/resources/org/apache/commons/jelly/tags/Resources.properties +++ b/core/src/main/resources/org/apache/commons/jelly/tags/Resources.properties @@ -228,10 +228,10 @@ SQL_DATASOURCE_NULL=\ 'dataSource' is null SQL_MAXROWS_PARSE_ERROR=\ - Error parsing 'javax.servlet.jsp.jstl.sql.maxRows' configuration setting: "{0}" + Error parsing 'jakarta.servlet.jsp.jstl.sql.maxRows' configuration setting: "{0}" SQL_MAXROWS_INVALID=\ - 'javax.servlet.jsp.jstl.sql.maxRows' configuration setting neither an Integer nor a String + 'jakarta.servlet.jsp.jstl.sql.maxRows' configuration setting neither an Integer nor a String SQL_DATE_PARAM_INVALID_TYPE=\ In <dateParam>, invalid 'type' attribute: "{0}" diff --git a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java index af89c2f..0aa1d5f 100644 --- a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java +++ b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java @@ -94,7 +94,7 @@ else if (valueInput instanceof String) { * the time zone is taken from the enclosing <timeZone> action. * *

Otherwise, the time zone configuration setting - * javax.servlet.jsp.jstl.core.Config.FMT_TIME_ZONE + * jakarta.servlet.jsp.jstl.core.Config.FMT_TIME_ZONE * is used. * * @param jc the page containing the action for which the