From 8215bc045eecc303ad56dff0815311d4015cb640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=8F=E7=83=88?= Date: Tue, 12 Dec 2017 15:51:54 +0800 Subject: [PATCH 1/3] fix https://github.com/alibaba/p3c/issues/191 --- .../p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java | 1 - p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java b/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java index 4bf59eeef..186458aee 100644 --- a/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java +++ b/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java @@ -21,7 +21,6 @@ import java.util.Map; import java.util.Properties; - import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; diff --git a/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml b/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml index 921e484f6..0f8b98849 100644 --- a/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml +++ b/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml @@ -76,7 +76,7 @@ Positive example 3: java.concurrent.AvoidManuallyCreateThreadRule.rule.desc From 3b6e251a76711897835f2e57974d4eb2ec840b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=8F=E7=83=88?= Date: Tue, 12 Dec 2017 15:58:18 +0800 Subject: [PATCH 2/3] fix https://github.com/alibaba/p3c/issues/187 --- .../rulesets/java/ali-ruleOnEclipse.xml | 2 +- eclipse-plugin/pom.xml | 146 ------------------ 2 files changed, 1 insertion(+), 147 deletions(-) diff --git a/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml b/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml index edbc1e54e..e25eb51ce 100644 --- a/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml +++ b/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml @@ -37,6 +37,6 @@ rule.standalone.MapOrSetKeyShouldOverrideHashCodeEqualsRule.desc - 1 + 2 diff --git a/eclipse-plugin/pom.xml b/eclipse-plugin/pom.xml index d0bd2cc36..5a8a267c8 100644 --- a/eclipse-plugin/pom.xml +++ b/eclipse-plugin/pom.xml @@ -189,150 +189,4 @@ - - - - macosx-jvm-flags - - - mac - - - - - -XstartOnFirstThread - - - - - - eclipse-juno - - - !eclipse-release - - - - - juno - p2 - http://mirrors.ustc.edu.cn/eclipse/releases/juno/ - - - swtbot - p2 - http://mirrors.ustc.edu.cn/eclipse/technology/swtbot/releases/2.5.0/ - - - - - - eclipse-kepler - - - eclipse-release - kepler - - - - - kepler - p2 - http://download.eclipse.org/releases/kepler/ - - - swtbot - p2 - http://download.eclipse.org/technology/swtbot/releases/2.3.0/ - - - - - - eclipse-luna - - - eclipse-release - luna - - - - - luna - p2 - http://download.eclipse.org/releases/luna/ - - - swtbot - p2 - http://download.eclipse.org/technology/swtbot/releases/2.3.0/ - - - - - - eclipse-mars - - - eclipse-release - mars - - - - - mars - p2 - http://download.eclipse.org/releases/mars/ - - - swtbot - p2 - http://download.eclipse.org/technology/swtbot/releases/2.3.0/ - - - - - - eclipse-neon - - - eclipse-release - neon - - - - - neon - p2 - http://download.eclipse.org/releases/neon/ - - - swtbot - p2 - http://download.eclipse.org/technology/swtbot/releases/2.3.0/ - - - - - From 914bbb1055b346d958b209cd20d52d2d9a81a0aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=8F=E7=83=88?= Date: Tue, 12 Dec 2017 16:03:13 +0800 Subject: [PATCH 3/3] add repositories config --- eclipse-plugin/pom.xml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/eclipse-plugin/pom.xml b/eclipse-plugin/pom.xml index 5a8a267c8..130f5002f 100644 --- a/eclipse-plugin/pom.xml +++ b/eclipse-plugin/pom.xml @@ -40,18 +40,24 @@ - +