mirror of https://github.com/apache/maven.git
fix script with the file path separator :)
Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
parent
59d1b4854e
commit
0a666f3050
|
@ -34,7 +34,7 @@ mvn verify -P local-it -f "$MAVENCODEBASE"
|
|||
|
||||
Now run (don't forget to update the versions!)
|
||||
```
|
||||
mvn clean install -Prun-its,embdedded -Dmaven.repo.local=`pwd`/repo -DmavenDistro="$MAVENCODEBASE\apache-maven\target\apache-maven-<VERSION>-bin.zip" -DwrapperDistroDir="$MAVENCODEBASE\apache-maven\target" -DmavenWrapper="$MAVENCODEBASE\maven-wrapper\target\maven-wrapper-<VERSION>.jar"
|
||||
mvn clean install -Prun-its,embdedded -Dmaven.repo.local=`pwd`/repo -DmavenDistro="$MAVENCODEBASE/apache-maven/target/apache-maven-<VERSION>-bin.zip" -DwrapperDistroDir="$MAVENCODEBASE/apache-maven/target" -DmavenWrapper="$MAVENCODEBASE/maven-wrapper/target/maven-wrapper.jar"
|
||||
```
|
||||
|
||||
or if behind a proxy
|
||||
|
@ -43,4 +43,10 @@ or if behind a proxy
|
|||
mvn clean install -Prun-its -Dmaven.repo.local=`pwd`/repo -DmavenDistro=/path/to/apache-maven-dist.zip -Dproxy.active=true -Dproxy.type=http -Dproxy.host=... -Dproxy.port=... -Dproxy.user=... -Dproxy.pass=...
|
||||
```
|
||||
|
||||
Using the script
|
||||
|
||||
Build Maven core with the profile `-PversionlessMavenDist`
|
||||
|
||||
Now Run the script: `sh ./run-its.sh`
|
||||
|
||||
Maven Developers List: dev@maven.apache.org
|
||||
|
|
|
@ -20,12 +20,13 @@
|
|||
#
|
||||
|
||||
# How I run the ITs from a clean slate. Though I do this with a primed Nexus instance. JvZ.
|
||||
# build maven core using -PversionlessMavenDist
|
||||
|
||||
if [ -z "$MAVENCODEBASE" ] ; then
|
||||
echo Please export MAVENCODEBASE
|
||||
else
|
||||
mvn verify -P local-it -f "$MAVENCODEBASE"
|
||||
mvn clean test -Prun-its,embdedded -Dmaven.repo.local=`pwd`/repo -DmavenDistro="$MAVENCODEBASE\apache-maven\target\apache-maven-bin.zip" -DwrapperDistroDir="$MAVENCODEBASE\apache-maven\target" -DmavenWrapper="$MAVENCODEBASE\maven-wrapper\target\maven-wrapper.jar"
|
||||
mvn verify -P versionlessMavenDist -f "$MAVENCODEBASE"
|
||||
mvn clean test -Prun-its,embdedded -Dmaven.repo.local=`pwd`/repo -DmavenDistro="$MAVENCODEBASE/apache-maven/target/apache-maven-bin.zip" -DwrapperDistroDir="$MAVENCODEBASE/apache-maven/target" -DmavenWrapper="$MAVENCODEBASE/maven-wrapper/target/maven-wrapper.jar"
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue