lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-3204) solr-commons-csv must not use the org.apache.commons.csv package
Date Wed, 07 Mar 2012 21:55:00 GMT


Steven Rowe commented on SOLR-3204:

Option 2 is optional dependencies:

This is a way to force the users of your artifacts to explicitly declare some or all of your
dependencies, rather than getting them automatically. In other words, virality control.

I don't like the fact that taking this approach for all of our non-Mavenized dependencies
(by which I mean those that are not in Maven Central) would put a much greater burden on our
users that consume Lucene/Solr artifacts via Maven.  

Users would have to either have to a) download the binary release and manually install the
non-Maven artifacts one-by-one in their local or internal repository (after consulting both
the top-level Maven POM and a list of per-module dependencies that currently only exists in
a lib/ directory listing); or b) download the source release, run {{ant get-maven-poms}},
then run {{mvn -N -Pbootstrap install}}.  Neither of these fall within the expected level
of effort for Maven users.

-1 from me for using optional dependencies to counter Maven's virality.

> solr-commons-csv must not use the org.apache.commons.csv package
> ----------------------------------------------------------------
>                 Key: SOLR-3204
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.5
>            Reporter: Emmanuel Bourg
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 3.6
>         Attachments: SOLR-3204.patch, SOLR-3204.patch, SOLR-3204.patch, SOLR-3204.patch,
apache-solr-commons-csv-1.0-SNAPSHOT-r966014.jar, apache-solr-commons-csv-1.0-SNAPSHOT-r966014.jar,
rule.txt, rule.txt, solr-csv.patch
> The solr-commons-csv artifact reused the code from the Apache Commons CSV project but
the package wasn't changed to something else than org.apache.commons.csv in the process. This
creates a compatibility issue as the Apache Commons team works toward an official release
of Commons CSV. It prevents Commons CSV from using its own org.apache.commons.csv package,
or forces the renaming of all the classes to avoid a classpath conflict.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message