ffbit / solr-maven-plugin

Apache Solr Maven Plugin
Other
6 stars 1 forks source link

Apache Solr Maven Plugin

Build Status

Goal

Apache Solr Maven Plugin runs an Apache Solr instance during integration tests or as a standalone instance for other test purposes.

Current version of the plugin supports only the following versions of Apache Solr:

Documentation

Apache Solr Maven Plugin Documentation

Change log

RELEASE-NOTES.md

Usage

Standalone Apache Solr server

Add plugin to your pom.xml

<plugin>
    <groupId>com.ffbit.maven.plugins</groupId>
    <artifactId>solr-maven-plugin</artifactId>
    <version>0.0.7.2</version>
</plugin>

Run

mvn clean solr:run

Open http://localhost:8983/ in your favourite browser

Or

Integration tests

Add plugin to your pom.xml

<plugin>
    <groupId>com.ffbit.maven.plugins</groupId>
    <artifactId>solr-maven-plugin</artifactId>
    <version>0.0.7.2</version>
    <executions>
        <execution>
            <id>Apache Solr Start</id>
            <phase>pre-integration-test</phase>
            <goals>
                <goal>start</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Run

mvn clean integration-test

Status

Supports Apache Solr of version 4.2.0, 4.2.1, 4.3.0 and 4.3.1 only

R.I.P.