<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.ndsu.eci.tapestry5-cayenne</groupId>
  <artifactId>tapestry5-cayenne-project</artifactId>
  <packaging>pom</packaging>
  <version>0.6.0.2</version>
  <name>Tapestry5-Cayenne Integration</name>
  <description>Makes integration of Cayenne within Tapestry 5 as easy as possible.</description>
  <inceptionYear>2008</inceptionYear>
  <url>https://github.com/NDSU-Information-Technology/tapestry5-cayenne</url>
  <licenses>
    <license>
      <name>Apache Software License 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <url>https://github.com/NDSU-Information-Technology/tapestry5-cayenne</url>
    <developerConnection>scm:git:https://github.com/NDSU-Information-Technology/tapestry5-cayenne.git</developerConnection>
    <connection>scm:git:https://github.com/NDSU-Information-Technology/tapestry5-cayenne.git</connection>
    <tag>HEAD</tag>
  </scm>
  <developers>
    <developer>
      <id>nirvdrum</id>
      <name>Kevin Menard</name>
      <email>kmenard@servprise.com</email>
      <url>http://www.servprise.com/</url>
      <roles>
        <role>Developer</role>
      </roles>
      <timezone>-5</timezone>
    </developer>
    <developer>
      <id>robert.zeigler</id>
      <name>Robert Zeigler</name>
      <email>robert.zeigler@gmail.com</email>
      <roles>
        <role>Developer</role>
      </roles>
      <timezone>-6</timezone>
    </developer>
    <developer>
      <id>rfrovarp</id>
      <name>Richard Frovarp</name>
      <email>richard.frovarp@ndsu.edu</email>
      <organization>North Dakota State University - ECI</organization>
      <organizationUrl>https://www.ndsu.edu/eci</organizationUrl>
    </developer>
  </developers>
  

  <modules>
    <module>tapestry5-cayenne-core</module>
    <module>tapestry5-cayenne-server</module>
    <module>tapestry5-cayenne-client</module>
  </modules>


  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.apache.tapestry</groupId>
        <artifactId>tapestry-core</artifactId>
        <version>${tapestry-release-version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.cayenne</groupId>
        <artifactId>cayenne-client</artifactId>
        <version>${cayenne-release-version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.cayenne</groupId>
        <artifactId>cayenne-server</artifactId>
        <version>${cayenne-release-version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>2.5</version>
        <scope>provided</scope>
      </dependency>

      <!-- Now, artifacts created by sub-modules. -->

      <dependency>
        <groupId>edu.ndsu.eci.tapestry5-cayenne</groupId>
        <artifactId>tapestry5-cayenne-core</artifactId>
        <version>${project.version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>


  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <executions>
            <execution>
              <id>attach-javadocs</id>
              <goals>
                <goal>jar</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <executions>
            <execution>
              <id>attach-sources</id>
              <goals>
                <goal>jar</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <source>1.8</source>
            <target>1.8</target>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-site-plugin</artifactId>
          <version>2.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-jar-plugin</artifactId>
          <configuration>
            <archive>
              <manifestEntries>
                <Tapestry-Module-Classes>com.googlecode.tapestry5cayenne.services.TapestryCayenneModule
                </Tapestry-Module-Classes>
              </manifestEntries>
            </archive>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <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>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <reportSets>
          <reportSet>
            <reports>
              <report>license</report>
              <report>scm</report>
              <report>project-team</report>
              <report>mailing-list</report>
              <report>issue-tracking</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <!-- Version 2.3 is broken: See http://jira.codehaus.org/browse/MJAVADOC-145 -->
        <!--version>2.2</version -->
        <configuration>
          <linksource>true</linksource>
          <links>
            <link>https://docs.oracle.com/javase/8/docs/api/</link>
            <link>http://tapestry.apache.org/tapestry5/apidocs/</link>
            <link>http://cayenne.apache.org/doc/api/</link>
          </links>
          <aggregate>true</aggregate>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>

  <properties>
    <cayenne-release-version>3.0.2</cayenne-release-version>
    <tapestry-release-version>5.4.3</tapestry-release-version>
  </properties>


  <issueManagement>
    <system>GitHub</system>
    <url>https://github.com/NDSU-Information-Technology/tapestry5-cayenne</url>
  </issueManagement>
  
  <distributionManagement>
  <!-- Repository for snapshots -->
  <snapshotRepository>
      <id>sonatype-nexus-snapshots</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  </snapshotRepository>
  <!-- Repository for releases -->
  <repository>
      <id>nexus-releases</id>
      <name>Nexus Release Repository</name>
      <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  </repository>
</distributionManagement>
</project>
