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 reflective access

mentioning com.thoughtworks.xstream.core.util.Fields

This stops the build.

as mentioned in xstream sources project.

I wonder if for solution I can use:

maven - - add-opens com.thoughtworks.xstream.core.util=ALL-UNNAMED
?
Or something else I don't see which dependency is requiring xstream.

Thanks.


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 reflective access

mentioning com.thoughtworks.xstream.core.util.Fields

This stops the build.

as mentioned in xstream sources project.

I wonder if for solution I can use:

maven - - add-opens com.thoughtworks.xstream.core.util=ALL-UNNAMED
?
Or something else I don't see which dependency is requiring xstream.

Thanks.

I'm sorry if I have sent the message twice.

Reply via email to