On 2010-08-04 20:45, Mattmann, Chris A (388J) wrote:
One other note is that if it’s jmxtools.jar the Sun version it’s not ASL
compatible and we can’t depend on it (maybe Geronimo has an alternative?)

I found a fix - we need to exclude jmxri and jmxtools from dependencies in log4j and tika-parsers (transitive). I.e. something like this:

Index: ivy/ivy.xml
===================================================================
--- ivy/ivy.xml (revision 982347)
+++ ivy/ivy.xml (working copy)
@@ -66,8 +66,17 @@
<dependency org="org.apache.lucene" name="lucene-core" rev="3.0.2"/> <dependency org="org.apache.lucene" name="lucene-misc" rev="3.0.2"/> <dependency org="org.apache.tika" name="tika-core" rev="0.7" /> + <dependency org="org.apache.tika" name="tika-parsers" rev="0.7"
>
+                       <exclude org="com.sun.jdmk"/>
+                       <exclude org="com.sun.jmx"/>
+                       <exclude org="javax.jms"/>
+               </dependency>

- <dependency org="log4j" name="log4j" rev="1.2.15" conf="*->master" /> + <dependency org="log4j" name="log4j" rev="1.2.15" conf="*->master" >
+                       <exclude org="com.sun.jdmk"/>
+                       <exclude org="com.sun.jmx"/>
+                       <exclude org="javax.jms"/>
+               </dependency>

We can get away with this because these deps are not needed - the implementations are included with JVM-s > 5.0, which we require anyway.

--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com

Reply via email to