<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>cn.opencodes</groupId>
	<artifactId>alpha</artifactId>
	<version>1.0.0</version>
	<packaging>pom</packaging>
	<name>alpha</name>
    <url>https://gitee.com/opencodes-cn/alpha</url>
    <description>alpha deploy configuration</description>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 
	</properties>

	<licenses>
       <license>
           <name>The ApacheSoftware License, Version 2.0</name>
           <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
           <distribution>repo</distribution>
       </license>
    </licenses>

    <developers>
       <developer>
           <name>hejun-vip</name>
           <email>136542892@qq.com</email>
           <organizationUrl>http://www.hejun.vip</organizationUrl>
       </developer>
    </developers>

    <organization>
        <name>opencodes</name>
        <url>http://www.opencodes.cn</url>
    </organization>

    <scm>
       <url>https://gitee.com/opencodes-cn/alpha.git</url>
       <connection>scm:https://gitee.com/opencodes-cn/alpha.git</connection>
       <developerConnection>scm:https://gitee.com/opencodes-cn/alpha.git</developerConnection>
    </scm>

	<profiles>
		<profile>
			<id>release</id>
			<build>
				<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.9.1</version>
						 <configuration>
					        <additionalparam>-Xdoclint:none</additionalparam>
							<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
					    </configuration>
						<executions>
							<execution>
								<id>attach-javadocs</id>
                                <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>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

    <!-- 项目发布nexus mvn:[deploy -P release -e]  -->
    <distributionManagement>
        <repository>
            <id>my-sonatype</id>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
        <snapshotRepository>
            <id>my-sonatype</id>
            <url> https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>
    
</project>