You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Matheen <ma...@gmail.com> on 2012/08/08 08:16:48 UTC

Simple problem...installing in servicemix

Hello guys,

I have created maven camel project using JAVA DSL, After running mvn install
command it is showing BUILD SUCCESS.

Now i want to deploy it to servicemix...when i run osgi:install command i am
not able to find my project..

can anyone give some suggestions

Thanks in advance

Mateen
(new servicemix user) 



--
View this message in context: http://servicemix.396122.n5.nabble.com/Simple-problem-installing-in-servicemix-tp5714100.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Simple problem...installing in servicemix

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

As you already run "mvn install", which means the artifacts should be already in your maven local repo, so you can use mvn url handler to install your bundle, something like
osgi:install mvn:mvn_url_pattern

For example, if artifact in your maven local repo is in the folder like
.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.5_spec/1.1.2/
then the mvn_url_pattern should be
org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.1.2
That said, it should be groupId/artifactId/version

HTH
Freeman
-------------
Freeman Fang

FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-8-8, at 下午2:16, Matheen wrote:

> Hello guys,
> 
> I have created maven camel project using JAVA DSL, After running mvn install
> command it is showing BUILD SUCCESS.
> 
> Now i want to deploy it to servicemix...when i run osgi:install command i am
> not able to find my project..
> 
> can anyone give some suggestions
> 
> Thanks in advance
> 
> Mateen
> (new servicemix user) 
> 
> 
> 
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Simple-problem-installing-in-servicemix-tp5714100.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.