looks like you will have to transform wsss4j jar to jakarta using eclipse 
jakarta transformer:

GitHub - eclipse/transformer: Eclipse Transformer provides tools and runtime 
components that transform Java binaries, such as individual class files and 
complete JARs and WARs, mapping changes to Java packages, type names, and 
related resource names.<https://github.com/eclipse/transformer>
[https://opengraph.githubassets.com/ce136b6c8f670346bf0649108e25e31b1e9b167f474780c761d5e6543b8a9041/eclipse/transformer]<https://github.com/eclipse/transformer>
GitHub - eclipse/transformer: Eclipse Transformer provides tools and runtime 
components that transform Java binaries, such as individual class files and 
complete JARs and WARs, mapping changes to Java packages, type names, and 
related resource names.<https://github.com/eclipse/transformer>
Eclipse Transformer. The Eclipse Transformer project is part of the Eclipse 
Technology top-level project.. Eclipse Transformer provides tools and runtime 
components that transform Java binaries, such as individual class files and 
complete JARs and WARs, mapping changes to Java packages, type names, and 
related resource names.
github.com


Eclipse Transformer

The Eclipse Transformer project<https://github.com/eclipse/transformer> 
converts the namespace of the compiled Java resources. Also, JAR artifacts as 
WAR and EAR files containing entire applications are supported. The project is 
generic in the sense that it can handle all kinds of conversions and not only 
the one related to the changes for Jakarta EE 9.

Using this transformer project, you can create an updated version of the JAR 
file that you use as a dependency in your application. And when making use of 
the Maven Classifier feature, you can convert a JAR file in your local maven 
repository and the Jakarta transformed version can easily be picked up.

How to Convert a 3rd Party Library to the New Jakarta Namespace | 
foojay<https://foojay.io/today/how-to-use-eclipse-transformer-to-convert-a-3rd-party-library-to-the-new-jakarta-namespace/>
[https://foojay.io/wp-content/uploads/2020/04/Favicon-3-2.png]<https://foojay.io/today/how-to-use-eclipse-transformer-to-convert-a-3rd-party-library-to-the-new-jakarta-namespace/>
How to Convert a 3rd Party Library to the New Jakarta Namespace | 
foojay<https://foojay.io/today/how-to-use-eclipse-transformer-to-convert-a-3rd-party-library-to-the-new-jakarta-namespace/>
The release of Jakarta EE 9 breaks a tradition of Java Enterprise. A legal 
requirement of the Java EE code donation from Oracle to the Eclipse Foundation 
is the change of the namespace of javax to jakarta.. But the change of the 
package and XML namespace in Jakarta EE 9 is only the beginning.
foojay.io

JakartaTransformer
<path_to_local_mvn_repo>/⁨org⁩/apache/ws/security⁩/1.6.19⁩/wss4j-1.6.19.jar
<path_to_local_mvn_repo>/⁨org⁩/apache/ws/security⁩/1.6.19⁩/wss4j-1.6.19-jakarta.jar

java org.eclipse.transformer.Transformer Input Output  command, you create a 
converted JAR file that can be picked up by Maven very easily by just adding 
the classifier element to the dependency:

<dependency>
    <groupId>org.apache.ws.security</groupId>
    <artifactId>wss4j</artifactId>
    <version>1.6.19</version>
<scope>provided</scope>
<classifier>jakarta</classifier>
</dependency>
once your wss4j-1.6.19.jar is converted to jakarta specific 
wss4j-1.6.19-jakarta.jar

then reference the jakarta-specific wss4j-1.6.19-jakarta.jar using classifier  
of 'jakarta' as seen in dependency declaration above

CLEAR ?

________________________________
From: Rebecca Searls <[email protected]>
Sent: Tuesday, November 23, 2021 3:18 PM
To: dev <[email protected]>
Subject: Re: A jakarta namespace version

I don't see that wss4j-1.6.17 is referencing to any jakarta archives or apis.
I see that wss4j-2.3.0 does, however we are looking for a version where
the imports in the project classes are updated to use the jakarta namespace.
Is there a plan for that?

On Tue, Nov 23, 2021 at 11:41 AM Martin Gainty 
<[email protected]<mailto:[email protected]>> wrote:
source: Apache WSS4J –<https://ws.apache.org/wss4j/>

binaries: Maven Repository: org.apache.ws.security » wss4j 
(mvnrepository.com)<https://mvnrepository.com/artifact/org.apache.ws.security/wss4j?repo=redhat-earlyaccess>
Maven Repository: org.apache.ws.security » 
wss4j<https://mvnrepository.com/artifact/org.apache.ws.security/wss4j?repo=redhat-earlyaccess>
The Apache WSS4J project provides a Java implementation of the primary security 
standards for Web Services, namely the OASIS Web Services Security 
(WS-Security) specifications from the OASIS Web Services Security TC.
mvnrepository.com<http://mvnrepository.com>
does 1.6.17 for RH v1 not work for you?

________________________________
From: Rebecca Searls <[email protected]<mailto:[email protected]>>
Sent: Tuesday, November 23, 2021 8:28 AM
To: dev <[email protected]<mailto:[email protected]>>
Subject: A jakarta namespace version

Wildfly components requires a jakarta namespace version of 
org.apache.wss4j:wss4j.
What are the plans for providing such a version?

Reply via email to