diff --git a/pulse.lib.http/pom.xml b/pulse.lib.http/pom.xml index 1206f7b..827a813 100644 --- a/pulse.lib.http/pom.xml +++ b/pulse.lib.http/pom.xml @@ -10,8 +10,6 @@ UTF-8 - 1.8 - 1.8 @@ -30,11 +28,6 @@ gson 2.6.2 - - com.squareup.okhttp - okhttp - 2.7.5 - commons-cli commons-cli diff --git a/pulse.sample.bizcounter/java-sample/pom.xml b/pulse.sample.bizcounter/java-sample/pom.xml index a9b88f2..54a03c1 100644 --- a/pulse.sample.bizcounter/java-sample/pom.xml +++ b/pulse.sample.bizcounter/java-sample/pom.xml @@ -12,8 +12,6 @@ UTF-8 - 1.8 - 1.8 @@ -46,6 +44,27 @@ 1.8 + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + + scouterx.pulse.sample.bizcounter.App + + + + + + package + + shade + + + + org.apache.maven.plugins maven-dependency-plugin diff --git a/pulse.sample.bizcounter/java-sample/src/main/java/scouterx/pulse/sample/bizcounter/BizDataController.java b/pulse.sample.bizcounter/java-sample/src/main/java/scouterx/pulse/sample/bizcounter/BizDataController.java index 336adba..5d22091 100644 --- a/pulse.sample.bizcounter/java-sample/src/main/java/scouterx/pulse/sample/bizcounter/BizDataController.java +++ b/pulse.sample.bizcounter/java-sample/src/main/java/scouterx/pulse/sample/bizcounter/BizDataController.java @@ -118,7 +118,7 @@ private float getRandomSample2(String type) { prev.put(type, value); } - value = value + (float) Math.random() * value / 20; + value = value + (float) Math.random() * 30; prev2.put(type, value); return value;