infinispan/infinispan — pull request #1573 by anistor (2013-01-14 15:39:56+00:00)
Title: ISPN-2326 c3p0 not part of the release

This solves: https://issues.jboss.org/browse/ISPN-2326

* c3p0 dependency was ignored by maven assembly plugin because this dependency is referenced by multiple modules, in multiple scopes (including test scope). The processing order of modules (and their dependencies) becomes important because only the first one is considered, so if that happens to have 'test' scope it won't make it into the distro. This is a consequence of a broader issue/limitation that is already documented in the plugin user guide and to overcome it we should avoid multiple moduleSets (not doable). The current solution consists of adding a FIRST moduleSet that aggregates all jar deps in 'proper' order and removing dependency processing from existing moduleSets.

* Made some trivial changes in bin.xml assembly to reduce the amount of text differences to all.xml (bin.xml is a subset of all.xml and any irrelevant differences should go away to simplify maintaining them in parallel)

* Force dependency resolution for commons-codec and commons-collections to use a global common version (otherwise they would diverge)

* Remove some duplicated dependencies in spring/pom.xml and cli-server/pom.xml.