From 468052c26cd87884144388dea64728b1c61746b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=8B=87=E5=8D=87=20pengys?= <8082209@qq.com> Date: Sun, 11 Mar 2018 20:00:54 +0800 Subject: [PATCH] Feature/Style Check (#925) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create style check module. * Add scm, licenses, mailing lists into root pom. * Add jacoco and coveralls maven plugin into check style module’s pom. --- apm-checkstyle/pom.xml | 64 +++++++++++++++++++ .../main/resources/skywalking/CHECKSTYLE_HEAD | 0 .../main/resources/skywalking/checkStyle.xml | 5 -- pom.xml | 43 ++++++++++++- 4 files changed, 105 insertions(+), 7 deletions(-) create mode 100644 apm-checkstyle/pom.xml rename CHECKSTYLE_HEAD => apm-checkstyle/src/main/resources/skywalking/CHECKSTYLE_HEAD (100%) rename checkStyle.xml => apm-checkstyle/src/main/resources/skywalking/checkStyle.xml (97%) diff --git a/apm-checkstyle/pom.xml b/apm-checkstyle/pom.xml new file mode 100644 index 000000000..7b728b5cc --- /dev/null +++ b/apm-checkstyle/pom.xml @@ -0,0 +1,64 @@ + + + + + + org.apache + apache + 19 + + 4.0.0 + + org.apache.skywalking + apm-checkstyle + 5.0.0-alpha-SNAPSHOT + Module to hold Checkstyle for SkyWalking. + + + + + + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + prepare-agent + + prepare-agent + + + + + + org.eluder.coveralls + coveralls-maven-plugin + 4.1.0 + + xFwR2GqmxcMxV7tGEpW2NfwIrbCD4cQCS + + ${project.build.sourceDirectory} + + + + + + \ No newline at end of file diff --git a/CHECKSTYLE_HEAD b/apm-checkstyle/src/main/resources/skywalking/CHECKSTYLE_HEAD similarity index 100% rename from CHECKSTYLE_HEAD rename to apm-checkstyle/src/main/resources/skywalking/CHECKSTYLE_HEAD diff --git a/checkStyle.xml b/apm-checkstyle/src/main/resources/skywalking/checkStyle.xml similarity index 97% rename from checkStyle.xml rename to apm-checkstyle/src/main/resources/skywalking/checkStyle.xml index b90ee7c02..913484e56 100644 --- a/checkStyle.xml +++ b/apm-checkstyle/src/main/resources/skywalking/checkStyle.xml @@ -28,11 +28,6 @@ - - - - - diff --git a/pom.xml b/pom.xml index 7eacc5984..3a4eb43a5 100644 --- a/pom.xml +++ b/pom.xml @@ -65,23 +65,54 @@ apm-protocol apm-webapp apm-dist + apm-checkstyle pom apm https://github.com/apache/incubator-skywalking + + https://github.com/apache/incubator-skywalking + scm:git:https://github.com/apache/incubator-skywalking.git + scm:git:https://github.com/apache/incubator-skywalking.git + HEAD + + GitHub https://github.com/apache/incubator-skywalking/issues + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + SkyWalking Developer List + dev@skywalking.incubator.apache.org + dev-subscribe@skywalking.incubator.apache.org + dev-unsubscribe@skywalking.incubator.apache.org + + + SkyWalking Commits + commits@skywalking.incubator.apache.org + commits-subscribe@skywalking.incubator.apache.org + commits-unsubscribe@skywalking.incubator.apache.org + + + UTF-8 1.8 2.11.7 1.6.4 0.4.13 + 6.18 @@ -255,12 +286,20 @@ maven-checkstyle-plugin 2.17 + + + org.apache.skywalking + apm-checkstyle + ${project.version} + + validate validate - checkStyle.xml + skywalking/checkStyle.xml + skywalking/CHECKSTYLE_HEAD UTF-8 true true @@ -372,5 +411,5 @@ - +