Build self-contained JAR artifacts and publish them to S3