<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>me.geso</groupId>
    <artifactId>avans-project</artifactId>
    <packaging>pom</packaging>
		<description>parent project for avans</description>
		<url>http://github.com/tokuhirom/avans</url>

    <version>1.0.0</version>

    <name>avans :: parent</name>

    <modules>
        <module>avans</module>
        <module>avans-mustache</module>
        <module>avans-freemarker</module>
        <module>avans-tinyvalidator</module>
        <module>avans-session</module>
        <module>avans-session-spymemcached</module>
        <module>avans-setup</module>
    </modules>

    <scm>
      <url>https://github.com/tokuhirom/avans/</url>
      <connection>scm:git:git://github.com/tokuhirom/avans.git</connection>
      <developerConnection>scm:git:git@github.com:tokuhirom/avans.git</developerConnection>
      <tag>avans-project-1.0.0</tag>
  </scm>

    <developers>
        <developer>
            <id>tokuhirom</id>
            <name>Tokuhiro Matsuno</name>
            <email>tokuhirom@gmail.com</email>
            <url>https://twitter.com/tokuhirom</url>
        </developer>
		</developers>

	<licenses>
		<license>
			<name>MIT License</name>
			<url>http://www.opensource.org/licenses/mit-license.php</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

    <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>
    </distributionManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <compilerVersion>1.8</compilerVersion>
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
            <plugin>
              <artifactId>maven-release-plugin</artifactId>
              <version>2.5.1</version>
              <configuration>
                <autoVersionSubmodules>true</autoVersionSubmodules>
              </configuration>
            </plugin>
			<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-source-plugin</artifactId>
					<version>2.3</version>
					<executions>
							<execution>
									<id>attach-sources</id>
									<goals>
											<goal>jar</goal>
									</goals>
							</execution>
					</executions>
			</plugin>
			<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-javadoc-plugin</artifactId>
					<version>2.9.1</version>
					<executions>
							<execution>
									<id>attach-javadocs</id>
									<goals>
											<goal>jar</goal>
									</goals>
							</execution>
					</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.5</version>
				<configuration>
					<systemPropertyVariables>
						<propertyName>org.slf4j.simpleLogger.defaultLogLevel</propertyName>
						<buildDirectory>debug</buildDirectory>
					</systemPropertyVariables>
				</configuration>
			</plugin>
			<plugin>
					<groupId>org.sonatype.plugins</groupId>
					<artifactId>nexus-staging-maven-plugin</artifactId>
					<version>1.6.3</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>
        </plugins>
    </build>

</project>

