<?xml version="1.0" encoding="UTF-8"?>
<project>     
    <modelVersion>4.0.0</modelVersion>    
    <groupId>com.hadoopz</groupId>
    <artifactId>ITools</artifactId>
    <packaging>jar</packaging>
    <version>1.0.4</version>
    <name>ITools</name>
    <url>http://www.hadoopz.com</url>
    <description>ITools</description>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>    
        <junit.version>4.10</junit.version>  
        <javax.mail.version>1.4.4</javax.mail.version>
        <servlet-api.version>2.4</servlet-api.version>
    </properties>
    <dependencies>
                
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${junit.version}</version>
            <scope>test</scope>
        </dependency>        
    </dependencies>
    
    <issueManagement>
        <system>Github Issue</system>
        <url>https://github.com/bigdog001/openAuthN/issues</url>
    </issueManagement>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
        </license>
    </licenses>

    <developers>
        <developer>
            <name>Bigdog</name>
            <email>294356967@qq.com</email>
        </developer>
    </developers>

    <scm>
        <connection>scm:git@github.com/bigdog001/openAuthN.git</connection>
        <developerConnection>scm:git@github.com/bigdog001/openAuthN.git</developerConnection>
        <url>git@github.com/bigdog001/openAuthN.git</url>
    </scm>
        

    <profiles>
        <profile>
            <id>release</id>
            <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>
        </profile>
    </profiles>
    
    
    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
                <excludes>
                    <exclude>log4j.properties</exclude>
                    <exclude>myconf.properties</exclude>
                    <exclude>ehcache.xml</exclude>
                    <exclude>applicationContextDao.xml</exclude>
                </excludes>
            </resource>
        </resources>
        <plugins>            
            
            <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.2</version>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin> 

	  
            <!-- Gpg Signature -->
            <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>