Skip to content

Instantly share code, notes, and snippets.

@oowekyala
Created March 20, 2018 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oowekyala/0936bb861afbf3c7926397e7a85ec6ab to your computer and use it in GitHub Desktop.
Save oowekyala/0936bb861afbf3c7926397e7a85ec6ab to your computer and use it in GitHub Desktop.
Fix PMD maven import setting all the modules to 1.7
#!/bin/bash
sed -i -e 's/1.5/1.7/g' .idea/compiler.xml
find . -name "*.iml" -exec sed -i -e 's/LANGUAGE_LEVEL="JDK_1_5"/LANGUAGE_LEVEL="JDK_1_7"/g' {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment