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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
22 <groupId>org.openo.holmes.rule-management</groupId>
23 <artifactId>holmes-rulemgt-parent</artifactId>
24 <version>1.1.0-SNAPSHOT</version>
27 <artifactId>holmes-rulemgt</artifactId>
28 <name>holmes-rulemgt-service</name>
29 <packaging>jar</packaging>
33 <groupId>org.openo.holmes.actions</groupId>
34 <artifactId>holmes-actions</artifactId>
37 <groupId>org.glassfish.jersey.core</groupId>
38 <artifactId>jersey-common</artifactId>
43 <groupId>org.glassfish.jersey.core</groupId>
44 <artifactId>jersey-common</artifactId>
45 <version>2.16</version>
48 <groupId>junit</groupId>
49 <artifactId>junit</artifactId>
52 <groupId>org.openo.common-services.common-utilities</groupId>
53 <artifactId>dropwizard-ioc-container</artifactId>
56 <groupId>io.dropwizard</groupId>
57 <artifactId>dropwizard-core</artifactId>
60 <groupId>org.projectlombok</groupId>
61 <artifactId>lombok</artifactId>
64 <groupId>io.dropwizard</groupId>
65 <artifactId>dropwizard-db</artifactId>
68 <groupId>org.hamcrest</groupId>
69 <artifactId>hamcrest-library</artifactId>
70 <version>1.3</version>
74 <groupId>org.powermock</groupId>
75 <artifactId>powermock-module-junit4</artifactId>
76 <version>${powermock.version}</version>
80 <groupId>org.powermock</groupId>
81 <artifactId>powermock-api-easymock</artifactId>
82 <version>${powermock.version}</version>
86 <groupId>org.powermock</groupId>
87 <artifactId>powermock-module-junit4-rule</artifactId>
88 <version>${powermock.version}</version>
92 <groupId>org.powermock</groupId>
93 <artifactId>powermock-classloading-xstream</artifactId>
94 <version>${powermock.version}</version>
98 <groupId>org.easymock</groupId>
99 <artifactId>easymock</artifactId>
100 <version>3.0</version>
104 <groupId>org.javassist</groupId>
105 <artifactId>javassist</artifactId>
106 <version>3.15.0-GA</version>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-jar-plugin</artifactId>
118 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-compiler-plugin</artifactId>
126 <version>3.3</version>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-shade-plugin</artifactId>
136 <createDependencyReducedPom>true</createDependencyReducedPom>
139 <artifact>*:*</artifact>
141 <exclude>META-INF/*.SF</exclude>
142 <exclude>META-INF/*.DSA</exclude>
143 <exclude>META-INF/*.RSA</exclude>
150 <phase>package</phase>
157 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
159 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
160 <mainClass>org.openo.holmes.rulemgt.RuleActiveApp</mainClass>
171 <directory>src/main/java</directory>
173 <include>**/*.properties</include>
177 <directory>src/main/resources</directory>