From 2042dba2cf604ae314df342060a76de22f827ec2 Mon Sep 17 00:00:00 2001 From: FengLiang Date: Mon, 20 Feb 2017 09:51:10 +0800 Subject: Modify exception private static IterableProvider mqConfigProvider; Remove static Issue-ID:HOLMES-37 Change-Id: I31d962050544522cbb169dde8fe69b1491713126 Signed-off-by: FengLiang --- holmes-actions/pom.xml | 20 +++++++++++++++----- .../org/openo/holmes/common/producer/MQProducer.java | 2 +- pom.xml | 13 ++----------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/holmes-actions/pom.xml b/holmes-actions/pom.xml index 3a3f827..0c891c6 100644 --- a/holmes-actions/pom.xml +++ b/holmes-actions/pom.xml @@ -20,13 +20,23 @@ jar holmes-actions - - org.apache.geronimo.specs - geronimo-jms_1.1_spec - org.apache.activemq - activemq-client + activemq-all + + + log4j + log4j + + + org.slf4j + slf4j-log4j12 + + + org.slf4j + slf4j-api + + org.openo.common-services.common-utilities diff --git a/holmes-actions/src/main/java/org/openo/holmes/common/producer/MQProducer.java b/holmes-actions/src/main/java/org/openo/holmes/common/producer/MQProducer.java index a9a869c..826a565 100644 --- a/holmes-actions/src/main/java/org/openo/holmes/common/producer/MQProducer.java +++ b/holmes-actions/src/main/java/org/openo/holmes/common/producer/MQProducer.java @@ -39,7 +39,7 @@ import org.openo.holmes.common.constant.AlarmConst; public class MQProducer { @Inject - private static IterableProvider mqConfigProvider; + private IterableProvider mqConfigProvider; private ConnectionFactory connectionFactory; @PostConstruct diff --git a/pom.xml b/pom.xml index f0720ab..aad8980 100644 --- a/pom.xml +++ b/pom.xml @@ -116,31 +116,22 @@ 4.8.2 test - org.hamcrest hamcrest-core 1.3 test - org.powermock powermock-module-junit4 1.6.4 test - - - org.apache.geronimo.specs - geronimo-jms_1.1_spec - 1.1.1 - - org.apache.activemq - activemq-client - 5.13.4 + activemq-all + 5.8.0 -- cgit 1.2.3-korg