Agree,

I will update the website in that way.

Thanks
Regards
JB

On 03/09/2011 09:52 AM, Sorin Silaghi wrote:
Great, thanks for the reply. Maybe a notice of this should be added to
the documentation ?

On Wed, Mar 9, 2011 at 10:47 AM, Jean-Baptiste Onofré<[email protected]>  wrote:
Hi Sorin,

this goal is deprecated.

In place, you should use:

mvn install

to generate the SA zip file and drop this file into the hotdeploy/deploy
directory.

Regards
JB

On 03/09/2011 09:33 AM, Sorin Silaghi wrote:

Hello,


          I've been trying to deploy a SA using the jbi-maven-plugin
and ran into a few problems.

          The first one was that I got a NameNotFoundException: jmxrmi.
Took me a while to figure out what this referes to. Looks like the
plugin tries to connect by default to:
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi

           That's different from the default path that ServiceMix has
configured wich would be:
service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root

           This is not mentioned in the documentation (as far as I can
tell) and I couldn't find a way to specify the jndiName for the maven
plugin either. So I ended up changing the path on the server so I
could connect to it.

           Now I'm strugling with another issue: if I try mvn
jbi:projectDeploy it will throw an error saying servicemix-mail
already exists(even if I use the scope provided or compile). If I add
-DdeployDependencies=false then it will give me an error "No component
found with scheme: nmr" although I have nmr installed on the server.

           So can anybody tell me how to do a deploy with maven? This
seems way more troublesome than it should be.


Sorin

Reply via email to