camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject git commit: CAMEL-7028: Fixed the NPE when using the embedded goal of camel-maven-plugin.
Date Mon, 02 Dec 2013 11:38:03 GMT
Updated Branches:
  refs/heads/camel-2.11.x c4b34ff63 -> 6bea1e55a


CAMEL-7028: Fixed the NPE when using the embedded goal of camel-maven-plugin.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6bea1e55
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6bea1e55
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6bea1e55

Branch: refs/heads/camel-2.11.x
Commit: 6bea1e55aa5b842691dc64254c1c9017dde0739a
Parents: c4b34ff
Author: Babak Vahdat <bvahdat@apache.org>
Authored: Mon Dec 2 12:31:50 2013 +0100
Committer: Babak Vahdat <bvahdat@apache.org>
Committed: Mon Dec 2 12:37:52 2013 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/maven/EmbeddedMojo.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6bea1e55/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/EmbeddedMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/EmbeddedMojo.java
b/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/EmbeddedMojo.java
index e70b880..d2ab154 100644
--- a/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/EmbeddedMojo.java
+++ b/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/EmbeddedMojo.java
@@ -46,8 +46,8 @@ public class EmbeddedMojo extends AbstractExecMojo {
      * A value <= 0 will run forever. 
      * Adding a s indicates seconds - eg "5s" means 5 seconds.
      *
-     * @parameter property="-1"
-     * @readonly
+     * @parameter property="camel.duration"
+     *            default-value="-1"
      */
     protected String duration;
     


Mime
View raw message