Add maven plugin and set a version

So that we can deploy it on a maven repository and use it as
dependency in a maven/gradle/sbt/.. project.
Add build to gitignore