| <!-- |
| 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. |
| --> |
| <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> |
| <parent> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-parent</artifactId> |
| <version>@version@</version> |
| <relativePath>../../../pom.xml</relativePath> |
| </parent> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-solrj-tests</artifactId> |
| <name>Apache Solr Solrj tests</name> |
| <packaging>jar</packaging> |
| <properties> |
| <module-directory>solr/solrj</module-directory> |
| <relative-top-level>../../../../..</relative-top-level> |
| <module-path>${relative-top-level}/${module-directory}/src/test</module-path> |
| </properties> |
| <dependencies> |
| <dependency> |
| <!-- lucene-test-framework dependency must be declared before lucene-core --> |
| <!-- This dependency cannot be put into solr-parent, because local --> |
| <!-- dependencies are always ordered before inherited dependencies. --> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-test-framework</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-test-framework</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-solrj</artifactId> |
| <scope>test</scope> |
| </dependency> |
| @solr-solrj.internal.test.dependencies@ |
| @solr-solrj.external.test.dependencies@ |
| </dependencies> |
| <build> |
| <sourceDirectory/> |
| <!-- Instead of depending on solr-solrj module, use its output directory --> |
| <outputDirectory>../java/target/classes</outputDirectory> |
| <testSourceDirectory>${module-path}</testSourceDirectory> |
| <testResources> |
| <testResource> |
| <directory>${module-path}/../test-files</directory> |
| </testResource> |
| <testResource> |
| <directory>${top-level}/dev-tools/maven/solr</directory> |
| <includes> |
| <include>maven.testlogging.properties</include> |
| </includes> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-jar</id> |
| <!-- Skipping by binding the default execution ID to a non-existent phase only works in Maven 3, not 2. --> |
| <phase>none</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.5.3</version> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>de.thetaphi</groupId> |
| <artifactId>forbiddenapis</artifactId> |
| <executions> |
| <execution> |
| <id>solr-shared-check-forbidden-apis</id> |
| <phase>none</phase> <!-- Block inherited execution --> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |