I've been working with/on a plugin for talking to github, and I'm
staring at some fairly complex code for processing proxy information
from settings.xml, and some slightly less complex code for obtaining
and decrypting credentials from servers.

Is there a shared component in which I put this? (I don't write
'copy', because I'm not the author, and I don't know if he/she will be
interesting in contributing. If not, I'll make a new one.)

Relatedly, I ran into the problem of wanting to make an HTTPs
connection with a host whose key had an intermediate certificate in
its chain. This led me to a code snippet which installed a truststore
into the global SSL context. It seemed a trifle off to me that code in
one plugin could side-effect the global environment to this extent.
Now, practically, I suppose that it would take a SecurityManager to
prevent this; that seems a cure worse than the disease, but I wonder
if others have thought upon it before.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to