summaryrefslogtreecommitdiffstats
path: root/rulemgt
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-02-28 02:56:56 +0000
committerGerrit Code Review <gerrit@open-o.org>2017-02-28 02:56:56 +0000
commit2d9af2d524d6cb204bbef86f50b5de80f8cd44ff (patch)
treec0a2ff00d04811ded4dac87548911ac6461d1c5a /rulemgt
parentb89572c4c6963ca3d6707e4a21e436bd2309f8ee (diff)
parent3d84a2ac489366bb877211d29c3bf531c2d8a089 (diff)
Merge "Add Rule Management Standalone"
Diffstat (limited to 'rulemgt')
-rw-r--r--rulemgt/dependency-reduced-pom.xml211
-rw-r--r--rulemgt/pom.xml78
2 files changed, 62 insertions, 227 deletions
diff --git a/rulemgt/dependency-reduced-pom.xml b/rulemgt/dependency-reduced-pom.xml
deleted file mode 100644
index b434fb1..0000000
--- a/rulemgt/dependency-reduced-pom.xml
+++ /dev/null
@@ -1,211 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>holmes-rulemgt-parent</artifactId>
- <groupId>org.openo.holmes.rule-management</groupId>
- <version>1.1.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>holmes-rulemgt</artifactId>
- <name>holmes-rulemgt-service</name>
- <build>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.properties</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.3</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <transformers>
- <transformer />
- <transformer>
- <mainClass>org.openo.holmes.rulemgt.RuleActiveApp</mainClass>
- </transformer>
- </transformers>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>io.dropwizard</groupId>
- <artifactId>dropwizard-core</artifactId>
- <version>0.8.0</version>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <artifactId>dropwizard-util</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-jackson</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-validation</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-configuration</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-logging</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-metrics</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-jersey</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-servlets</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-jetty</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>dropwizard-lifecycle</artifactId>
- <groupId>io.dropwizard</groupId>
- </exclusion>
- <exclusion>
- <artifactId>metrics-jvm</artifactId>
- <groupId>io.dropwizard.metrics</groupId>
- </exclusion>
- <exclusion>
- <artifactId>metrics-servlets</artifactId>
- <groupId>io.dropwizard.metrics</groupId>
- </exclusion>
- <exclusion>
- <artifactId>metrics-healthchecks</artifactId>
- <groupId>io.dropwizard.metrics</groupId>
- </exclusion>
- <exclusion>
- <artifactId>argparse4j</artifactId>
- <groupId>net.sourceforge.argparse4j</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jetty-setuid-java</artifactId>
- <groupId>org.eclipse.jetty.toolchain.setuid</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <version>1.3</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>hamcrest-core</artifactId>
- <groupId>org.hamcrest</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4</artifactId>
- <version>1.4.10</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>powermock-module-junit4-common</artifactId>
- <groupId>org.powermock</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-easymock</artifactId>
- <version>1.4.10</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>powermock-api-support</artifactId>
- <groupId>org.powermock</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- <version>3.0</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>cglib-nodep</artifactId>
- <groupId>cglib</groupId>
- </exclusion>
- <exclusion>
- <artifactId>objenesis</artifactId>
- <groupId>org.objenesis</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>3.15.0-GA</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
-
diff --git a/rulemgt/pom.xml b/rulemgt/pom.xml
index c4f1ecf..5a82ed2 100644
--- a/rulemgt/pom.xml
+++ b/rulemgt/pom.xml
@@ -29,6 +29,7 @@
<packaging>jar</packaging>
<dependencies>
+
<dependency>
<groupId>org.openo.holmes.actions</groupId>
<artifactId>holmes-actions</artifactId>
@@ -37,57 +38,103 @@
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet-core</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-core</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet-core</artifactId>
- <version>2.16</version>
+ <version>2.22.2</version>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
+ <groupId>org.easymock</groupId>
+ <artifactId>easymock</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard</groupId>
+ <artifactId>dropwizard-db</artifactId>
</dependency>
<dependency>
- <groupId>org.openo.common-services.common-utilities</groupId>
- <artifactId>dropwizard-ioc-container</artifactId>
+ <groupId>org.antlr</groupId>
+ <artifactId>stringtemplate</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard</groupId>
+ <artifactId>dropwizard-core</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback</artifactId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j-over-slf4j</artifactId>
+ <groupId>org.slf4j</groupId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
- <groupId>io.dropwizard</groupId>
- <artifactId>dropwizard-db</artifactId>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.quartz-scheduler</groupId>
+ <artifactId>quartz</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <version>1.3</version>
- <scope>test</scope>
+ <artifactId>hamcrest-core</artifactId>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
- <version>${powermock.version}</version>
- <scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.openo.client.cli</groupId>
+ <artifactId>swagger-sdk</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.swagger</groupId>
+ <artifactId>swagger-jersey2-jaxrs</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-easymock</artifactId>
- <version>${powermock.version}</version>
+ <version>1.6.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4-rule</artifactId>
- <version>${powermock.version}</version>
+ <version>1.6.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-classloading-xstream</artifactId>
- <version>${powermock.version}</version>
+ <version>1.6.5</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -100,7 +147,6 @@
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.15.0-GA</version>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>