Created
March 20, 2018 12:36
-
-
Save oowekyala/0936bb861afbf3c7926397e7a85ec6ab to your computer and use it in GitHub Desktop.
Fix PMD maven import setting all the modules to 1.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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