| <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> |
| <relativePath>../../../pom.xml</relativePath> |
| </parent> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-solrj</artifactId> |
| <packaging>jar</packaging> |
| <name>Apache Solr Solrj</name> |
| <description>Apache Solr Solrj</description> |
| <properties> |
| <module-directory>solr/solrj</module-directory> |
| <relative-top-level>../../../../..</relative-top-level> |
| <module-path>${relative-top-level}/${module-directory}/src/java</module-path> |
| </properties> |
| <scm> |
| <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> |
| </scm> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.jms</groupId> |
| <artifactId>jms</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jmx</groupId> |
| <artifactId>jmxri</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jdmk</groupId> |
| <artifactId>jmxtools</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jboss.netty</groupId> |
| <artifactId>netty</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>jline</groupId> |
| <artifactId>jline</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.noggit</groupId> |
| <artifactId>noggit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <!-- HttpSolrServer requires this dependency. --> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpmime</artifactId> |
| <!-- HttpSolrServer requires this dependency. --> |
| </dependency> |
| <!-- Technically, this is optional in SolrJ; but it's fast. SOLR-2852 --> |
| <dependency> |
| <groupId>org.codehaus.woodstox</groupId> |
| <artifactId>wstx-asl</artifactId> |
| <scope>runtime</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| <build> |
| <sourceDirectory>${module-path}</sourceDirectory> |
| <testSourceDirectory/> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> <!-- Tests are run from solr-solrj-tests module --> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> <!-- This skips test compilation - tests are run from solr-solrj-tests module --> |
| </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> |
| <execution> |
| <id>solr-shared-test-check-forbidden-apis</id> |
| <phase>none</phase> <!-- Block inherited execution --> |
| </execution> |
| <execution> |
| <id>check-forbidden-apis</id> |
| <configuration> |
| <!-- disallow undocumented classes like sun.misc.Unsafe: --> |
| <internalRuntimeForbidden>true</internalRuntimeForbidden> |
| <bundledSignatures> |
| <bundledSignature>jdk-unsafe</bundledSignature> |
| <bundledSignature>jdk-deprecated</bundledSignature> |
| <bundledSignature>commons-io-unsafe-${commons-io.version}</bundledSignature> |
| </bundledSignatures> |
| <signaturesFiles> |
| <signaturesFile>${top-level}/lucene/tools/forbiddenApis/executors.txt</signaturesFile> |
| <signaturesFile>${top-level}/lucene/tools/forbiddenApis/chars.txt</signaturesFile> |
| <!-- Solr-J does NOT depend on servlet-api --> |
| <!-- <signaturesFile>${top-level}/lucene/tools/forbiddenApis/servlet-api.txt</signaturesFile> --> |
| </signaturesFiles> |
| </configuration> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |