Make create-agent-jar execution work inside target
Clean up maven warnings: use proper JUnit dependency, specify source encoding