Le mar. 12 oct. 2021 à 19:47, Manuel Dahmen <[email protected]> a écrit :

> 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.
>

Reply via email to