2011-05-14 14:13:39 -04: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>
|
|
|
|
<version>@version@</version>
|
2011-07-08 02:41:23 -04:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
2011-05-14 14:13:39 -04:00
|
|
|
</parent>
|
|
|
|
<groupId>org.apache.solr</groupId>
|
|
|
|
<artifactId>solr-test-framework</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Apache Solr Test Framework</name>
|
|
|
|
<description>Apache Solr Test Framework</description>
|
|
|
|
<properties>
|
2011-07-08 02:41:23 -04:00
|
|
|
<module-directory>solr/test-framework</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-05-14 14:13:39 -04: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-05-14 14:13:39 -04:00
|
|
|
<dependencies>
|
2011-10-31 18:23:01 -04:00
|
|
|
<!-- These dependencies are compile scope because this is a test framework. -->
|
2011-05-14 14:13:39 -04:00
|
|
|
<dependency>
|
2011-11-21 17:30:54 -05:00
|
|
|
<!-- lucene-test-framework dependency must come before lucene-core -->
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-test-framework</artifactId>
|
2011-05-14 14:13:39 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-11-21 17:30:54 -05:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>solr-core</artifactId>
|
2011-05-14 14:13:39 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2012-08-08 16:21:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
2012-08-12 12:29:30 -04:00
|
|
|
<!-- SOLR-3263: Provided scope is required to avoid jar signing conflicts -->
|
|
|
|
<scope>provided</scope>
|
2012-08-08 16:21:41 -04:00
|
|
|
</dependency>
|
2011-05-14 14:13:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
2012-04-10 14:24:50 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2012-08-08 16:21:41 -04:00
|
|
|
<artifactId>jetty-servlet</artifactId>
|
2012-04-10 14:24:50 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-util</artifactId>
|
2012-08-08 16:21:41 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- If your tests don't use BaseDistributedSearchTestCase or SolrJettyTestBase,
|
|
|
|
you can exclude the two Jetty dependencies below. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
2012-04-10 15:42:40 -04:00
|
|
|
<scope>runtime</scope>
|
2012-04-10 14:24:50 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
2012-04-10 15:42:40 -04:00
|
|
|
<scope>runtime</scope>
|
2012-04-10 14:24:50 -04:00
|
|
|
</dependency>
|
2011-05-14 14:13:39 -04:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
2012-05-08 00:33:02 -04:00
|
|
|
<sourceDirectory>${module-path}/src/java</sourceDirectory>
|
|
|
|
<testSourceDirectory>${module-path}/src/test</testSourceDirectory>
|
2011-05-14 14:13:39 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
2012-05-08 00:33:02 -04:00
|
|
|
<directory>${module-path}</directory>
|
2011-05-14 14:13:39 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</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>
|
|
|
|
<execution>
|
2013-02-18 02:20:23 -05:00
|
|
|
<id>check-forbidden-apis</id>
|
2013-02-16 21:18:56 -05:00
|
|
|
<configuration>
|
|
|
|
<!-- disallow undocumented classes like sun.misc.Unsafe: -->
|
|
|
|
<internalRuntimeForbidden>true</internalRuntimeForbidden>
|
|
|
|
<bundledSignatures>
|
|
|
|
<bundledSignature>jdk-unsafe</bundledSignature>
|
|
|
|
<bundledSignature>jdk-deprecated</bundledSignature>
|
2013-02-18 02:20:23 -05:00
|
|
|
<bundledSignature>commons-io-unsafe-${commons-io.version}</bundledSignature>
|
2013-02-16 21:18:56 -05:00
|
|
|
</bundledSignatures>
|
|
|
|
<signaturesFiles>
|
|
|
|
<signaturesFile>${top-level}/lucene/tools/forbiddenApis/servlet-api.txt</signaturesFile>
|
|
|
|
<signaturesFile>${top-level}/lucene/tools/forbiddenApis/tests.txt</signaturesFile>
|
2013-02-18 02:20:23 -05:00
|
|
|
<signaturesFile>${top-level}/lucene/tools/forbiddenApis/executors.txt</signaturesFile>
|
2013-02-16 21:18:56 -05:00
|
|
|
</signaturesFiles>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal> <!-- NOT testcheck -->
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-05-14 14:13:39 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|