You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/10/30 05:21:34 UTC

[camel-spring-boot-examples] branch master updated: Fix the mvn args to specify active profile in README.adoc (#23)

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

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new 9677d7a  Fix the mvn args to specify active profile in README.adoc (#23)
9677d7a is described below

commit 9677d7a95cd39dca12b43e1060342a4d614b4781
Author: Amos Feng <zf...@redhat.com>
AuthorDate: Fri Oct 30 13:18:11 2020 +0800

    Fix the mvn args to specify active profile in README.adoc (#23)
---
 camel-example-spring-boot-rest-jpa/README.adoc    | 2 +-
 camel-example-spring-boot-servicecall/README.adoc | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/camel-example-spring-boot-rest-jpa/README.adoc b/camel-example-spring-boot-rest-jpa/README.adoc
index df028d7..9b8ea4e 100644
--- a/camel-example-spring-boot-rest-jpa/README.adoc
+++ b/camel-example-spring-boot-rest-jpa/README.adoc
@@ -29,7 +29,7 @@ You can run this example with Maven using:
 
 [source,sh]
 ----
-$ mvn spring-boot:run -Dspring.profiles.active=dev
+$ mvn spring-boot:run -Dspring-boot.run.profiles=dev
 ----
 
 Alternatively, you can also run this example using the executable JAR:
diff --git a/camel-example-spring-boot-servicecall/README.adoc b/camel-example-spring-boot-servicecall/README.adoc
index d97ab80..ebe6299 100644
--- a/camel-example-spring-boot-servicecall/README.adoc
+++ b/camel-example-spring-boot-servicecall/README.adoc
@@ -36,12 +36,12 @@ Using multiple shells:
  - start the service-1 service group:
 
   $ cd services
-  $ mvn spring-boot:run -Dspring.profiles.active=service-1
+  $ mvn spring-boot:run -Dspring-boot.run.profiles=service-1
 
   - start the service-2 service group:
 
   $ cd services
-  $ mvn spring-boot:run -Dspring.profiles.active=service-2
+  $ mvn spring-boot:run -Dspring-boot.run.profiles=service-2
 
   - start the consumer