Write JAR to target/ directory to enable artifact to be picked up by Jenkins.