<?xml version="1.0" encoding="UTF-8"?>

<!-- Licensed to the Indoqa Software Design und Beratung GmbH (Indoqa) under 
  one or more contributor license agreements. See the NOTICE file distributed 
  with this work for additional information regarding copyright ownership. 
  Indoqa 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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <packaging>jar</packaging>
  
  <parent>
    <groupId>com.indoqa</groupId>
    <artifactId>indoqa-oss-parent</artifactId>
    <version>3</version>
  </parent> 

  <groupId>com.indoqa.solr</groupId>
  <artifactId>spring-server</artifactId>
  <version>4.10.0</version>

  <name>Solr Spring Server</name>
  <description>A Solr Server Factory for Spring</description>

  <scm>
    <connection>scm:git:git@github.com:Indoqa/solr-spring-server.git</connection>
    <developerConnection>scm:git:git@github.com:Indoqa/solr-spring-server.git</developerConnection>
    <url>https://github.com/Indoqa/solr-spring-server</url>
    <tag>spring-server-4.10.0</tag>
  </scm>

  <licenses>
    <license>
      <name>Apache License 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  
  <properties>
    <project.build.compiler.version>1.6</project.build.compiler.version>

    <slf4j-version>1.7.7</slf4j-version>

    <solr-version>4.10.3</solr-version>

    <spring-version>3.1.1.RELEASE</spring-version>
  </properties>

  <dependencies>
    <!-- Solr -->
    <dependency>
      <groupId>org.apache.solr</groupId>
      <artifactId>solr-solrj</artifactId>
      <version>${solr-version}</version>
    </dependency>

    <!-- Optional Dependencies for Embedded Solr Servers -->
    <dependency>
      <groupId>org.apache.solr</groupId>
      <artifactId>solr-core</artifactId>
      <version>${solr-version}</version>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId>
      <version>${spring-version}</version>
    </dependency>

    <!-- Testing -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.10</version>
      <scope>test</scope>
    </dependency>

    <!-- Logging -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4j-version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
      <version>${slf4j-version}</version>
      <scope>provided</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jul-to-slf4j</artifactId>
      <version>${slf4j-version}</version>
      <scope>provided</scope>
      <optional>true</optional>
    </dependency>
  </dependencies>
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>**/bin/*</exclude>
            <exclude>README.md</exclude>
            <exclude>CONTRIBUTORS.txt</exclude>
            <exclude>**/_rest_managed.json</exclude>
            <exclude>**/solr.xml</exclude>
            <exclude>**/write.lock</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
