On Mon August 31 2009 8:32:52 am Valerio Schiavoni wrote:
> just as a follow-up of my previous post:
>
> On Mon, Aug 31, 2009 at 1:55 PM, Valerio
>
> Schiavoni<[email protected]> wrote:
> > i use the maven-assembly-plugin to pack all the dependencies of my
> > application in a single jar. For those who know it, I use the
> > 'jar-with-dependencies' assembly descriptor.
> >
> > Nevertheless, when I run my jar, i get the stacktrace [1].
> >
> > Does anyone have an idea about this issue? My guess is that the
> > service discovery mechanism used by CXF to register service handlers
> > was messed up by the generation of the big jar..but I'm not sure at
> > all..
>
> It seems like I was right, and the shade plugin, through the
> ServicesResourceTransform should help me out somehow..

Yea.  Take a look at how we use the shade plugin:

http://svn.apache.org/repos/asf/cxf/trunk/distribution/bundle/all/pom.xml

Alternatively, just depend on cxf-bundle instead of the individual modules.    
It may pull in way more than you need, but it should work for you.


-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to