Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

The following adds the correct SCM element to child POMs when they don't match the Maven SCM inheritence conventions:

Code Block
grep -L '<scm>' */pom.xml | while read t1; do module=`echo $t1 | sed 's/\/pom.xml//'`; cat $t1 | sed 's#</project>#  <scm> \
    <developerConnection>scm:svn:$module/trunk</developerConnection> \
</project>#' | sed "s/\$module/$module/g" >$t1.tmp; mv $t1.tmp $t1; done

Replace the URLs in each line with the appropriate URL to add.