2005-09-13 23:40:17 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Clearing out residual working directories"
|
|
|
|
rm -Rf `find . -type d -name target`
|
|
|
|
|
|
|
|
echo "Deploying 'c'"
|
|
|
|
(cd c && m2 --settings ../settings.xml deploy)
|
|
|
|
|
|
|
|
echo "Installing 'b'"
|
|
|
|
(cd b && m2 --settings ../settings.xml install)
|
|
|
|
|
|
|
|
echo "Installing 'a'"
|
2005-09-14 00:13:38 -04:00
|
|
|
(cd a && m2 --settings ../settings-norepo.xml install)
|
2005-09-13 23:40:17 -04:00
|
|
|
|
|
|
|
echo "Removing 'c' from local repository"
|
|
|
|
rm -Rf target/local-repository/org/apache/maven/it2001/c
|
|
|
|
|
|
|
|
echo "Re-running 'a' install"
|
2005-09-14 00:13:38 -04:00
|
|
|
(cd a && m2 --settings ../settings-norepo.xml install)
|
2005-09-13 23:40:17 -04:00
|
|
|
|
|
|
|
echo "Cleaning up."
|
|
|
|
rm -Rf `find . -type d -name target`
|
|
|
|
|