Just pasting this here so i don't loose it. Disregard if not interested.

It takes the versions out of project.properties and puts them in project.xml

#!/bin/bash
for n in $(cat project.properties | grep '_version='); do
   echo "artifactId: ${n/=*/}, version:  ${n/*=/}"
   perl -i -pe "s/..${n/=*/}./${n/*=/}/" project.xml;
done

Something like it will help m2 conversion of the various projects.

-David

Reply via email to