| <?xml version="1.0"?> |
| <!-- |
| 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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-tests</artifactId> |
| <version>1.8.0</version> |
| </parent> |
| |
| <artifactId>sentry-tests-solr</artifactId> |
| <name>Sentry Solr Tests</name> |
| <description>end to end tests for sentry-solr integration</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-binding-solr</artifactId> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-test-framework</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>solr-sentry-handlers</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-service-server</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-solrj</artifactId> |
| </dependency> |
| <!-- |
| Solr is using old Jetty 6.1.26 and Sentry is using more recent Jetty. |
| Since the test combines Solr and Sentry in the same JVM, here we need to specify |
| dependency on Jetty 6.1.26, otherwise Solr e2e tests tests are not working properly. |
| --> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>6.1.26</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <reuseForks>false</reuseForks> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>datanucleus3</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <datanucleus-api-jdo.version>3.2.6</datanucleus-api-jdo.version> |
| <datanucleus-core.version>3.2.12</datanucleus-core.version> |
| <datanucleus-rdbms.version>3.2.12</datanucleus-rdbms.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-core</artifactId> |
| <version>${datanucleus-core.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-api-jdo</artifactId> |
| <version>${datanucleus-api-jdo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-rdbms</artifactId> |
| <version>${datanucleus-rdbms.version}</version> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>datanucleus4</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <datanucleus-api-jdo.version>4.2.1</datanucleus-api-jdo.version> |
| <datanucleus-core.version>4.1.6</datanucleus-core.version> |
| <datanucleus-rdbms.version>4.1.7</datanucleus-rdbms.version> |
| <datanucleus-jdo.version>3.2.0-m3</datanucleus-jdo.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-core</artifactId> |
| <version>${datanucleus-core.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-api-jdo</artifactId> |
| <version>${datanucleus-api-jdo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-rdbms</artifactId> |
| <version>${datanucleus-rdbms.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>javax.jdo</artifactId> |
| <version>${datanucleus-jdo.version}</version> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |