Hi there,
I've compared the libraries in the xwiki standard war generated by both the
Ant build and by m2's build. There are numerous differences which we need to
reconcile:
Jars present in the m2-generated war but not present in Ant's build:
====================================================================
activation 1.1
commons validator 1.1.4
jmock 1.0.1
junit 3.8.1
logkit 1.0.1
servlet api 2.4
velocity-dep 1.4
xpp3 1.1.2a
xstream 1.0.2
I don't think we need those (they were added by transitive dependencies but
there are often errors in the POMs. For example the junit and jmock jars are
probably because these deps did not have a "test" scope in some POM). I'll
exclude those.
Jars present in the Ant-generated war but not present in m2's build:
====================================================================
asm 1.5.3
asm-util 1.5.3
c3p0 0.8.4.5
cglib 2.1
clover 1.3.9 (not needed I believe in the main war)
commons discovery 0.2
commons logging adapter 1.1
commons logging api 1.1
concurrent
derby 10.1.3.1
ehcache 1.1
flipper
hibernate-tools 2.1.3
hsqldb 1.8.0
exo services chart api 2.0
exo services chart impl 2.0
exo services commons api 2.0
exo services database impl 2.0
exo services organization impl 2.0
exo services security impl 2.0
jimi
lucene 1.4.3
mysql connector java 3.1.7-bin
odmg 3.0
qname 1.5.2
saaj 1.2
securityfilter 2.0
serializer 2.7.0
sl4j log4j12 1.0.1
swarmcache
velocity tools 1.1
ws-common-java5 1.0.1
wsdl4j 1.5.2
xmlrpc-client 3.0
xsltc 2.7.0
None of these jars are required for compiling the classes in
core/src/main/java. There are 2 possibilities:
1) some are required at runtime
2) some are extra jars that we don't need
Could someone please tell me which jars fall in category 1) and which fall
in category 2)?
Another question: Do we need the exo jars at all (this is the standard war,
not the exo one)?
Version mismatch between Ant's and Maven2's builds
==================================================
antlr 2.7.2 (m2) vs 2.7.5
avalon fwk 4.1.3 vs 4.1.5
commons beanutils 1.6 vs 1.7
commons digester 1.6 vs 1.7
commons fileupload 1.0 vs 1.1.1
commons pool 1.2 vs 1.1
ical4j 0.9.19 vs 0.9.19M
log4j 1.2.12 vs 1.2.13
xalan 2.5.1 vs 2.7.0
xml apis 1.0.b2 vs 2.0.2
xerces impl 2.5.0 vs xerces 2.7.1
These are jars that were added by transitive dependencies (as otherwise they
would have the same version). I need to know for which of them it's ok to
use the version brought by transitive deps (normally all I'd say but I'd
like to check).
Thanks
-Vincent
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface
r�volutionnaire.
http://fr.mail.yahoo.com