Not a maven issue but something that we ran into.

CXF makes a combined jar that you can use.
If you do not use this beware of incorporating CXF jars into a single jar (jar-with-dependencies) since the individual CXF jars have duplicate property files that only contain the properties required for the jar that they are in and you will end up with one that does not have all the properties that CXF needs.

Their combined jar has property files that are complete for all of the modules combined.

It may add to your overhead to have modules that you do not need but that is infinitely better than having property files that are missing properties that CXF needs.

Ron


On 18/05/2010 9:05 AM, Dan King wrote:
Hi all,

I'd like to use CXF's built-in clients, but rather than downloading all of the 
dependencies I'd like to pull only those jars that are relevant and needed for 
the clients. I ran mvn dependency:tree -Dincludes=org.apache.cxf (output is 
below). By examing the output of the dependency tree, I found that the 
cxf-rt-frontend-jaxrs artifact contains the org.apache.cxf.jaxrs.client package 
-- this package provides the clients.

But I don't know where to go from here. How do I determine what 
org.apache.cxf.jaxrs.client package's dependencies are? Also, is there a way to 
determine dependencies of a class?

-- Dependency tree --

\- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.2.7:compile
[INFO]       +- org.apache.cxf:cxf-common-utilities:jar:2.2.7:compile
[INFO]       +- org.apache.cxf:cxf-api:jar:2.2.7:compile
[INFO]       |  \- org.apache.cxf:cxf-common-schemas:jar:2.2.7:compile
[INFO]       +- org.apache.cxf:cxf-rt-core:jar:2.2.7:compile
[INFO]       +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.2.7:compile
[INFO]       +- org.apache.cxf:cxf-rt-transports-http:jar:2.2.7:compile
[INFO]       \- org.apache.cxf:cxf-rt-databinding-aegis:jar:2.2.7:compile

Thanks.

-Dan





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to