On 18 Jun 2012, at 20:32, Sanne Grinovero wrote:

On 18 June 2012 17:35, Vladimir Blagojevic <vblagoje@redhat.com> wrote:
On 12-06-18 10:42 AM, Manik Surtani wrote:
Everyone, please have a look and confirm that all of the dependencies
here are actually necessary in each module.

Almost all my dependencies are needed depending on what the user
wants, which options he chooses to enable.
For example, Infinispan Query depends on Hibernate Search "engine" and
Lucene-Core, and from that we stricly require only
hibernate-commons-annotations. But it's very likely you want to use
custom Analyzers, which then triggers Solr packages, a dozen of jars
containing the analyzer extensions, SLF4J, commons-logging,
commons-lang, etc...

Others like Apache Avro + Jackson are needed only if you want
clustering. So that's optional ?

Were should we draw the line? Should we cut them all out, and have a
readme mentioning "download from here" ?

Yeah this is a tough one.  Why doesn't everyone just use Maven.  ;)

I definitely think a README is necessary to detail which jars can be excluded from a user's class path/deployment based on how a module is used, but I'm not so sure about removing the jars from the distro.

Cheers
Manik
--
Manik Surtani

Project Lead, Infinispan

Platform Architect, JBoss Data Grid