This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git

commit 606a327097202f3f90bfd60e66a7c4cb6a53d004
Author: Michael Osipov <[email protected]>
AuthorDate: Sat Apr 16 21:52:38 2022 +0200

    [MSITE-857] Jetty engine fails to resolve web.xml DTD behind corporate proxy
    
    Upgrade web.xml to Servlet 3.1 which Jetty will serve its schema from a 
bundled
    catalog and avoid outbound connections.
---
 src/main/resources/run/web.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/run/web.xml b/src/main/resources/run/web.xml
index 66bf8ee9..9b8e3325 100644
--- a/src/main/resources/run/web.xml
+++ b/src/main/resources/run/web.xml
@@ -17,11 +17,11 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-<!DOCTYPE web-app PUBLIC
-    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-    "http://java.sun.com/dtd/web-app_2_3.dtd"; >
-
-<web-app>
+<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
+         http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd";
+         version="3.1">
   <filter>
     <filter-name>doxia</filter-name>
     <filter-class>org.apache.maven.plugins.site.run.DoxiaFilter</filter-class>

Reply via email to