[ 
https://issues.apache.org/jira/browse/ROL-2183?focusedWorklogId=1035501&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1035501
 ]

ASF GitHub Bot logged work on ROL-2183:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Aug/26 06:34
            Start Date: 13/Aug/26 06:34
    Worklog Time Spent: 10m 
      Work Description: mraible commented on code in PR #154:
URL: https://github.com/apache/roller/pull/154#discussion_r3772985344


##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogTemplate.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" 
xmlns="http://java.sun.com/xml/ns/persistence/orm";
+<entity-mappings version="3.1" 
xmlns="https://jakarta.ee/xml/ns/persistence/orm";
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm 
http://java.sun.com/xml/ns/persistence/orm_2_0.xsd";>
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm 
https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd";>

Review Comment:
   Checked against jakarta.ee: it is the other way around. 
https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd (the URL these files use) 
returns HTTP 200 and serves the Jakarta Persistence ORM 3.1 schema, while 
https://jakarta.ee/xml/ns/persistence/orm_3_1.xsd (the suggested correction) 
returns 404. The mappings keep the working URL. This applies to all 29 of these 
comments, resolving them together.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 1035501)
    Time Spent: 1h  (was: 50m)

> Migrate from javax to jakarta namespace (Jakarta EE 9+)
> -------------------------------------------------------
>
>                 Key: ROL-2183
>                 URL: https://issues.apache.org/jira/browse/ROL-2183
>             Project: Apache Roller
>          Issue Type: Improvement
>            Reporter: Matt Raible
>            Assignee: Matt Raible
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Roller currently uses Java EE 8 APIs with the {{javax.\*}} namespace (Servlet 
> API 4.0.1, JavaMail, JSP, JAXB, javax.activation). The JPA layer has been 
> partially migrated to {{jakarta.persistence}}, but the rest of the codebase 
> remains on {{javax.\*}}.
> This issue tracks the full migration to the {{jakarta.\*}} namespace to 
> support Jakarta EE 9+ and modern servlet containers like Tomcat 10+.
> *Scope of changes:*
> * \~305 {{javax.\*}} imports across the codebase (servlet, JSP, mail, 
> activation, XML bind)
> * \~31 {{jakarta.persistence}} imports already in place (JPA managers)
> * Servlet API dependency: {{javax.servlet:javax.servlet-api:4.0.1}} -> 
> {{jakarta.servlet:jakarta.servlet-api:5.0+}}
> * JavaMail: {{javax.mail}} -> {{jakarta.mail}}
> * JSP: {{javax.servlet.jsp}} -> {{jakarta.servlet.jsp}}
> * JAXB: {{javax.xml.bind}} -> {{jakarta.xml.bind}}
> * {{javax.activation}} -> {{jakarta.activation}}
> * Update {{web.xml}} and any deployment descriptors
> * Update third-party dependencies to Jakarta-compatible versions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to