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

Julien Gouesse commented on JSPWIKI-1170:
-----------------------------------------

I've succeeded in compiling the whole source code except the tests because the 
Stripes framework still relies on the javax namespace. Please use my patch: 
[^jakarta-1.patch]

I compile with mvn -DskipTests=true compile

but I get the error below:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:3.3.0:unpack 
(unpack-jspwiki-war) on project jspwiki-portable: Artifact has not been 
packaged yet. When used on reactor artifact, unpack should be executed after 
packaging: see MDEP-98. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :jspwiki-portable

 

> Support of Jakarta EE 9
> -----------------------
>
>                 Key: JSPWIKI-1170
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1170
>             Project: JSPWiki
>          Issue Type: Improvement
>            Reporter: Julien Gouesse
>            Priority: Major
>         Attachments: jakarta-1.patch, jakarta.patch, jspwiki.zip
>
>
> Jakarta EE 9 drops the javax namespace for the jakarta namespace. Currently, 
> JspWiki uses the former namespace, Engine.getServletContext() returns an 
> instance of javax.servlet.ServletContext instead of 
> jakarta.servlet.ServletContext. Why not providing a separate Maven artefact 
> with the WAR and the JARs compatible with Jakarta EE 9 and keeping the 
> current WAR and JARs in the default artefact to please everyone (which is 
> what Hibernate and Wildfly do as far as I know) ?



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

Reply via email to