Skip to content

Apache Lucene open-source search software

SOLR-3042: Fixed Maven Jetty plugin configuration.

Steven Rowe961cc111a8cb
diff --git a/dev-tools/maven/solr/webapp/pom.xml.template b/dev-tools/maven/solr/webapp/pom.xml.template
index 1a9ac36bcfe..a3b7b0f0e63 100644
--- a/dev-tools/maven/solr/webapp/pom.xml.template
+++ b/dev-tools/maven/solr/webapp/pom.xml.template
@@ -87,22 +87,21 @@
</configuration>
</plugin>
<plugin>
+ <!-- http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin -->
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
- <connectors>
- <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
- <port>8080</port>
- <maxIdleTime>60000</maxIdleTime>
- </connector>
- </connectors>
<webAppConfig>
- <contextPath>/</contextPath>
- <baseResource implementation="org.mortbay.resource.ResourceCollection">
- <resources>web</resources>
- </baseResource>
+ <contextPath>/solr</contextPath>
</webAppConfig>
+ <webAppSourceDirectory>web</webAppSourceDirectory>
+ <systemProperties>
+ <systemProperty>
+ <name>solr.solr.home</name>
+ <value>../example/solr</value>
+ </systemProperty>
+ </systemProperties>
</configuration>
</plugin>
</plugins>
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 62a295c2179..1954f7ea3cb 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -480,6 +480,9 @@ Bug Fixes
* SOLR-2542: Fixed DIH Context variables which were broken for all scopes other
then SCOPE_ENTITY (Linbin Chen & Frank Wesemann via hossman)
+
+* SOLR-3042: Fixed Maven Jetty plugin configuration.
+ (David Smiley via Steve Rowe)
Other Changes
----------------------