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

bvahdat pushed a commit to branch improve-camel-example-spring-security-scripts
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to 
refs/heads/improve-camel-example-spring-security-scripts by this push:
     new 41b818e  better make use of the maven wrapper instead of cli
41b818e is described below

commit 41b818e6be94ba26c35f0218cc1a2b5ff02ac1d7
Author: Babak Vahdat <[email protected]>
AuthorDate: Fri Jan 1 14:16:40 2021 +0100

    better make use of the maven wrapper instead of cli
---
 examples/camel-example-spring-security/client/access-admin-as-bob.sh  | 2 +-
 examples/camel-example-spring-security/client/access-admin-as-jim.sh  | 2 +-
 examples/camel-example-spring-security/client/access-admin-no-auth.sh | 2 +-
 examples/camel-example-spring-security/client/access-user-as-bob.sh   | 2 +-
 examples/camel-example-spring-security/client/access-user-as-jim.sh   | 2 +-
 examples/camel-example-spring-security/client/access-user-no-auth.sh  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/examples/camel-example-spring-security/client/access-admin-as-bob.sh 
b/examples/camel-example-spring-security/client/access-admin-as-bob.sh
index 4c3f450..206ce32 100755
--- a/examples/camel-example-spring-security/client/access-admin-as-bob.sh
+++ b/examples/camel-example-spring-security/client/access-admin-as-bob.sh
@@ -18,6 +18,6 @@
 
 rm -rf work
 mkdir work
-POM_VERSION=$(mvn -f ../pom.xml help:evaluate -Dexpression=project.version -q 
-DforceStdout)
+POM_VERSION=$(../../../mvnw -f ../pom.xml help:evaluate 
-Dexpression=project.version -q -DforceStdout)
 wget --http-user=bob --http-password=bobspassword --directory-prefix=work  
--output-file=work/log.txt 
http://localhost:8080/camel-example-spring-security-$POM_VERSION/camel/admin
 cat -n work/* | less
diff --git 
a/examples/camel-example-spring-security/client/access-admin-as-jim.sh 
b/examples/camel-example-spring-security/client/access-admin-as-jim.sh
index a4a9fdb..48bf524 100755
--- a/examples/camel-example-spring-security/client/access-admin-as-jim.sh
+++ b/examples/camel-example-spring-security/client/access-admin-as-jim.sh
@@ -18,6 +18,6 @@
 
 rm -rf work
 mkdir work
-POM_VERSION=$(mvn -f ../pom.xml help:evaluate -Dexpression=project.version -q 
-DforceStdout)
+POM_VERSION=$(../../../mvnw -f ../pom.xml help:evaluate 
-Dexpression=project.version -q -DforceStdout)
 wget --http-user=jim --http-password=jimspassword --directory-prefix=work  
--output-file=work/log.txt 
http://localhost:8080/camel-example-spring-security-$POM_VERSION/camel/admin
 cat -n work/* | less
diff --git 
a/examples/camel-example-spring-security/client/access-admin-no-auth.sh 
b/examples/camel-example-spring-security/client/access-admin-no-auth.sh
index 505a90b..ee44c5b 100755
--- a/examples/camel-example-spring-security/client/access-admin-no-auth.sh
+++ b/examples/camel-example-spring-security/client/access-admin-no-auth.sh
@@ -18,6 +18,6 @@
 
 rm -rf work
 mkdir work
-POM_VERSION=$(mvn -f ../pom.xml help:evaluate -Dexpression=project.version -q 
-DforceStdout)
+POM_VERSION=$(../../../mvnw -f ../pom.xml help:evaluate 
-Dexpression=project.version -q -DforceStdout)
 wget --directory-prefix=work  --output-file=work/log.txt 
http://localhost:8080/camel-example-spring-security-$POM_VERSION/camel/admin
 cat -n work/* | less
diff --git 
a/examples/camel-example-spring-security/client/access-user-as-bob.sh 
b/examples/camel-example-spring-security/client/access-user-as-bob.sh
index 13aeff5..027f7d3 100755
--- a/examples/camel-example-spring-security/client/access-user-as-bob.sh
+++ b/examples/camel-example-spring-security/client/access-user-as-bob.sh
@@ -18,6 +18,6 @@
 
 rm -rf work
 mkdir work
-POM_VERSION=$(mvn -f ../pom.xml help:evaluate -Dexpression=project.version -q 
-DforceStdout)
+POM_VERSION=$(../../../mvnw -f ../pom.xml help:evaluate 
-Dexpression=project.version -q -DforceStdout)
 wget --http-user=bob --http-password=bobspassword --directory-prefix=work  
--output-file=work/log.txt 
http://localhost:8080/camel-example-spring-security-$POM_VERSION/camel/user
 cat -n work/* | less
diff --git 
a/examples/camel-example-spring-security/client/access-user-as-jim.sh 
b/examples/camel-example-spring-security/client/access-user-as-jim.sh
index 670de11..e47bbd0 100755
--- a/examples/camel-example-spring-security/client/access-user-as-jim.sh
+++ b/examples/camel-example-spring-security/client/access-user-as-jim.sh
@@ -18,6 +18,6 @@
 
 rm -rf work
 mkdir work
-POM_VERSION=$(mvn -f ../pom.xml help:evaluate -Dexpression=project.version -q 
-DforceStdout)
+POM_VERSION=$(../../../mvnw -f ../pom.xml help:evaluate 
-Dexpression=project.version -q -DforceStdout)
 wget --http-user=jim --http-password=jimspassword --directory-prefix=work  
--output-file=work/log.txt 
http://localhost:8080/camel-example-spring-security-$POM_VERSION/camel/user
 cat -n work/* | less
diff --git 
a/examples/camel-example-spring-security/client/access-user-no-auth.sh 
b/examples/camel-example-spring-security/client/access-user-no-auth.sh
index 44061d2..3fdc1e7 100755
--- a/examples/camel-example-spring-security/client/access-user-no-auth.sh
+++ b/examples/camel-example-spring-security/client/access-user-no-auth.sh
@@ -18,6 +18,6 @@
 
 rm -rf work
 mkdir work
-POM_VERSION=$(mvn -f ../pom.xml help:evaluate -Dexpression=project.version -q 
-DforceStdout)
+POM_VERSION=$(../../../mvnw -f ../pom.xml help:evaluate 
-Dexpression=project.version -q -DforceStdout)
 wget --directory-prefix=work  --output-file=work/log.txt 
http://localhost:8080/camel-example-spring-security-$POM_VERSION/camel/user
 cat -n work/* | less

Reply via email to