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

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

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


##########
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:
   This schema location has an extra `/orm/` segment; that URL does not exist. 
XML validators or providers that resolve `xsi:schemaLocation` will fail to load 
this mapping. Use the official Jakarta Persistence 3.1 URL, and apply the same 
correction to every migrated ORM mapping.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogPermission.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntryComment.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntryAttribute.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogBookmarkFolder.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogBookmark.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/Weblog.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntryTag.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/RuntimeConfigProperty.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntryTagAggregate.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogHitCount.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/ObjectPermission.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/PingQueueEntry.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/MediaFileTag.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/MediaFile.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntry.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/AutoPing.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/SubscriptionEntry.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogCategory.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/RuntimeConfigProperty.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/CustomTemplateRendition.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/Subscription.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/Planet.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/PlanetGroup.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/UserRole.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/User.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/PingTarget.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/TaskLock.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/MediaFileDirectory.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:
   The added schema URL contains an extra `/orm/` path segment and resolves to 
no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.





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

    Worklog Id:     (was: 1035498)
    Time Spent: 50m  (was: 40m)

> 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: 50m
>  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