[infinispan-dev] Finding unused dependecies in infinispan distribution zip

Manik Surtani manik at jboss.org
Tue Jun 19 04:23:32 EDT 2012


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

> On 18 June 2012 17:35, Vladimir Blagojevic <vblagoje at 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
manik at jboss.org
twitter.com/maniksurtani

Project Lead, Infinispan
http://www.infinispan.org

Platform Architect, JBoss Data Grid
http://www.redhat.com/promo/dg6beta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20120619/ffab6bef/attachment.html 


More information about the infinispan-dev mailing list