mirror of https://github.com/apache/maven.git
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:
parent
c3862d2a26
commit
a44adcbbb5
|
@ -2,3 +2,5 @@ it0000
|
||||||
it0001
|
it0001
|
||||||
it0002
|
it0002
|
||||||
it0003
|
it0003
|
||||||
|
it0004
|
||||||
|
it0005
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
${maven.repo.local}/maven/poms/maven-core-it0004-1.0.pom
|
|
@ -0,0 +1 @@
|
||||||
|
pom:install
|
|
@ -0,0 +1,6 @@
|
||||||
|
<project>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>maven</groupId>
|
||||||
|
<artifactId>maven-core-it0004</artifactId>
|
||||||
|
<version>1.0</version>
|
||||||
|
</project>
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
pom:install
|
|
@ -0,0 +1,6 @@
|
||||||
|
<project>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>maven</groupId>
|
||||||
|
<artifactId>maven-core-it0005</artifactId>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
</project>
|
|
@ -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
|
Loading…
Reference in New Issue