Thanks for the suggestion.
Here is the dependency tree (for current nightly):
- Code: Select all
org.docx4j:docx4j
+- org.plutext:jaxb-svg11:jar:1.0.2
+- org.plutext:jaxb-xslfo:jar:1.0.1
+- org.plutext:jaxb-xmldsig-core:jar:1.0.0
+- net.engio:mbassador:jar:1.1.10 <-----------new!
+- org.slf4j:slf4j-api:jar:1.7.5
+- commons-lang:commons-lang:jar:2.4
+- commons-codec:commons-codec:jar:1.3
+- commons-io:commons-io:jar:1.3.1
+- org.apache.xmlgraphics:xmlgraphics-commons:jar:1.5
+- org.apache.xmlgraphics:fop:jar:1.1
| +- org.apache.xmlgraphics:batik-svg-dom:jar:1.7
| | +- org.apache.xmlgraphics:batik-anim:jar:1.7
| | +- org.apache.xmlgraphics:batik-css:jar:1.7
| | +- org.apache.xmlgraphics:batik-dom:jar:1.7
| | +- org.apache.xmlgraphics:batik-parser:jar:1.7
| | \- org.apache.xmlgraphics:batik-util:jar:1.7
| +- org.apache.xmlgraphics:batik-bridge:jar:1.7
| | +- org.apache.xmlgraphics:batik-script:jar:1.7
| | \- org.apache.xmlgraphics:batik-xml:jar:1.7
| +- org.apache.xmlgraphics:batik-awt-util:jar:1.7
| +- org.apache.xmlgraphics:batik-gvt:jar:1.7
| +- org.apache.xmlgraphics:batik-transcoder:jar:1.7
| | \- org.apache.xmlgraphics:batik-svggen:jar:1.7
| +- org.apache.xmlgraphics:batik-extension:jar:1.7
| \- org.apache.xmlgraphics:batik-ext:jar:1.7
+- commons-logging:commons-logging:jar:1.1.1
+- org.apache.avalon.framework:avalon-framework-api:jar:4.3.1
+- org.apache.avalon.framework:avalon-framework-impl:jar:4.3.1
+- xalan:xalan:jar:2.7.1
| \- xalan:serializer:jar:2.7.1
+- net.arnx:wmf2svg:jar:0.9.0
+- org.apache.poi:poi-scratchpad:jar:3.8
| \- org.apache.poi:poi:jar:3.8
+- org.antlr:antlr-runtime:jar:3.3
+- org.antlr:stringtemplate:jar:3.2.1
| \- antlr:antlr:jar:2.7.7
Optional:
+- org.eclipse.persistence:org.eclipse.persistence.moxy:jar:2.5.1:compile
| +- org.eclipse.persistence:org.eclipse.persistence.core:jar:2.5.1:compile
| | \- org.eclipse.persistence:org.eclipse.persistence.asm:jar:2.5.1:compile
| \- org.eclipse.persistence:org.eclipse.persistence.antlr:jar:2.5.1:compile
What is causing you problems in JBoss? You can answer that question in the deployment forum for JBoss.
We try not to add extra dependencies lightly, and have succeeded in getting rid of some in the past. That said, there's not a lot of scope for trimming them:-
1. A lot of the dependencies come from FOP. You might be able to get away without them if you don't use XSL FO output.
2. Currently you need the 'real' Xalan; eventually you won't, but don't hold your breath!
3. POI could be made optional