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:36:05 GMT
Updated Branches:
  refs/heads/camel-2.12.x a98f69c24 -> 042677ccc


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/042677cc
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/042677cc
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/042677cc

Branch: refs/heads/camel-2.12.x
Commit: 042677ccce0f2382de20adef437fb4b4a81b1473
Parents: a98f69c
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:35:54 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/042677cc/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