[ 
https://issues.apache.org/jira/browse/JCR-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677319#comment-17677319
 ] 

Claus Köll commented on JCR-4892:
---------------------------------

I think we should use [https://github.com/eclipse/transformer]

This Plugin is made to transform projects from javax to jakarta namespace. 
It is not only the import that has to be changed. You must also change the 
versions in web.xml file and so on ..
The project itself can be Java EE 8 compatible (only one source code) until we 
decide to move to Jakarta 9.1

We must also change the dependencies in the jakarta artifacts. Otherwise you 
run into the problem 
that a jakarta artifact will reference a non-jakarta artifact.
jackrabbit-webapp-jakarta -> jackrabbit-jcr-server


So i would prefer to create new jakarta artifacts with its own dependencies and 
not only classifier artifacts.
The javax namespace is used in following projects jackrabbit-jcr-servlet,  
jackrabbit-jcr-servlet and jackrabbit-webdav

So the new maven project structure would look like this

jackrabbit-jcr-servlet-project (pom project)

            jackrabbit-jcr-servlet (jar module)

            jackrabbit-jcr-servlet-jakarta (jar module)

jackrabbit-webdav-project (pom project)

            jackrabbit-webdav  (jar module)

            jackrabbit-webdav-jakarta (jar module)

jackrabbit-jcr-server-project (pom project)

            jackrabbit-jcr-server (jar module)

            jackrabbit-jcr-server-jakarta (jar module)

jackrabbit-webapp-project (pom project)

            jackrabbit-webapp (jar module)

            jackrabbit-webapp-jakarta (jar module)

The jar modules are able to define its own dependencies. As example the 
jackrabbit-webapp-jakarta module has following dependencies
 * jackrabbit-jcr-servlet-jakarta
 * jackrabbit-jcr-server-jakarta

> support the jakarta.servlet package name
> ----------------------------------------
>
>                 Key: JCR-4892
>                 URL: https://issues.apache.org/jira/browse/JCR-4892
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>            Reporter: Julian Reschke
>            Priority: Major
>         Attachments: jackrabbit-webdav-jakarta.patch
>
>
> ...without breaking existing uses for now.



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

Reply via email to