See #955.
Be sure to use maven caching for cleaning. Also relocate all the CI scripts into a ci folder.