You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/12/02 12:31:58 UTC

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

Updated Branches:
  refs/heads/master 3ad2ccbdd -> fa48ad8e4


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

Branch: refs/heads/master
Commit: fa48ad8e4cb3a850f2ff40ff184c2f096d8507ea
Parents: 3ad2ccb
Author: Babak Vahdat <bv...@apache.org>
Authored: Mon Dec 2 12:31:50 2013 +0100
Committer: Babak Vahdat <bv...@apache.org>
Committed: Mon Dec 2 12:31:50 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/fa48ad8e/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;