lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-3405) maven artifacts should be equivalent to binary packaging
Date Tue, 24 Apr 2012 19:09:33 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260841#comment-13260841
] 

Benson Margulies edited comment on SOLR-3405 at 4/24/12 7:08 PM:
-----------------------------------------------------------------

It might be helpful to note the following: with 3.5.0, 3.6.0, and 4.0-SNAPSHOT, I can create
a Maven project with a dependency on solr-core, and have all the necessaries show up to sucessfully
use EmbeddedSolrServer. The result is:

{noformat}
[INFO] +- org.apache.solr:solr-core:jar:3.5.0:provided
[INFO] |  +- org.apache.solr:solr-solrj:jar:3.5.0:provided
[INFO] |  |  \- org.codehaus.woodstox:wstx-asl:jar:3.2.7:provided
[INFO] |  +- org.apache.solr:solr-noggit:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-core:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-analyzers:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-highlighter:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-memory:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-misc:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-queries:jar:3.5.0:provided
[INFO] |  |  \- jakarta-regexp:jakarta-regexp:jar:1.4:provided
[INFO] |  +- org.apache.lucene:lucene-spatial:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-spellchecker:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-grouping:jar:3.5.0:provided
[INFO] |  +- org.apache.solr:solr-commons-csv:jar:3.5.0:provided
[INFO] |  +- commons-codec:commons-codec:jar:1.5:provided
[INFO] |  +- commons-fileupload:commons-fileupload:jar:1.2.1:provided
[INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:provided
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.6.3:provided
[INFO] |  +- commons-io:commons-io:jar:1.4:provided
[INFO] |  +- commons-lang:commons-lang:jar:2.4:provided
[INFO] |  +- com.google.guava:guava:jar:r05:provided
[INFO] |  \- javax.servlet:servlet-api:jar:2.4:provided

{noformat}

                
      was (Author: bmargulies):
    It might be helpful to note the following: with 3.5.0, 3.6.0, and 4.0-SNAPSHOT, I can
create a Maven project with a dependency on solr-core, and have all the necessaries show up
to sucessfully use EmbeddedSolrServer. The result is:

{noformat}
[INFO] |  +- org.apache.solr:solr-solrj:jar:3.5.0:provided
[INFO] |  |  \- org.codehaus.woodstox:wstx-asl:jar:3.2.7:provided
[INFO] |  +- org.apache.solr:solr-noggit:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-core:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-analyzers:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-highlighter:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-memory:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-misc:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-queries:jar:3.5.0:provided
[INFO] |  |  \- jakarta-regexp:jakarta-regexp:jar:1.4:provided
[INFO] |  +- org.apache.lucene:lucene-spatial:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-spellchecker:jar:3.5.0:provided
[INFO] |  +- org.apache.lucene:lucene-grouping:jar:3.5.0:provided
[INFO] |  +- org.apache.solr:solr-commons-csv:jar:3.5.0:provided
[INFO] |  +- commons-codec:commons-codec:jar:1.5:provided
[INFO] |  +- commons-fileupload:commons-fileupload:jar:1.2.1:provided
[INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:provided
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.6.3:provided
[INFO] |  +- commons-io:commons-io:jar:1.4:provided
[INFO] |  +- commons-lang:commons-lang:jar:2.4:provided
[INFO] |  +- com.google.guava:guava:jar:r05:provided
[INFO] |  \- javax.servlet:servlet-api:jar:2.4:provided
{noformat}

                  
> maven artifacts should be equivalent to binary packaging
> --------------------------------------------------------
>
>                 Key: SOLR-3405
>                 URL: https://issues.apache.org/jira/browse/SOLR-3405
>             Project: Solr
>          Issue Type: Task
>          Components: Build
>            Reporter: Robert Muir
>             Fix For: 4.0
>
>
> Lets take the commons-csv scenario: 
> * apache-solr-3.5.0 binary distribution contains no actual commons-csv.jar anywhere,
>   in fact it contains no third party jars (the stuff present in solr/lib) at all.
> * binary distribution contains only the jars necessary for *solrj* and *contrib plugins*,
and a solr.war
> I think the maven artifacts should match whats in the binary release (no third party
jars 
> inside the .war are "exposed", we just publish the .war itself). This exposes a lot less
surface area.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message