Vincent Massol a écrit :
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
Needed for hibernate I think
asm-util 1.5.3
Needed for hibernate I think
c3p0 0.8.4.5
Hibernate. I don't think it's needed
cglib 2.1
I think it comes from hibernate. I think it's needed
clover 1.3.9 (not needed I believe in the main war)
Not needed
commons discovery 0.2
I think this one is needed
commons logging adapter 1.1
I think this one is needed
commons logging api 1.1
I think this one is needed
> concurrent
I think this one is needed
> derby 10.1.3.1
Not needed I think
> ehcache 1.1
I think hibernate added this. I don't
think it's needed
> flipper
what is that ?
> hibernate-tools 2.1.3
Might be needed but I'm not sure
> hsqldb 1.8.0
-> needed for hsqldb storage
> 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
Needed for eXo portal mode
> jimi
No idea what this does
> lucene 1.4.3
Don't remember which library added that
one. I don't think it's used.
> mysql connector java 3.1.7-bin
Needed for mysql access
> odmg 3.0
I think it comes from hibernate. Needed I
think
> qname 1.5.2
Not sure if it's needed
> saaj 1.2
Not sure if it's needed
> securityfilter 2.0
Needed for our authentication module
> serializer 2.7.0
Not sure if it's needed
> sl4j log4j12 1.0.1
Not sure if it's needed
> swarmcache
Hibernate. Not sure if it's needed
> velocity tools 1.1
Needed
> ws-common-java5 1.0.1
Not sure it's needed
> wsdl4j 1.5.2
Note sure but maybe for the WS
> xmlrpc-client 3.0
Needed
> xsltc 2.7.0
>
Needed for PDF
> 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
Not important I think
> avalon fwk 4.1.3 vs 4.1.5
Not important I think
> commons beanutils 1.6 vs 1.7
Not important I think
> commons digester 1.6 vs 1.7
Not important I think
>>
> commons fileupload 1.0 vs 1.1.1
Not important I think
> commons pool 1.2 vs 1.1
Might have a fix in the 1.2 that we need for
multi-wiki support
> ical4j 0.9.19 vs 0.9.19M
Needed for the Calendar plugin. The modified
versioned fixed a probleme
with Google Calendar iCal
> log4j 1.2.12 vs 1.2.13
Don't think it has any importance
xalan 2.5.1 vs 2.7.0
Same thing
> xml apis 1.0.b2 vs 2.0.2
> xerces impl 2.5.0 vs xerces 2.7.1
>
Same thing
> 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
>
>
------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing
list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic