Skip to content

Commit

Permalink
chore(jsf): migrate Faces config and web.xml to Jakarta EE 10 #8305
Browse files Browse the repository at this point in the history
Involves Jakarta Faces 4.0 and Servlet 6.0
  • Loading branch information
poikilotherm committed Jun 28, 2023
1 parent 77e35a6 commit d882c41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/main/webapp/WEB-INF/faces-config.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee"
<faces-config xmlns="https://jakarta.ee/xml/ns/jakartaee"
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-facesconfig_2_2.xsd"
version="2.2">
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_4_0.xsd"
version="4.0">
<application>
<resource-bundle>
<base-name>edu.harvard.iq.dataverse.util.LocalBundle</base-name>
Expand Down
5 changes: 4 additions & 1 deletion src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
version="6.0">
<display-name>Dataverse</display-name>
<!-- Error page -->
<error-page>
Expand Down

0 comments on commit d882c41

Please sign in to comment.