Add a function to use maven with java8.
Add bin/create-patch-remove-pattern.sh