1 Reply Latest reply on Apr 29, 2009 6:47 AM by Sean O'Callaghan

    jbi-maven-plugin - container name

    Nicolas Jorand Newbie

      Hi,

       

      On the version 4.0.0.2-fuse of the maven-plugins there is no way to set the container name when using the jbi:projectDeploy goal of maven.

      Only the default value ( ServiceMix ) is used and cannot be overwrite by the option "-DcontainerName=" as mentioned in the plugin documentation.

       

      I downloaded the code and found a fix, recompiled it and successfully tested locally.

      But I don't know were should I post the modification to be considered in the fuse code. I tried in the Fuse JIRA but I think my user doesn't have the right to create new issues.

       

      So what's the best place to post it ?

       

      Here is the svn diff:

      *************************************

      Index: tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojo.java

      ===================================================================

      \--- tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojo.java     (revision 583347)

      +++ tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojo.java     (working copy)

      @@ -32,7 +32,7 @@

           protected String host;

       

           /**

      \-     * @parameter default-value="ServiceMix"

      +     * @parameter default-value="ServiceMix" expression="$"

            */

           protected String containerName;

      ****************************************

       

      Thanks in advance for any answers,

       

      Nicolas