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>
|
2012-04-10 14:24:50 -04:00
|
|
|
</dependency>
|
2013-10-31 11:20:08 -04:00
|
|
|
@solr-test-framework.internal.dependencies@
|
|
|
|
@solr-test-framework.external.dependencies@
|
|
|
|
@solr-test-framework.internal.test.dependencies@
|
|
|
|
@solr-test-framework.external.test.dependencies@
|
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-10-31 11:20:08 -04:00
|
|
|
<bundledSignature>commons-io-unsafe-@commons-io:commons-io.version@</bundledSignature>
|
2013-02-16 21:18:56 -05:00
|
|
|
</bundledSignatures>
|
|
|
|
<signaturesFiles>
|
2013-07-12 05:35:40 -04:00
|
|
|
<signaturesFile>${top-level}/lucene/tools/forbiddenApis/base.txt</signaturesFile>
|
2013-02-16 21:18:56 -05:00
|
|
|
<signaturesFile>${top-level}/lucene/tools/forbiddenApis/servlet-api.txt</signaturesFile>
|
|
|
|
<signaturesFile>${top-level}/lucene/tools/forbiddenApis/tests.txt</signaturesFile>
|
|
|
|
</signaturesFiles>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal> <!-- NOT testcheck -->
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-05-14 14:13:39 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|