trying to crate a java plugin for jenkins but when testing it I get the follwing error:
ava.lang.UnsupportedOperationException: Refusing to marshal com.amazonaws.services.kinesis.producer.KinesisProducer for security reasons; see https://jenkins.io/redirect/class-filter/ at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:546)
reading a bit found out the amazon library may have been blacklisted, didn't find any workaorund for that.
The library is not blacklisted. it is "NOT whitelisted".
I am not sure what is the particular reason to store this class on the disk, so I cannot advice.