<?xml version="1.0" encoding="UTF-8"?>
<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>
    <artifactId>scm-plugins</artifactId>
    <groupId>sonia.scm.plugins</groupId>
    <version>2.0.0-SNAPSHOT</version>
  </parent>

  <artifactId>scm-svn-plugin</artifactId>
  <name>Subversion</name>
  <packaging>smp</packaging>
  <url>https://bitbucket.org/sdorra/scm-manager</url>
  <description>Plugin for the version control system Subversion</description>

  <dependencies>

    <dependency>
      <groupId>sonia.svnkit</groupId>
      <artifactId>svnkit</artifactId>
      <version>${svnkit.version}</version>
      <exclusions>
        <exclusion>
          <artifactId>trilead-ssh2</artifactId>
          <groupId>org.tmatesoft.svnkit</groupId>
        </exclusion>
      </exclusions>
    </dependency>

    <dependency>
      <groupId>sonia.svnkit</groupId>
      <artifactId>svnkit-dav</artifactId>
      <version>${svnkit.version}</version>
    </dependency>

  </dependencies>

  <build>
    <plugins>

      <plugin>
        <groupId>sonia.scm.maven</groupId>
        <artifactId>smp-maven-plugin</artifactId>
        <configuration>
          <corePlugin>true</corePlugin>
          <links>
            <link>@scm-manager/ui-types</link>
            <link>@scm-manager/ui-components</link>
          </links>
        </configuration>
      </plugin>

      <!-- create test jar -->

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.2</version>
        <executions>
          <execution>
            <goals>
              <goal>test-jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

    </plugins>
  </build>

  <repositories>

    <repository>
      <id>maven.tmatesoft.com</id>
      <name>tmatesoft release repository</name>
      <url>https://maven.tmatesoft.com/content/repositories/releases</url>
    </repository>

    <repository>
      <id>maven.scm-manager.org</id>
      <name>scm-manager release repository</name>
      <url>http://maven.scm-manager.org/nexus/content/groups/public</url>
    </repository>

  </repositories>

</project>
