On Friday 15 April 2011 7:43:06 AM [email protected] wrote: > Hello there, > > I have three short questions about CXF. > > 1. Is it possible to pack all the 64 CXF libs in one jar to use it? The > architecture of my software makes it almost impossible to import so many > chars.
Possible, but not easy or recommended. > 2. I made this by generating the class files to one jar. That won't work. You need to also combine/merge the various files in META- INF which is pretty tricky. I would suggest using our pom at: http://svn.apache.org/repos/asf/cxf/trunk/distribution/bundle/all/ as a starting point. It uses the maven-shade-plugin to merge the various things in META-INF together correctly. If you take that pom and start stripping out things you don't need, you can likely get a smaller jar that has less stuff in it. > Is that conform > with the license? Does anybody know that? If yes, are there addition > things I have to take care of? If all you do is combine the cxf-* things together, the above use of the maven-shade-plugin will pretty much handle everything for you. It merges together the variout NOTICE files and such so the result should be acceptable from a legal standpoint. If you also have it merge in the various Spring jars and JAXB and SAAJ and other non-cxf things, then you could be getting into other legal issues and you'd need to consult whatever legal council you have. > 3. If I understood this correct I just have to add the apache license > 2.0 to my software when I use CXF. Is that correct? You would also need to reproduce the contents of the NOTICE file someplace in your software as well. -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
