<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>com.centit.support</groupId>
	<artifactId>centit-utils</artifactId>
	<name>com.centit.support:centit-utils</name>
	<packaging>jar</packaging>
	<version>2.1.2</version>
	<description>java 常用工具类,作为 apache-commons的补充</description>
	<url>https://github.com/ndxt/centit-utils</url>

	<licenses>
     <license>
       <name>The Apache License, Version 2.0</name>
       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
     </license>
    </licenses>  
   
    <developers>
	    <developer>
	      <name>杨淮生</name>
	      <email>codefan@sina.com</email>
	      <organization>centit.com</organization>
	      <organizationUrl>http://www.centit.com</organizationUrl>
	    </developer>
	    <developer>
	      <name>姜领平</name>
	      <email>jlp@centit.com</email>
	      <organization>centit.com</organization>
	      <organizationUrl>http://www.centit.com</organizationUrl>
	    </developer>
	    <developer>
	      <name>朱晓文</name>
	      <email>zhu_xw@centit.com</email>
	      <organization>centit.com</organization>
	      <organizationUrl>http://www.centit.com</organizationUrl>
	    </developer>
	</developers>
  
	  <scm>
	      <connection>
	         scm:git:https://github.com/ndxt/centit-utils.git
	      </connection>
	      <developerConnection>
	         scm:git:https://github.com/ndxt/centit-utils.git
	      </developerConnection>
	      <url>https://github.com/ndxt/centit-utils</url>
	     <tag>v1.12</tag>
	  </scm>
  
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<!-- mvn deploy -DpomFile=pom.xml -->
	 
	<!--  <distributionManagement>
	  	<repository> 
	  		<id>centit-releases</id>
	         <name>centit-release</name>
	         <url>http://develop.centit.com:8081/nexus/repository/centit-releases/</url>
	  	</repository>
	  	<snapshotRepository>
	  		<id>centit-snapshots</id>
	        <name>centit-snapshots</name>
	        <url>http://develop.centit.com:8081/nexus/repository/centit-snapshots/</url>
	  	</snapshotRepository>
	  </distributionManagement>  -->
  
	 <distributionManagement>
		<repository>
			<id>ossrh</id>
			<name>sonatype-releases</name>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
		</repository>
		<snapshotRepository>
			<id>ossrh</id>
			<name>sonatype-snapshots</name>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>
	
	<!--  <distributionManagement>
	  	<repository> 
	  		<id>centit-releases</id>
	         <name>centit-release</name>
	         <url>http://develop.centit.com:8080/nexus/content/repositories/centit-releases/</url>
	  	</repository>
	  	<snapshotRepository>
	  		<id>centit-snapshots</id>
	        <name>centit-snapshots</name>
	        <url>http://develop.centit.com:8080/nexus/content/repositories/centit-snapshots/</url>
	  	</snapshotRepository>
	  </distributionManagement>  -->
  
	<dependencies>
		<!-- exchange client -->
		<!-- <dependency>
		  <groupId>org.mnode.ical4j</groupId>
		  <artifactId>ical4j</artifactId>
		  <version>1.0.7</version>
		</dependency> -->
		<dependency>
		  <groupId>org.mnode.ical4j</groupId>
		  <artifactId>ical4j</artifactId>
		  <version>2.0-beta1</version>
		</dependency>
		<dependency>
		  <groupId>org.apache.commons</groupId>
		  <artifactId>commons-lang3</artifactId>
		  <version>3.4</version>
		</dependency>
		
		<dependency>
		  <groupId>commons-logging</groupId>
		  <artifactId>commons-logging</artifactId>
		  <version>1.2</version>
		</dependency>
		
		<dependency>
			<groupId>dom4j</groupId>
			<artifactId>dom4j</artifactId>
			<version>1.6.1</version>
		</dependency>
		
		<!-- jSon -->
		<dependency>
		  <groupId>com.alibaba</groupId>
		  <artifactId>fastjson</artifactId>
		  <version>1.2.28</version>
		</dependency>
		<!--4.5.1 不能，肯定是某个参数不对暂时没有找到 -->
		<dependency>
		  <groupId>org.apache.httpcomponents</groupId>
		  <artifactId>httpclient</artifactId>
		  <version>4.5.1</version>
		</dependency>
		<dependency>
		  <groupId>org.apache.httpcomponents</groupId>
		  <artifactId>httpmime</artifactId>
		  <version>4.5.1</version>
		</dependency>

		<dependency>
		  <groupId>org.apache.commons</groupId>
		  <artifactId>commons-email</artifactId>
		  <version>1.4</version>
		</dependency>
		<dependency>
		  <groupId>commons-net</groupId>
		  <artifactId>commons-net</artifactId>
		  <version>3.2</version>
		</dependency>
		<!-- 获取汉字首字母的类库  -->
		<!-- <dependency>
			<groupId>net.sourceforge.pinyin4j</groupId>
			<artifactId>pinyin4j</artifactId>
			<version>5.0</version>
		</dependency> -->
		<dependency>
		  <groupId>com.belerweb</groupId>
		  <artifactId>pinyin4j</artifactId>
		  <version>2.5.1</version>
		</dependency>
		<!-- test -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
			<version>4.9</version>
		</dependency>
		<dependency>
			<groupId>com.sun</groupId>
			<artifactId>tools</artifactId>
			<version>1.7.0</version>
			<scope>system</scope>
			<systemPath>${env.JAVA_HOME}/lib/tools.jar</systemPath>
			<!-- <systemPath>D:\Java\jdk1_6_0_29\lib\tools.jar</systemPath> -->
		</dependency>

	</dependencies>
	
	<build>
		<plugins>
			<plugin> 
				<groupId>org.apache.maven.plugins</groupId> 
				<artifactId>maven-compiler-plugin</artifactId> 
				<version>2.3.2</version> 
				<configuration> 
					<source>1.7</source> 
					<target>1.7</target> 
					<encoding>UTF-8</encoding> 
					<compilerArguments> 
						<verbose /> 
						<bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath> 
					</compilerArguments> 
				</configuration> 
			</plugin>
 
 			<!-- 打包时添加源码 -->
			<plugin>
			    <groupId>org.apache.maven.plugins</groupId>
			    <artifactId>maven-source-plugin</artifactId>
			    <version>2.4</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>
		      <executions>
		        <execution>
		          <id>attach-javadocs</id>
		          <goals>
		            <goal>jar</goal>
		          </goals>
		        </execution>
		      </executions>
		    </plugin>
		    
			<!-- GPG自动签名的插件 -->
			
			<plugin>
		      <groupId>org.apache.maven.plugins</groupId>
		      <artifactId>maven-gpg-plugin</artifactId>
		      <version>1.6</version>
		      <executions>
		        <execution>
		          <id>sign-artifacts</id>
		          <phase>verify</phase>
		          <goals>
		            <goal>sign</goal>
		          </goals>
		        </execution>
		      </executions>
		    </plugin> 
		    
		    
			<!-- sonatype release :
				mvn nexus-staging:release -->
		    
		    <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> 
			
		</plugins>
	</build>

</project>