Last active
December 12, 2015 04:19
-
-
Save ivv-private/4713629 to your computer and use it in GitHub Desktop.
Launching Solr Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>dev-tools</groupId> | |
<artifactId>solr-run</artifactId> | |
<version>1</version> | |
<name>Launching Solr Server</name> | |
<packaging>war</packaging> | |
<description> | |
Runs Solr Web server. Using: | |
mvn -f run-solr.xml -DskipTests=true jetty:run-exploded -Djetty.port=40480 -Dsolr.solr.home="src/main/resources/solr" -Dsolr.data.dir="target/" | |
</description> | |
<properties> | |
<solrVersion>3.6.1</solrVersion> | |
<maven.compiler.source>1.5</maven.compiler.source> | |
<maven.compiler.target>1.5</maven.compiler.target> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.solr</groupId> | |
<artifactId>solr</artifactId> | |
<type>war</type> | |
<version>${solrVersion}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.solr</groupId> | |
<artifactId>solr-dataimporthandler</artifactId> | |
<version>${solrVersion}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.solr</groupId> | |
<artifactId>solr-analysis-extras</artifactId> | |
<version>${solrVersion}</version> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment