2011-01-20 22:44:13 -05:00
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance
|
|
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an
|
|
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
KIND, either express or implied. See the License for the
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
-->
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.solr</groupId>
|
|
|
|
<artifactId>solr-parent</artifactId>
|
2011-01-22 02:26:17 -05:00
|
|
|
<version>@version@</version>
|
2011-07-08 02:41:23 -04:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
2011-01-20 22:44:13 -05:00
|
|
|
</parent>
|
|
|
|
<groupId>org.apache.solr</groupId>
|
|
|
|
<artifactId>solr</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>Apache Solr Search Server</name>
|
|
|
|
<description>Apache Solr Search Server</description>
|
|
|
|
<properties>
|
2011-07-08 02:41:23 -04:00
|
|
|
<module-directory>solr/webapp</module-directory>
|
2013-02-16 21:18:56 -05:00
|
|
|
<relative-top-level>../../..</relative-top-level>
|
|
|
|
<module-path>${relative-top-level}/${module-directory}</module-path>
|
2011-01-20 22:44:13 -05:00
|
|
|
</properties>
|
2012-02-27 01:02:06 -05:00
|
|
|
<scm>
|
2012-08-07 16:47:05 -04:00
|
|
|
<connection>scm:svn:${vc-anonymous-base-url}/${module-directory}</connection>
|
|
|
|
<developerConnection>scm:svn:${vc-dev-base-url}/${module-directory}</developerConnection>
|
|
|
|
<url>${vc-browse-base-url}/${module-directory}</url>
|
2012-02-27 01:02:06 -05:00
|
|
|
</scm>
|
2011-01-20 22:44:13 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>solr-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2011-07-08 02:41:23 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>solr-solrj</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2011-01-20 22:44:13 -05:00
|
|
|
<dependency>
|
2012-03-07 20:09:16 -05:00
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.servlet</artifactId>
|
2011-10-31 18:23:01 -04:00
|
|
|
<scope>provided</scope>
|
2011-01-20 22:44:13 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
2011-10-31 18:23:01 -04:00
|
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
|
|
<scope>runtime</scope>
|
2011-01-20 22:44:13 -05:00
|
|
|
</dependency>
|
2012-04-18 14:08:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
</dependency>
|
2011-01-20 22:44:13 -05:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<directory>${build-directory}</directory>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip> <!-- There are no public or protected classes -->
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- There are no sources for the Solr WAR, but -->
|
|
|
|
<!-- the maven-source-plugin has no "skip" option. -->
|
|
|
|
<!-- Setting attach=false prevents the built jar -->
|
|
|
|
<!-- from being installed or deployed. -->
|
|
|
|
<attach>false</attach>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
2012-05-08 00:33:02 -04:00
|
|
|
<warSourceDirectory>${module-path}/web</warSourceDirectory>
|
|
|
|
<webXml>${module-path}/web/WEB-INF/web.xml</webXml>
|
2011-01-20 22:44:13 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2012-03-11 15:19:37 -04:00
|
|
|
<!-- http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin -->
|
2011-01-20 22:44:13 -05:00
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2012-03-07 20:09:16 -05:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2011-01-20 22:44:13 -05:00
|
|
|
<configuration>
|
|
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
|
|
<webAppConfig>
|
2012-01-17 13:35:50 -05:00
|
|
|
<contextPath>/solr</contextPath>
|
2011-01-20 22:44:13 -05:00
|
|
|
</webAppConfig>
|
2012-05-08 00:33:02 -04:00
|
|
|
<webAppSourceDirectory>${module-path}/web</webAppSourceDirectory>
|
2012-01-17 13:35:50 -05:00
|
|
|
<systemProperties>
|
|
|
|
<systemProperty>
|
|
|
|
<name>solr.solr.home</name>
|
2012-05-08 00:33:02 -04:00
|
|
|
<value>${top-level}/solr/example/solr</value>
|
2012-01-17 13:35:50 -05:00
|
|
|
</systemProperty>
|
|
|
|
</systemProperties>
|
2011-01-20 22:44:13 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-02-16 21:18:56 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>de.thetaphi</groupId>
|
|
|
|
<artifactId>forbiddenapis</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2013-02-18 02:20:23 -05:00
|
|
|
<id>solr-shared-check-forbidden-apis</id>
|
2013-02-16 21:18:56 -05:00
|
|
|
<phase>none</phase> <!-- Block inherited execution -->
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2013-02-18 02:20:23 -05:00
|
|
|
<id>solr-shared-test-check-forbidden-apis</id>
|
2013-02-16 21:18:56 -05:00
|
|
|
<phase>none</phase> <!-- Block inherited execution -->
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|