mirror of https://github.com/apache/maven.git
Added -i option to copy
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
91c2856267
commit
3143fbd731
|
@ -89,10 +89,10 @@ echo $BUNDLE
|
||||||
../d2u $LIC
|
../d2u $LIC
|
||||||
|
|
||||||
mkdir -p $REPODIR/${groupId}/licenses
|
mkdir -p $REPODIR/${groupId}/licenses
|
||||||
cp $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license
|
cp -i $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license
|
||||||
|
|
||||||
mkdir -p $REPODIR/${groupId}/poms
|
mkdir -p $REPODIR/${groupId}/poms
|
||||||
cp ${artifactId}-${version}.pom $REPODIR/${groupId}/poms
|
cp -i ${artifactId}-${version}.pom $REPODIR/${groupId}/poms
|
||||||
|
|
||||||
artifactType=`echo ${artifactId} | sed -e 's/maven-.*-plugin//'`
|
artifactType=`echo ${artifactId} | sed -e 's/maven-.*-plugin//'`
|
||||||
|
|
||||||
|
@ -100,10 +100,10 @@ echo $BUNDLE
|
||||||
then
|
then
|
||||||
echo "Deploying Plugin ..."
|
echo "Deploying Plugin ..."
|
||||||
mkdir -p $REPODIR/${groupId}/plugins
|
mkdir -p $REPODIR/${groupId}/plugins
|
||||||
cp ${artifactId}-${version}.jar $REPODIR/${groupId}/plugins
|
cp -i ${artifactId}-${version}.jar $REPODIR/${groupId}/plugins
|
||||||
else
|
else
|
||||||
echo "Deploying JAR ..."
|
echo "Deploying JAR ..."
|
||||||
mkdir -p $REPODIR/${groupId}/jars
|
mkdir -p $REPODIR/${groupId}/jars
|
||||||
cp ${artifactId}-${version}.jar $REPODIR/${groupId}/jars
|
cp -i ${artifactId}-${version}.jar $REPODIR/${groupId}/jars
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue