Maven shading of Apache Compress

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Martin.bayley
Posts: 5
Joined: 31 Jul 2025, 02:32

Maven shading of Apache Compress

Post by Martin.bayley »

Can the Maven shading be expanded to include all of the Apache Commons packages? At the moment only Compress is shaded which means that there is an issue running a later version of commons lang3.

Martin.bayley
Posts: 5
Joined: 31 Jul 2025, 02:32

Re: Maven shading of Apache Compress

Post by Martin.bayley »

Apologies I'm trying to provide more information but 'Bunny.net' is blocking my attempts to post.

Martin.bayley
Posts: 5
Joined: 31 Jul 2025, 02:32

Re: Maven shading of Apache Compress

Post by Martin.bayley »

Since lang3 v3.18.0 was recently released, attempting to move from the newly-deprecated case-sensitive and case-insensitive methods.

Martin.bayley
Posts: 5
Joined: 31 Jul 2025, 02:32

Re: Maven shading of Apache Compress

Post by Martin.bayley »

Because lang3 is not shaded in the openwebstart Maven build, and an older version is the dependency of commons-compress, any attempt to update my client-side code results in jnlp loading error.

Martin.bayley
Posts: 5
Joined: 31 Jul 2025, 02:32

Re: Maven shading of Apache Compress

Post by Martin.bayley »

Increasing the shading in the 'openwebstart' pom to include 'org apache commons' in the 'openwebstart.jar' rectifies the error.

Janak Mulani
Posts: 1088
Joined: 24 Mar 2020, 13:37

Re: Maven shading of Apache Compress

Post by Janak Mulani »

I will have a look at this.

Post Reply