You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by pr...@apache.org on 2020/02/10 17:30:08 UTC
[ranger] branch master updated: RANGER-2721: Fix build instructions
in README.txt and Docker build script
This is an automated email from the ASF dual-hosted git repository.
pradeep pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new 1718a56 RANGER-2721: Fix build instructions in README.txt and Docker build script
1718a56 is described below
commit 1718a56d20ea98e128f2152c5370183c946ab155
Author: andrewluotechnologies <an...@outlook.com>
AuthorDate: Wed Feb 5 10:23:54 2020 -0800
RANGER-2721: Fix build instructions in README.txt and Docker build script
Signed-off-by: Pradeep <pr...@apache.org>
---
README.txt | 2 +-
build_ranger_using_docker.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.txt b/README.txt
index c1a2f1b..fce972a 100644
--- a/README.txt
+++ b/README.txt
@@ -29,7 +29,7 @@ Build Process
2. On the root folder, please execute the following Maven command:
- $ mvn clean compile package install assembly:assembly
+ $ mvn clean compile package install
$ mvn eclipse:eclipse
(Ranger Admin UI tests depend on PhantomJS. If the build fails with npm or Karma errors you can either
diff --git a/build_ranger_using_docker.sh b/build_ranger_using_docker.sh
index 17c8ed0..cf8cf13 100755
--- a/build_ranger_using_docker.sh
+++ b/build_ranger_using_docker.sh
@@ -22,12 +22,12 @@
#5. To delete the image, run "[sudo] docker rmi ranger_dev"
#Usage: [sudo] ./build_ranger_using_docker.sh [-build_image] mvn <build params>
-#Example 1 (default no param): (mvn -Pall -DskipTests=true clean compile package install assembly:assembly)
+#Example 1 (default no param): (mvn -Pall -DskipTests=true clean compile package install)
#Example 2 (Regular build): ./build_ranger_using_docker.sh mvn -Pall clean install -DskipTests=true
#Example 3 (Recreate Docker image): ./build_ranger_using_docker.sh mvn -Pall -build_image clean install -DskipTests=true
#Notes: To remove build image manually, run "docker rmi ranger_dev" or "sudo docker rmi ranger_dev"
-default_command="mvn -Pall -DskipTests=true clean compile package install assembly:assembly"
+default_command="mvn -Pall -DskipTests=true clean compile package install"
build_image=0
if [ "$1" = "-build_image" ]; then
build_image=1