Yes, it works fine with the 1.4.15 and plugin dependency. Thank you for the
advice. I have been blocked for 5 months with this issue.
Le mer. 13 oct. 2021 à 16:24, Alexander Kriegisch
a écrit :
> Probably you added the XStream dependency because on JDK 16+ Nexus
> Staging Maven Plugin does not
Probably you added the XStream dependency because on JDK 16+ Nexus
Staging Maven Plugin does not work anymore without upgrading it (or you
need a lot of add-opens options on the Java command line). I noticed in
my own projects that version 1.4.15 works nicely on JDKs 16 and 17,
while 1.4.18 causes
Manuel Dahmen wrote:
> I don't understand why XStream library is loaded since I don't have this in
> my dependencies.
>
> pom.xml:
> https://github.com/manuelddahmen/empty3/blob/android/pom.xml
I do see this dependency at
https://github.com/manuelddahmen/empty3/blob/android/pom.xml#L308-L312
The XStream library is most likely used by some plugin, but it's hard to
tell as you don't include the actual build output.
/Anders
On Wed, Oct 13, 2021 at 1:58 PM Manuel Dahmen wrote:
> Hello, good evening,
>
> I have 1 Java Maven project.
>
> I don't understand why XStream library is loaded
Hello, good evening,
I have 1 Java Maven project.
I don't understand why XStream library is loaded since I don't have this in
my dependencies.
pom.xml:
https://github.com/manuelddahmen/empty3/blob/android/pom.xml
To publish it I use:
mvn deploy perform:release
I have a warning:
illegal