1 <?xml version="1.0" encoding="UTF-8" ?>
3 ~ Copyright 2017 ZTE Corporation.
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
9 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
17 <project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
23 <groupId>org.openo.holmes.engine-management</groupId>
24 <artifactId>holmes-engine-parent</artifactId>
25 <version>1.1.0-SNAPSHOT</version>
28 <artifactId>holmes-engine</artifactId>
29 <name>holmes-enginemgt-service</name>
30 <packaging>jar</packaging>
33 <drools.version>5.4.0.Final</drools.version>
38 <groupId>org.openo.holmes.actions</groupId>
39 <artifactId>holmes-actions</artifactId>
42 <groupId>org.easymock</groupId>
43 <artifactId>easymock</artifactId>
44 <version>3.0</version>
47 <groupId>org.drools</groupId>
48 <artifactId>drools-core</artifactId>
49 <version>${drools.version}</version>
52 <groupId>org.drools</groupId>
53 <artifactId>drools-compiler</artifactId>
54 <version>${drools.version}</version>
57 <groupId>org.drools</groupId>
58 <artifactId>drools-templates</artifactId>
59 <version>${drools.version}</version>
63 <groupId>io.dropwizard</groupId>
64 <artifactId>dropwizard-db</artifactId>
67 <groupId>org.antlr</groupId>
68 <artifactId>stringtemplate</artifactId>
71 <groupId>io.dropwizard</groupId>
72 <artifactId>dropwizard-core</artifactId>
75 <groupId>org.projectlombok</groupId>
76 <artifactId>lombok</artifactId>
79 <groupId>mysql</groupId>
80 <artifactId>mysql-connector-java</artifactId>
83 <groupId>org.quartz-scheduler</groupId>
84 <artifactId>quartz</artifactId>
87 <groupId>junit</groupId>
88 <artifactId>junit</artifactId>
91 <groupId>org.hamcrest</groupId>
92 <artifactId>hamcrest-core</artifactId>
95 <groupId>org.powermock</groupId>
96 <artifactId>powermock-module-junit4</artifactId>
99 <groupId>org.slf4j</groupId>
100 <artifactId>slf4j-api</artifactId>
103 <groupId>io.swagger</groupId>
104 <artifactId>swagger-jersey2-jaxrs</artifactId>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-jar-plugin</artifactId>
116 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-shade-plugin</artifactId>
125 <createDependencyReducedPom>true</createDependencyReducedPom>
128 <artifact>*:*</artifact>
130 <exclude>META-INF/*.SF</exclude>
131 <exclude>META-INF/*.DSA</exclude>
132 <exclude>META-INF/*.RSA</exclude>
139 <phase>package</phase>
146 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
148 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
149 <mainClass>org.openo.holmes.enginemgt.EngineActiveApp
161 <directory>src/main/java</directory>
163 <include>**/*.properties</include>
167 <directory>src/main/resources</directory>