Merge into master from pull request #312:
java_gen/pom.xml: Bump version to 0.4.0 (https://github.com/floodlight/loxigen/pull/312)