<?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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>edu.uiowa.jopenmm</groupId>
    <artifactId>jopenmm-fat</artifactId>
    <version>7.3.0</version>
    <packaging>jar</packaging>
    <name>Java Wrappers for OpenMM</name>
    <description>Java wrappers for the OpenMM API.</description>
    <url>https://github.com/mjschnie/jopenmm</url>
    <dependencies>
        <dependency>
            <groupId>net.java.dev.jna</groupId>
            <artifactId>jna</artifactId>
            <version>${jna.version}</version>
        </dependency>
    </dependencies>
    <developers>
	<developer>
            <name>Michael J. Schnieders</name>
            <email>michael-schnieders@uiowa.edu</email>
	    <organization>Schnieders' Lab Group University of Iowa</organization>
	</developer>
	<developer>
	    <name>Hernan V. Bernabe</name>
	    <email>hernan-bernabe@uiowa.edu</email>
	    <organization>Schnieders' Lab Group University of Iowa</organization>
	</developer>
    </developers>
    <properties>
        <jna.version>4.1.0</jna.version>
        <jar.version>3.1.0</jar.version>
        <source.version>3.0.1</source.version>
        <javadoc.version>3.0.1</javadoc.version>
        <compiler.version>3.8.0</compiler.version>
        <!-- Default locations for deploying the website, snapshot location and
        release location. These can be over-ridden by a developer's
        settings.xml -->
        <website.repo>file:website</website.repo>
        <snapshot.repo>file:lib</snapshot.repo>
        <release.repo>file:release</release.repo>
        <maven.javadoc.skip>false</maven.javadoc.skip>
    </properties>
    <build>
        <defaultGoal>deploy</defaultGoal>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>${jar.version}</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>${compiler.version}</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>${source.version}</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>${jar.version}</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>${javadoc.version}</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
	    <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-gpg-plugin</artifactId>
		<version>1.6</version>
		<executions>
		    <execution>
		        <id>sign-artifacts</id>
		        <phase>verify</phase>
		        <goals>
			     <goal>sign</goal>
		        </goals>
		    </execution>
		</executions>
	    </plugin>
	    <plugin>
		<groupId>org.sonatype.plugins</groupId>
		<artifactId>nexus-staging-maven-plugin</artifactId>
		<version>1.6.7</version>
		<extensions>true</extensions>
		<configuration>
		    <serverId>ossrh</serverId>
		    <nexusUrl>https://oss.sonatype.org</nexusUrl>
		    <autoReleaseAfterClose>true</autoReleaseAfterClose>
		</configuration>
	    </plugin>
        </plugins>
    </build>
    <distributionManagement>
        <downloadUrl>https://github.com/mjschnie/jopenmm</downloadUrl>
        <site>
            <id>Website</id>
            <name>Java OpenMM Wrapper Website Location</name>
            <url>${website.repo}</url>
        </site>
	<snapshotRepository>
	    <id>ossrh</id>
	    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
	</snapshotRepository>
	<repository>
	    <id>ossrh</id>
	    <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
	</repository>
    </distributionManagement>
    <scm>
	<connection>scm:git:git://github.com/mjschnie/jopenmm.git</connection>
	<developerConnection>scm:git:ssh://github.com:mjschnie/jopenmm.git</developerConnection>
	<url>https://github.com/mjschnie/jopenmm</url>
    </scm>
    <licenses>
	<license>
	    <name>MIT License</name>
	    <url>http://www.opensource.org/licenses/mit-license.php</url>
	</license>
	<license>
	    <name>GNU Lesser General Public License</name>
	    <url>https://simtk.org/plugins/moinmoin/openmm/LGPL</url>
	</license>
	<license>
	    <name>SIMD-oriented Fast Mersenne Twister</name>
	    <url>http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/LICENSE.txt</url>
	</license>
    </licenses>
</project>
