[ 
https://issues.apache.org/jira/browse/SOLR-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley updated SOLR-19:
------------------------------

    Attachment: solr-test-maven.zip

Here is a proposed directory structure and functional poms for a stubbed out 
solr.

This proposes making 4 artifacts for solr:
# solr-common  (jar)
# solr-client  (jar)
# solr-core  (jar)
# solr-server  (war)

Each artifact depends on the previous ones.

- - - - -

I have a pom working that loads all dependencies.  everything works from remote 
repositories *except* commons-csv.  Currently, I install that manually with:
{code}
mvn install:install-file -Dfile=lib/commons-csv-0.1-SNAPSHOT.jar 
-DgroupId=org.apache.commons -DartifactId=commons-csv -Dversion=0.1-SNAPSHOT 
-Dpackaging=jar
{code}

> pom.xml to support maven2
> -------------------------
>
>                 Key: SOLR-19
>                 URL: https://issues.apache.org/jira/browse/SOLR-19
>             Project: Solr
>          Issue Type: New Feature
>         Environment: all
>            Reporter: Darren Erik Vengroff
>            Priority: Minor
>         Attachments: pom.xml, solr-maven2.zip, solr-test-maven.zip
>
>
> I created a preliminary pom.xml to support building solr with maven2.
> Currently it compiles all the core solr code into a jar and runs the junit 
> tests.
> Dropping this pom.xml into the root dir, in parallel with build.xml, will let 
> those who wish to build with maven2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to