<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (C) 2009 Stephen Connolly

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<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>

    <groupId>net.java.dev.vcc.thirdparty</groupId>
    <artifactId>xen-api</artifactId>
    <version>5.0.0-6</version>
    <packaging>jar</packaging>

    <name>Citrix XenServer SDK for Java</name>

    <description>This is a Mavenized build of the XenServer Java API.</description>

    <url>http://community.citrix.com/cdn/xs/sdks</url>

    <organization>
        <name>Citrix Community</name>
        <url>http://community.citrix.com/</url>
    </organization>

    <licenses>
        <license>
            <name>Citrix Systems License for XenSource Java API</name>
            <url>file://${basedir}/LICENSE.txt</url>
            <distribution>repo</distribution>
        </license>
        <license>
            <name>GNU General Public License, version 2</name>
            <url>http://www.gnu.org/licenses/gpl-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:svn:https://svn.dev.java.net/svn/vcc/tags/thirdparty-0.0.4/xen-api</connection>
        <developerConnection>scm:svn:https://svn.dev.java.net/svn/vcc/tags/thirdparty-0.0.4/xen-api</developerConnection>
        <url>https://vcc.dev.java.net/source/browse/vcc/tags/thirdparty-0.0.4/xen-api</url>
    </scm>

    <mailingLists>
        <mailingList>
            <name>Development List</name>
            <subscribe>dev-subscribe@vcc.dev.java.net</subscribe>
            <unsubscribe>dev-unsubscribe@vcc.dev.java.net</unsubscribe>
            <post>dev@vcc.dev.java.net</post>
            <archive>http://n2.nabble.com/Java-Virtual-Computer-Control-API-Developers-List-f2130245.html</archive>
        </mailingList>
        <mailingList>
            <name>Commits List</name>
            <subscribe>commits-subscribe@vcc.dev.java.net</subscribe>
            <unsubscribe>commits-unsubscribe@vcc.dev.java.net</unsubscribe>
        </mailingList>
    </mailingLists>

    <issueManagement>
        <system>a forum</system>
        <url>http://forums.citrix.com/forum.jspa?forumID=175&amp;start=0</url>
    </issueManagement>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.apache.xmlrpc</groupId>
            <artifactId>xmlrpc-client</artifactId>
            <version>3.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xmlrpc</groupId>
            <artifactId>xmlrpc-common</artifactId>
            <version>3.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.ws.commons.util</groupId>
            <artifactId>ws-commons-util</artifactId>
            <version>1.0.2</version>
            <exclusions>
                <!-- not needed at runtime -->
                <exclusion>
                    <groupId>junit</groupId>
                    <artifactId>junit</artifactId>
                </exclusion>
                <!-- included by default in at least JDK5+ -->
                <exclusion>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>

    <distributionManagement>
        <repository>
            <id>vcc-releases</id>
            <name>VCC Release Repository</name>
            <url>http://oss.sonatype.org/content/repositories/java-net-releases/</url>
        </repository>
        <snapshotRepository>
            <id>vcc-snapshots</id>
            <name>VCC Snapshot Repository</name>
            <url>http://oss.sonatype.org/content/repositories/java-net-snapshots/</url>
        </snapshotRepository>
    </distributionManagement>

    <repositories>
        <repository>
            <id>java-net-snapshots</id>
            <url>http://oss.sonatype.org/content/repositories/java-net-snapshots/</url>
            <releases>
              <enabled>false</enabled>
            </releases>
            <snapshots>
              <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>java-net-snapshots</id>
            <url>http://oss.sonatype.org/content/repositories/java-net-snapshots/</url>
            <releases>
              <enabled>false</enabled>
            </releases>
            <snapshots>
              <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.5</source>
                        <target>1.5</target>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <!-- enable release profile during the release and GPG. -->
                    <releaseProfiles>vcc-release</releaseProfiles>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <!-- sign binaries -->
            <id>vcc-release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                                <configuration>
                                    <keyname>announce@vcc.dev.java.net</keyname>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>
