I'm having a lot of trouble with a Windows BuildAgent that I'm trying to configure.
Basically, everything runs fine from cli on the machine, but I can't reproduce it with the local BuildAgent instance.
Problems arise from the .m2 repository that isn't the same of the local user's, and could potentially come from different JRE or Maven version.
I need to be able to change the User under which BuildAgent runs - SYSTEM right now -, change the Maven instance used from the plugin to the local one, and same for the JRE.
It seems far more difficult than expected, I need help for that!