From 126d991775bbbc292ff410467b13ae9303be6830 Mon Sep 17 00:00:00 2001 From: KenChoi1992 Date: Fri, 24 Jun 2016 14:24:01 +0800 Subject: [PATCH] move log4j.properties --- .classpath | 6 +- pom.xml.releaseBackup | 180 ++++++++++++++++++ release.properties | 16 ++ src/main/java/cn/jpush/api/TestOrder.java | 9 + .../{cn/jiguang/commom => }/log4j.properties | 0 5 files changed, 206 insertions(+), 5 deletions(-) create mode 100644 pom.xml.releaseBackup create mode 100644 release.properties create mode 100644 src/main/java/cn/jpush/api/TestOrder.java rename src/main/java/{cn/jiguang/commom => }/log4j.properties (100%) diff --git a/.classpath b/.classpath index 115d526..fc7c3c2 100644 --- a/.classpath +++ b/.classpath @@ -17,14 +17,10 @@ - - - - - + diff --git a/pom.xml.releaseBackup b/pom.xml.releaseBackup new file mode 100644 index 0000000..80c7eaa --- /dev/null +++ b/pom.xml.releaseBackup @@ -0,0 +1,180 @@ + + 4.0.0 + + cn.jpush.api + jiguang-common + 0.1.2-SNAPSHOT + jar + https://github.com/jpush/jiguang-java-client-common + Jiguang Client Common Dependencies + Jiguang common dependecies for jiguang java client. + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + github + UTF-8 + 1.7 + 1.8 + + + + org.sonatype.oss + oss-parent + 9 + + + + https://github.com/jpush/jiguang-java-client-common + scm:git:git@github.com:jpush/jiguang-java-client-common.git + scm:git:git@github.com:jpush/jiguang-java-client-common.git + v0.0.1 + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + maven-plugin + + + + com.google.code.gson + gson + 2.3 + + + + org.slf4j + slf4j-api + 1.7.7 + + + + + + org.slf4j + slf4j-log4j12 + 1.7.7 + test + + + log4j + log4j + 1.2.17 + test + + + + junit + junit + 4.11 + test + + + com.squareup.okhttp + mockwebserver + 2.0.0 + test + + + + + + + + maven-compiler-plugin + 3.5.1 + + ${jdkVersion} + ${jdkVersion} + 1.5 + true + true + true + true + + -Xlint:unchecked + + + + + + com.github.github + site-maven-plugin + 0.12 + + Creating site for ${project.version} + github + + + + + site + + site + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.17 + + cn.jpush.api.FastTests + -Dfile.encoding=UTF-8 + + **/mock/*Test.java + + + + + org.apache.maven.surefire + surefire-junit47 + 2.17 + + + + + + + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.8.1 + + + + dependencies + license + scm + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + resources/javadoc-overview.html + + + + + + + diff --git a/release.properties b/release.properties new file mode 100644 index 0000000..6550950 --- /dev/null +++ b/release.properties @@ -0,0 +1,16 @@ +#release configuration +#Fri Jun 24 14:21:35 CST 2016 +scm.tag=jiguang-common-0.1.2 +scm.url=scm\:git\:git@github.com\:jpush/jiguang-java-client-common.git +pushChanges=true +preparationGoals=clean verify +project.scm.cn.jpush.api\:jiguang-common.tag=v0.0.1 +project.dev.cn.jpush.api\:jiguang-common=0.1.3-SNAPSHOT +project.scm.cn.jpush.api\:jiguang-common.url=https\://github.com/jpush/jiguang-java-client-common +project.scm.cn.jpush.api\:jiguang-common.developerConnection=scm\:git\:git@github.com\:jpush/jiguang-java-client-common.git +project.rel.cn.jpush.api\:jiguang-common=0.1.2 +remoteTagging=true +scm.commentPrefix=[maven-release-plugin] +project.scm.cn.jpush.api\:jiguang-common.connection=scm\:git\:git@github.com\:jpush/jiguang-java-client-common.git +exec.additionalArguments=\ -Psonatype-oss-release +completedPhase=run-preparation-goals diff --git a/src/main/java/cn/jpush/api/TestOrder.java b/src/main/java/cn/jpush/api/TestOrder.java new file mode 100644 index 0000000..b3681d4 --- /dev/null +++ b/src/main/java/cn/jpush/api/TestOrder.java @@ -0,0 +1,9 @@ +package cn.jpush.api; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +@Retention(RetentionPolicy.RUNTIME) +public @interface TestOrder { + public int order(); +} \ No newline at end of file diff --git a/src/main/java/cn/jiguang/commom/log4j.properties b/src/main/java/log4j.properties similarity index 100% rename from src/main/java/cn/jiguang/commom/log4j.properties rename to src/main/java/log4j.properties