mirror of https://github.com/apache/maven.git
Added svn export of poms
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
144bbf5ee2
commit
657b63fe19
|
@ -1,34 +1,42 @@
|
|||
#!/bin/sh
|
||||
|
||||
PID=$$
|
||||
RUNNING=`ps -ef | grep synchronize.sh | grep -v 'sh -c' | grep -v grep | grep -v $PID`
|
||||
if [ ! -z "$RUNNING" ]; then
|
||||
echo Sync already running... exiting
|
||||
echo $RUNNING
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
TOOLS_BASE=/home/projects/maven/repository-tools
|
||||
(
|
||||
cd $TOOLS_BASE/syncopate
|
||||
./sync
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
)
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
|
||||
(
|
||||
cd $TOOLS_BASE/repoclean
|
||||
./repoclean.sh synchronize.properties
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
)
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
|
||||
|
||||
(
|
||||
cd $TOOLS_BASE/ibiblio-sync
|
||||
./synchronize-codehaus-to-ibiblio.sh
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
)
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
PID=$$
|
||||
RUNNING=`ps -ef | grep synchronize.sh | grep -v 'sh -c' | grep -v grep | grep -v $PID`
|
||||
if [ ! -z "$RUNNING" ]; then
|
||||
echo Sync already running... exiting
|
||||
echo $RUNNING
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
TOOLS_BASE=/home/projects/maven/repository-tools
|
||||
(
|
||||
cd $TOOLS_BASE/syncopate
|
||||
./sync
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
)
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
|
||||
(
|
||||
cd $TOOLS_BASE/repoclean
|
||||
./repoclean.sh synchronize.properties
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
)
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
|
||||
|
||||
(
|
||||
cd /home/projects/maven/repository-staging/to-ibiblio/maven2
|
||||
svn export --force svn://svn.codehaus.org/maven/scm/repository/ .
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
)
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
|
||||
|
||||
(
|
||||
cd $TOOLS_BASE/ibiblio-sync
|
||||
./synchronize-codehaus-to-ibiblio.sh
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
)
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue