Add integration tests for pom:install

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162854 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-07-05 16:53:16 +00:00
parent c3862d2a26
commit a44adcbbb5
9 changed files with 35 additions and 0 deletions

View File

@ -2,3 +2,5 @@ it0000
it0001
it0002
it0003
it0004
it0005

View File

@ -0,0 +1 @@
${maven.repo.local}/maven/poms/maven-core-it0004-1.0.pom

View File

@ -0,0 +1 @@
pom:install

View File

@ -0,0 +1,6 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>maven</groupId>
<artifactId>maven-core-it0004</artifactId>
<version>1.0</version>
</project>

View File

@ -0,0 +1,7 @@
#!/bin/sh
repoLocal=`cat $HOME/build.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
echo "Removing maven-core-it0004-1.0.pom from the local repository so we can verify pom installation ..."
rm -f $repoLocal/maven/poms/maven-core-it0004-1.0.pom > /dev/null 2>&1

View File

@ -0,0 +1,2 @@
${maven.repo.local}/maven/poms/maven-core-it0005-1.0-SNAPSHOT.pom
${maven.repo.local}/maven/poms/maven-core-it0005-1.0-SNAPSHOT.pom.snapshot-version

View File

@ -0,0 +1 @@
pom:install

View File

@ -0,0 +1,6 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>maven</groupId>
<artifactId>maven-core-it0005</artifactId>
<version>1.0-SNAPSHOT</version>
</project>

View File

@ -0,0 +1,9 @@
#!/bin/sh
repoLocal=`cat $HOME/build.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
echo "Removing maven-core-it0005-1.0.pom from the local repository so we can verify pom installation ..."
rm -f $repoLocal/maven/poms/maven-core-it0005-1.0-SNAPSHOT.pom > /dev/null 2>&1
rm -f $repoLocal/maven/poms/maven-core-it0005-1.0-SNAPSHOT.pom.snapshot-version > /dev/null 2>&1