Hi,
I have frequently encountered this problem that versions of third party jars
across modules are not uniform.
Like the xwiki-core uses commons-lang of version 2.1 and lucene 2.3.
Similarly some module uses xerces-impl of version 2.0.2 where as some other
2.8.1.
As the xwiki build can be made of different modules as per custom
requirements, when we bring these modules together there is a conflict in
the jar versions.
This way different jars of same version end up in the lib directory and
causes class not found exceptions.
I don't know what is the best way to avoid such a problem, but best I can
think is when building the pom we should ensure that version of the third
party jar stays uniform atleast across xwiki-platform.
Thanks
Sachin
-----
http://www.assembla.com/wiki/show/sachin_mittal about me:
--
View this message in context:
http://www.nabble.com/Keeping-uniform-jar-versions-across-modules-tp1619459…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.