<?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>
  <groupId>org.openscience.cdk</groupId>
  <artifactId>cdkdepict</artifactId>
  <version>1.9.2</version>
  <modules>
    <module>cdkdepict-lib</module>
<!--    <module>cdkdepict-webapp</module>-->
  </modules>
  <packaging>pom</packaging>
  <name>cdkdepict</name>
  <description>SMILES depiction WebApp</description>
  <url>http://github.com/cdk/cdkdepict</url>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <cdk.version>2.7.1</cdk.version>
  </properties>
  <developers>
    <developer>
      <name>John Mayfield</name>
      <url>http://www.github.com/johnmay/</url>
      <timezone>GMT</timezone>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>GNU LGPL 2.1 or later</name>
      <url>http://www.gnu.org/licenses/lgpl.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <url>https://github.com/cdk/cdk</url>
    <connection>scm:git:git://github.com/cdk/cdk.git</connection>
    <developerConnection>scm:git:git@github.com:cdk/cdk.git
    </developerConnection>
  </scm>
  <issueManagement>
    <url>https://github.com/cdk/depict/issues</url>
    <system>GitHub</system>
  </issueManagement>
  <distributionManagement>
    <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>
    <!-- site is staged and then copied to a sub-folder of gh-pages, no
         url is provided but the field is needed to stage the site. -->
    <site>
      <id>cdk.github.com</id>
      <url>http://cdk.github.io/cdk/</url>
    </site>
  </distributionManagement>
  <repositories>
    <repository>
      <id>OSSRH</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.2</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.13.2</version>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>5.3.18</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-atomtype</artifactId>
        <version>${cdk.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-standard</artifactId>
        <version>${cdk.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-io</artifactId>
        <version>${cdk.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-ioformats</artifactId>
        <version>${cdk.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-isomorphism</artifactId>
        <version>${cdk.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-smiles</artifactId>
        <version>${cdk.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-silent</artifactId>
        <version>${cdk.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-interfaces</artifactId>
        <version>${cdk.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openscience.cdk</groupId>
        <artifactId>cdk-ctab</artifactId>
        <version>${cdk.version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <profiles>
    <profile>
      <id>ossrh</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.sonatype.plugins</groupId>
            <artifactId>nexus-staging-maven-plugin</artifactId>
            <version>1.6.8</version>
            <extensions>true</extensions>
            <configuration>
              <serverId>ossrh</serverId>
              <nexusUrl>https://oss.sonatype.org/</nexusUrl>
              <autoReleaseAfterClose>true</autoReleaseAfterClose>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.5</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>2.2.1</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.10.4</version>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
