This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new 2929f43  fix script with the file path separator :)
2929f43 is described below

commit 2929f43eea70543108bb10aaf8f92978665d2f01
Author: olivier lamy <[email protected]>
AuthorDate: Mon Jun 1 12:19:44 2020 +1000

    fix script with the file path separator :)
    
    Signed-off-by: olivier lamy <[email protected]>
---
 README.md  | 8 +++++++-
 run-its.sh | 5 +++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index ea8d7fc..b6c4fca 100644
--- a/README.md
+++ b/README.md
@@ -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: [email protected]
diff --git a/run-its.sh b/run-its.sh
index 050a617..c44ae38 100755
--- a/run-its.sh
+++ b/run-its.sh
@@ -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
 
 

Reply via email to