Skip to content

Instantly share code, notes, and snippets.

@oowekyala oowekyala/fix-mvn
Created Mar 20, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.