Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

find . -name "*.java" | xargs egrep -v -h "^\s*[//|/*|*/]" | egrep -v "^\s*$" | wc -l

 

SED for the win!

I never can get maven to do a recursive mvn versions:set so instead I used find combined with sed:

Code Block
find . -name "pom.xml" -exec sed -i 's/-SNAPSHOT//g' {} \;