mirror of https://github.com/apache/maven.git
Use maven.properties in all code instead of build.properties.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9d6d6c514f
commit
459ea80166
2
ci.sh
2
ci.sh
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# 4. export PATH=$PATH:$MBOOT:$M2_HOME/bin
|
# 4. export PATH=$PATH:$MBOOT:$M2_HOME/bin
|
||||||
#
|
#
|
||||||
# 5. Your ~/build.properties must have: maven.repo.local = ~/path/to/repo
|
# 5. Your ~/maven.properties must have: maven.repo.local = ~/path/to/repo
|
||||||
#
|
#
|
||||||
# ----------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
repoLocal=`cat $HOME/build.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
|
repoLocal=`cat $HOME/maven.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
|
||||||
|
|
||||||
echo "Removing maven-it-support-1.0.jar from the local repository so we can verify its downloading ..."
|
echo "Removing maven-it-support-1.0.jar from the local repository so we can verify its downloading ..."
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
repoLocal=`cat $HOME/build.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
|
repoLocal=`cat $HOME/maven.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
|
||||||
|
|
||||||
echo "Removing maven-core-it0003-1.0.jar from the local repository so we can verify jar installation ..."
|
echo "Removing maven-core-it0003-1.0.jar from the local repository so we can verify jar installation ..."
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
repoLocal=`cat $HOME/build.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
|
repoLocal=`cat $HOME/maven.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 ..."
|
echo "Removing maven-core-it0004-1.0.pom from the local repository so we can verify pom installation ..."
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
repoLocal=`cat $HOME/build.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
|
repoLocal=`cat $HOME/maven.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 ..."
|
echo "Removing maven-core-it0005-1.0.pom from the local repository so we can verify pom installation ..."
|
||||||
|
|
||||||
|
|
|
@ -42,9 +42,9 @@ createMBootClasspath()
|
||||||
|
|
||||||
findAndSetMavenRepoLocal()
|
findAndSetMavenRepoLocal()
|
||||||
{
|
{
|
||||||
if [ -f $HOME/build.properties ]
|
if [ -f $HOME/maven.properties ]
|
||||||
then
|
then
|
||||||
repoLocal=`cat $HOME/build.properties | egrep "^maven.repo.local" | sed 's/^.*= *//'`
|
repoLocal=`cat $HOME/maven.properties | egrep "^maven.repo.local" | sed 's/^.*= *//'`
|
||||||
else
|
else
|
||||||
repoLocal=$HOME/.maven/repository
|
repoLocal=$HOME/.maven/repository
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue