You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Rebecca Searls <rs...@redhat.com> on 2021/11/23 13:28:54 UTC

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?

jakarta namespace for wss4j ?

Posted by Martin Gainty <mg...@hotmail.com>.
Colm> any jakarta specific updates anticipated for wss4j ?
martin

From: Rebecca Searls <rs...@redhat.com>
Sent: Tuesday, November 23, 2021 6:25 PM
To: dev <de...@ws.apache.org>
Subject: Re: A jakarta namespace version

Do you have a schedule to update the imports to the jakarta namespace?

On Tue, Nov 23, 2021 at 6:16 PM Martin Gainty <mg...@hotmail.com>> wrote:
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>
[X]<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<http://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/>
[X]<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<http://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 <rs...@redhat.com>>
Sent: Tuesday, November 23, 2021 3:18 PM
To: dev <de...@ws.apache.org>>
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 <mg...@hotmail.com>> 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 <rs...@redhat.com>>
Sent: Tuesday, November 23, 2021 8:28 AM
To: dev <de...@ws.apache.org>>
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?

Re: A jakarta namespace version

Posted by Colm O hEigeartaigh <co...@apache.org>.
Hi,

I've already followed up with Rebecca on this topic on the Apache Santuario
mailing list -
https://lists.apache.org/thread/3jr9zj92boq9r90k05g0f1tpow74sdwq
WSS4J only uses the javax.xml.bind dependencies for the streaming
implementation, which is currently only consumed by CXF. CXF won't switch
to using Jakarta for a while, so until then I think there's not much point
in updating WSS4J.

Colm.

On Tue, Nov 23, 2021 at 11:47 PM robertlazarski <ro...@gmail.com>
wrote:

> Rebecca,
>
> This is a public mailing list and anyone can respond - including those who
> are not committers nor PMC members i.e project leadership.
>
> I'm on the PMC however I help maintain another Web Services project: Axiom.
>
> For the WSS4J project, the release manager has been this individual below.
>
> Colm O hEigeartaigh <co...@apache.org>
>
> You may want to wait for him to respond. Or the VP of the Web Services
> project as a whole, who also makes commits to WSS4J
>
> Daniel Kulp <dk...@apache.org>
>
> Anyways, I am personally maintaining a large number of Wildfly servers at
> my day job so I have an interest here.
>
> I am a little confused though on the subject since I am not aware of any
> apache project using the Jakarta namespace for releases - which is an
> Eclipse foundation thing these days AFAIK.
>
> Regards,
> Robert
>
>
>
>
> On Tue, Nov 23, 2021 at 1:26 PM Rebecca Searls <rs...@redhat.com> wrote:
>
>> Do you have a schedule to update the imports to the jakarta namespace?
>>
>> On Tue, Nov 23, 2021 at 6:16 PM Martin Gainty <mg...@hotmail.com>
>> wrote:
>>
>>> 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://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/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 <rs...@redhat.com>
>>> *Sent:* Tuesday, November 23, 2021 3:18 PM
>>> *To:* dev <de...@ws.apache.org>
>>> *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 <mg...@hotmail.com>
>>> 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
>>> does 1.6.17 for RH v1 not work for you?
>>>
>>> ------------------------------
>>> *From:* Rebecca Searls <rs...@redhat.com>
>>> *Sent:* Tuesday, November 23, 2021 8:28 AM
>>> *To:* dev <de...@ws.apache.org>
>>> *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?
>>>
>>>

Re: A jakarta namespace version

Posted by robertlazarski <ro...@gmail.com>.
Rebecca,

This is a public mailing list and anyone can respond - including those who
are not committers nor PMC members i.e project leadership.

I'm on the PMC however I help maintain another Web Services project: Axiom.

For the WSS4J project, the release manager has been this individual below.

Colm O hEigeartaigh <co...@apache.org>

You may want to wait for him to respond. Or the VP of the Web Services
project as a whole, who also makes commits to WSS4J

Daniel Kulp <dk...@apache.org>

Anyways, I am personally maintaining a large number of Wildfly servers at
my day job so I have an interest here.

I am a little confused though on the subject since I am not aware of any
apache project using the Jakarta namespace for releases - which is an
Eclipse foundation thing these days AFAIK.

Regards,
Robert




On Tue, Nov 23, 2021 at 1:26 PM Rebecca Searls <rs...@redhat.com> wrote:

> Do you have a schedule to update the imports to the jakarta namespace?
>
> On Tue, Nov 23, 2021 at 6:16 PM Martin Gainty <mg...@hotmail.com> wrote:
>
>> 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://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/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 <rs...@redhat.com>
>> *Sent:* Tuesday, November 23, 2021 3:18 PM
>> *To:* dev <de...@ws.apache.org>
>> *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 <mg...@hotmail.com>
>> 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
>> does 1.6.17 for RH v1 not work for you?
>>
>> ------------------------------
>> *From:* Rebecca Searls <rs...@redhat.com>
>> *Sent:* Tuesday, November 23, 2021 8:28 AM
>> *To:* dev <de...@ws.apache.org>
>> *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?
>>
>>

Re: A jakarta namespace version

Posted by Rebecca Searls <rs...@redhat.com>.
Do you have a schedule to update the imports to the jakarta namespace?

On Tue, Nov 23, 2021 at 6:16 PM Martin Gainty <mg...@hotmail.com> wrote:

> 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://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/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 <rs...@redhat.com>
> *Sent:* Tuesday, November 23, 2021 3:18 PM
> *To:* dev <de...@ws.apache.org>
> *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 <mg...@hotmail.com>
> 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
> does 1.6.17 for RH v1 not work for you?
>
> ------------------------------
> *From:* Rebecca Searls <rs...@redhat.com>
> *Sent:* Tuesday, November 23, 2021 8:28 AM
> *To:* dev <de...@ws.apache.org>
> *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?
>
>

Re: A jakarta namespace version

Posted by Martin Gainty <mg...@hotmail.com>.
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 <rs...@redhat.com>
Sent: Tuesday, November 23, 2021 3:18 PM
To: dev <de...@ws.apache.org>
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 <mg...@hotmail.com>> 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 <rs...@redhat.com>>
Sent: Tuesday, November 23, 2021 8:28 AM
To: dev <de...@ws.apache.org>>
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?

Re: A jakarta namespace version

Posted by Rebecca Searls <rs...@redhat.com>.
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 <mg...@hotmail.com> 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
> does 1.6.17 for RH v1 not work for you?
>
> ------------------------------
> *From:* Rebecca Searls <rs...@redhat.com>
> *Sent:* Tuesday, November 23, 2021 8:28 AM
> *To:* dev <de...@ws.apache.org>
> *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?
>

Re: A jakarta namespace version

Posted by Martin Gainty <mg...@hotmail.com>.
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
does 1.6.17 for RH v1 not work for you?

________________________________
From: Rebecca Searls <rs...@redhat.com>
Sent: Tuesday, November 23, 2021 8:28 AM
To: dev <de...@ws.apache.org>
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?