Skip to content

Commit 1a8f6b7

Browse files
committed
update pox.xml to maven
1 parent 06e4cae commit 1a8f6b7

File tree

101 files changed

+7673
-586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+7673
-586
lines changed

jpush-api-java-client/pom.xml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<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">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>cn.jpush.api</groupId>
4+
<artifactId>cn.jpush.api.sdk</artifactId>
5+
<dependencies>
6+
<dependency>
7+
<groupId>com.google.code.gson</groupId>
8+
<artifactId>gson</artifactId>
9+
<version>2.2.4</version>
10+
</dependency>
11+
<dependency>
12+
<groupId>junit</groupId>
13+
<artifactId>junit</artifactId>
14+
<version>4.11</version>
15+
<scope>test</scope>
16+
</dependency>
17+
</dependencies>
18+
<build>
19+
<sourceDirectory>src</sourceDirectory>
20+
<testSourceDirectory>test</testSourceDirectory>
21+
<plugins>
22+
<plugin>
23+
<artifactId>maven-compiler-plugin</artifactId>
24+
<version>3.1</version>
25+
<configuration>
26+
<source>1.6</source>
27+
<target>1.6</target>
28+
</configuration>
29+
</plugin>
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-release-plugin</artifactId>
33+
<version>2.2.2</version>
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.apache.maven.plugins</groupId>
37+
<artifactId>maven-scm-plugin</artifactId>
38+
<version>1.8.1</version>
39+
</dependency>
40+
</dependencies>
41+
<configuration>
42+
<goals>deploy</goals>
43+
<pushChanges>false</pushChanges>
44+
<localCheckout>true</localCheckout>
45+
<commitByProject>true</commitByProject>
46+
</configuration>
47+
</plugin>
48+
</plugins>
49+
</build>
50+
<scm>
51+
<connection>scm:git:git@github.com:jpush/jpush-api-java-client.git</connection>
52+
<developerConnection>scm:git:git@github.com:jpush/jpush-api-java-client.git</developerConnection>
53+
<url>scm:git:git@github.com:jpush/jpush-api-java-client.git</url>
54+
</scm>
55+
<parent>
56+
<groupId>org.sonatype.oss</groupId>
57+
<artifactId>oss-parent</artifactId>
58+
<version>7</version>
59+
</parent>
60+
<version>2.3-SNAPSHOT</version>
61+
</project>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@
5757
<artifactId>oss-parent</artifactId>
5858
<version>7</version>
5959
</parent>
60-
<version>2.2-SNAPSHOT</version>
60+
<version>2.3-SNAPSHOT</version>
6161
</project>

pom.xml.releaseBackup

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,35 @@
2727
<target>1.6</target>
2828
</configuration>
2929
</plugin>
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-release-plugin</artifactId>
33+
<version>2.2.2</version>
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.apache.maven.plugins</groupId>
37+
<artifactId>maven-scm-plugin</artifactId>
38+
<version>1.8.1</version>
39+
</dependency>
40+
</dependencies>
41+
<configuration>
42+
<goals>deploy</goals>
43+
<pushChanges>false</pushChanges>
44+
<localCheckout>true</localCheckout>
45+
<commitByProject>true</commitByProject>
46+
</configuration>
47+
</plugin>
3048
</plugins>
3149
</build>
3250
<scm>
33-
<connection>scm:git:https://github.com/jpush/jpush-api-java-client.git</connection>
34-
<developerConnection>scm:git:https://github.com/jpush/jpush-api-java-client.git</developerConnection>
35-
<url>https://github.com/jpush/jpush-api-java-client.git</url>
51+
<connection>scm:git:git@github.com:jpush/jpush-api-java-client.git</connection>
52+
<developerConnection>scm:git:git@github.com:jpush/jpush-api-java-client.git</developerConnection>
53+
<url>scm:git:git@github.com:jpush/jpush-api-java-client.git</url>
3654
</scm>
3755
<parent>
3856
<groupId>org.sonatype.oss</groupId>
3957
<artifactId>oss-parent</artifactId>
4058
<version>7</version>
4159
</parent>
42-
<version>0.1-SNAPSHOT</version>
60+
<version>2.2-SNAPSHOT</version>
4361
</project>

release.properties

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
#release configuration
2-
#Fri Nov 15 12:58:38 CST 2013
2+
#Tue Dec 10 18:30:58 CST 2013
3+
project.dev.cn.jpush.api\:cn.jpush.api.sdk=2.3-SNAPSHOT
34
scm.tagNameFormat=@{project.artifactId}-@{project.version}
4-
pushChanges=true
5+
project.scm.cn.jpush.api\:cn.jpush.api.sdk.tag=HEAD
6+
scm.tag=cn.jpush.api.sdk-2.2
7+
project.scm.cn.jpush.api\:cn.jpush.api.sdk.url=scm\:git\:git@github.com\:jpush/jpush-api-java-client.git
8+
pushChanges=false
59
scm.url=scm\:git\:git@github.com\:jpush/jpush-api-java-client.git
610
preparationGoals=clean verify
11+
project.scm.cn.jpush.api\:cn.jpush.api.sdk.connection=scm\:git\:git@github.com\:jpush/jpush-api-java-client.git
12+
project.scm.cn.jpush.api\:cn.jpush.api.sdk.developerConnection=scm\:git\:git@github.com\:jpush/jpush-api-java-client.git
713
remoteTagging=true
814
scm.commentPrefix=[maven-release-plugin]
9-
exec.additionalArguments=-Psonatype-oss-release
15+
project.rel.cn.jpush.api\:cn.jpush.api.sdk=2.2
16+
exec.additionalArguments=-Psonatype-oss-release -P sign
1017
exec.snapshotReleasePluginAllowed=false
11-
completedPhase=check-poms
18+
completedPhase=end-release

target/apidocs/allclasses-frame.html

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<!--NewPage-->
33
<HTML>
44
<HEAD>
5-
<!-- Generated by javadoc (build 1.6.0_26) on Mon Nov 25 10:06:52 CST 2013 -->
5+
<!-- Generated by javadoc (build 1.6.0_26) on Tue Dec 10 18:30:54 CST 2013 -->
66
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
77
<TITLE>
8-
所有类 (cn.jpush.api.sdk 2.1 API)
8+
所有类 (cn.jpush.api.sdk 2.2 API)
99
</TITLE>
1010

11-
<META NAME="date" CONTENT="2013-11-25">
11+
<META NAME="date" CONTENT="2013-12-10">
1212

1313
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
1414

@@ -22,9 +22,13 @@
2222

2323
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
2424
<TR>
25-
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="cn/jpush/api/BaseClient.html" title="cn.jpush.api 中的类" target="classFrame">BaseClient</A>
25+
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="cn/jpush/http/Base64.html" title="cn.jpush.http 中的类" target="classFrame">Base64</A>
2626
<BR>
27-
<A HREF="cn/jpush/api/BaseURL.html" title="cn.jpush.api 中的类" target="classFrame">BaseURL</A>
27+
<A HREF="cn/jpush/http/BaseClient.html" title="cn.jpush.http 中的类" target="classFrame">BaseClient</A>
28+
<BR>
29+
<A HREF="cn/jpush/api/BaseResult.html" title="cn.jpush.api 中的类" target="classFrame">BaseResult</A>
30+
<BR>
31+
<A HREF="cn/jpush/http/BaseURL.html" title="cn.jpush.http 中的类" target="classFrame">BaseURL</A>
2832
<BR>
2933
<A HREF="cn/jpush/api/CallbackMessage.html" title="cn.jpush.api 中的类" target="classFrame">CallbackMessage</A>
3034
<BR>
@@ -34,7 +38,7 @@
3438
<BR>
3539
<A HREF="cn/jpush/api/ErrorCodeEnum.html" title="cn.jpush.api 中的枚举" target="classFrame">ErrorCodeEnum</A>
3640
<BR>
37-
<A HREF="cn/jpush/api/HttpPostClient.html" title="cn.jpush.api 中的类" target="classFrame">HttpPostClient</A>
41+
<A HREF="cn/jpush/http/HttpClient.html" title="cn.jpush.http 中的类" target="classFrame">HttpClient</A>
3842
<BR>
3943
<A HREF="cn/jpush/api/IOSExtra.html" title="cn.jpush.api 中的类" target="classFrame">IOSExtra</A>
4044
<BR>
@@ -50,13 +54,21 @@
5054
<BR>
5155
<A HREF="cn/jpush/api/NotifyMessageParams.html" title="cn.jpush.api 中的类" target="classFrame">NotifyMessageParams</A>
5256
<BR>
57+
<A HREF="cn/jpush/example/ReceiveClientExample.html" title="cn.jpush.example 中的类" target="classFrame">ReceiveClientExample</A>
58+
<BR>
59+
<A HREF="cn/jpush/api/receive/ReceiveManager.html" title="cn.jpush.api.receive 中的类" target="classFrame">ReceiveManager</A>
60+
<BR>
61+
<A HREF="cn/jpush/api/receive/ReceiveResult.html" title="cn.jpush.api.receive 中的类" target="classFrame">ReceiveResult</A>
62+
<BR>
5363
<A HREF="cn/jpush/api/ReceiverTypeEnum.html" title="cn.jpush.api 中的枚举" target="classFrame">ReceiverTypeEnum</A>
5464
<BR>
65+
<A HREF="cn/jpush/http/RequestTypeEnum.html" title="cn.jpush.http 中的枚举" target="classFrame">RequestTypeEnum</A>
66+
<BR>
5567
<A HREF="cn/jpush/api/SimpleHostnameVerifier.html" title="cn.jpush.api 中的类" target="classFrame">SimpleHostnameVerifier</A>
5668
<BR>
5769
<A HREF="cn/jpush/api/SimpleTrustManager.html" title="cn.jpush.api 中的类" target="classFrame">SimpleTrustManager</A>
5870
<BR>
59-
<A HREF="cn/jpush/api/StringUtils.html" title="cn.jpush.api 中的类" target="classFrame">StringUtils</A>
71+
<A HREF="cn/jpush/http/StringUtils.html" title="cn.jpush.http 中的类" target="classFrame">StringUtils</A>
6072
<BR>
6173
<A HREF="cn/jpush/api/ValidateRequestParams.html" title="cn.jpush.api 中的类" target="classFrame">ValidateRequestParams</A>
6274
<BR>

target/apidocs/allclasses-noframe.html

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<!--NewPage-->
33
<HTML>
44
<HEAD>
5-
<!-- Generated by javadoc (build 1.6.0_26) on Mon Nov 25 10:06:52 CST 2013 -->
5+
<!-- Generated by javadoc (build 1.6.0_26) on Tue Dec 10 18:30:54 CST 2013 -->
66
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
77
<TITLE>
8-
所有类 (cn.jpush.api.sdk 2.1 API)
8+
所有类 (cn.jpush.api.sdk 2.2 API)
99
</TITLE>
1010

11-
<META NAME="date" CONTENT="2013-11-25">
11+
<META NAME="date" CONTENT="2013-12-10">
1212

1313
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
1414

@@ -22,9 +22,13 @@
2222

2323
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
2424
<TR>
25-
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="cn/jpush/api/BaseClient.html" title="cn.jpush.api 中的类">BaseClient</A>
25+
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="cn/jpush/http/Base64.html" title="cn.jpush.http 中的类">Base64</A>
2626
<BR>
27-
<A HREF="cn/jpush/api/BaseURL.html" title="cn.jpush.api 中的类">BaseURL</A>
27+
<A HREF="cn/jpush/http/BaseClient.html" title="cn.jpush.http 中的类">BaseClient</A>
28+
<BR>
29+
<A HREF="cn/jpush/api/BaseResult.html" title="cn.jpush.api 中的类">BaseResult</A>
30+
<BR>
31+
<A HREF="cn/jpush/http/BaseURL.html" title="cn.jpush.http 中的类">BaseURL</A>
2832
<BR>
2933
<A HREF="cn/jpush/api/CallbackMessage.html" title="cn.jpush.api 中的类">CallbackMessage</A>
3034
<BR>
@@ -34,7 +38,7 @@
3438
<BR>
3539
<A HREF="cn/jpush/api/ErrorCodeEnum.html" title="cn.jpush.api 中的枚举">ErrorCodeEnum</A>
3640
<BR>
37-
<A HREF="cn/jpush/api/HttpPostClient.html" title="cn.jpush.api 中的类">HttpPostClient</A>
41+
<A HREF="cn/jpush/http/HttpClient.html" title="cn.jpush.http 中的类">HttpClient</A>
3842
<BR>
3943
<A HREF="cn/jpush/api/IOSExtra.html" title="cn.jpush.api 中的类">IOSExtra</A>
4044
<BR>
@@ -50,13 +54,21 @@
5054
<BR>
5155
<A HREF="cn/jpush/api/NotifyMessageParams.html" title="cn.jpush.api 中的类">NotifyMessageParams</A>
5256
<BR>
57+
<A HREF="cn/jpush/example/ReceiveClientExample.html" title="cn.jpush.example 中的类">ReceiveClientExample</A>
58+
<BR>
59+
<A HREF="cn/jpush/api/receive/ReceiveManager.html" title="cn.jpush.api.receive 中的类">ReceiveManager</A>
60+
<BR>
61+
<A HREF="cn/jpush/api/receive/ReceiveResult.html" title="cn.jpush.api.receive 中的类">ReceiveResult</A>
62+
<BR>
5363
<A HREF="cn/jpush/api/ReceiverTypeEnum.html" title="cn.jpush.api 中的枚举">ReceiverTypeEnum</A>
5464
<BR>
65+
<A HREF="cn/jpush/http/RequestTypeEnum.html" title="cn.jpush.http 中的枚举">RequestTypeEnum</A>
66+
<BR>
5567
<A HREF="cn/jpush/api/SimpleHostnameVerifier.html" title="cn.jpush.api 中的类">SimpleHostnameVerifier</A>
5668
<BR>
5769
<A HREF="cn/jpush/api/SimpleTrustManager.html" title="cn.jpush.api 中的类">SimpleTrustManager</A>
5870
<BR>
59-
<A HREF="cn/jpush/api/StringUtils.html" title="cn.jpush.api 中的类">StringUtils</A>
71+
<A HREF="cn/jpush/http/StringUtils.html" title="cn.jpush.http 中的类">StringUtils</A>
6072
<BR>
6173
<A HREF="cn/jpush/api/ValidateRequestParams.html" title="cn.jpush.api 中的类">ValidateRequestParams</A>
6274
<BR>

0 commit comments

Comments
 (0)