Versions Compared

Key

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

...

Now grep for other instances of the old version number, excluding the website and generated docs areas.  Don't forget to backslash the "." (period) characters in the match string.  And you already did a 'mvn clean' in the previous step, right?

OLDVER='0\.4\.0'

for f in
`grep
 `grep -l -r --exclude 'site/*' --exclude dependency-reduced-pom.xml \
--exclude 'site-book/src/site/markdown/*'
$OLDVER 
 $OLDVER *` ;
do
 do 
   
echo " "; echo $f; grep
$OLDVER $f
 $OLDVER $f; done

Audit the results in an editor, and fix all instances of the old version number that relate to Metron or its components, including:

...

  • "dependency-reduced-pom.xml" files, and any other files you are sure are generated by build actions
  • metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec, which has historical references to old version numbers in the change log
  • Upgrading.md, which documents old version behavior

...