Add org.reflections as a Dependency
[holmes/rule-management.git] / rulemgt / pom.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3   ~ Copyright 2017 ZTE Corporation.
4   ~
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
8   ~
9   ~     http://www.apache.org/licenses/LICENSE-2.0
10   ~
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.
16   -->
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">
19
20     <modelVersion>4.0.0</modelVersion>
21     <parent>
22         <groupId>org.onap.holmes.rule-management</groupId>
23         <artifactId>holmes-rulemgt-parent</artifactId>
24         <version>1.0.0-SNAPSHOT</version>
25     </parent>
26
27     <artifactId>holmes-rulemgt</artifactId>
28     <name>holmes-rulemgt-service</name>
29     <packaging>jar</packaging>
30
31     <dependencies>
32         <dependency>
33             <groupId>org.reflections</groupId>
34             <artifactId>reflections</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>org.onap.holmes.common</groupId>
38             <artifactId>holmes-actions</artifactId>
39             <version>1.0.0-SNAPSHOT</version>
40             <exclusions>
41                 <exclusion>
42                     <groupId>org.glassfish.jersey.containers</groupId>
43                     <artifactId>jersey-container-servlet-core</artifactId>
44                 </exclusion>
45                 <exclusion>
46                     <groupId>org.apache.activemq</groupId>
47                     <artifactId>activemq-core</artifactId>
48                 </exclusion>
49             </exclusions>
50         </dependency>
51         <dependency>
52             <groupId>org.easymock</groupId>
53             <artifactId>easymock</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>io.dropwizard</groupId>
57             <artifactId>dropwizard-db</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.antlr</groupId>
61             <artifactId>stringtemplate</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>io.dropwizard</groupId>
65             <artifactId>dropwizard-core</artifactId>
66             <exclusions>
67                 <exclusion>
68                     <groupId>ch.qos.logback</groupId>
69                     <artifactId>logback</artifactId>
70                 </exclusion>
71                 <exclusion>
72                     <artifactId>log4j-over-slf4j</artifactId>
73                     <groupId>org.slf4j</groupId>
74                 </exclusion>
75             </exclusions>
76         </dependency>
77         <dependency>
78             <groupId>org.projectlombok</groupId>
79             <artifactId>lombok</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>mysql</groupId>
83             <artifactId>mysql-connector-java</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>org.quartz-scheduler</groupId>
87             <artifactId>quartz</artifactId>
88         </dependency>
89         <dependency>
90             <groupId>junit</groupId>
91             <artifactId>junit</artifactId>
92         </dependency>
93         <dependency>
94             <groupId>org.hamcrest</groupId>
95             <artifactId>hamcrest-core</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>org.powermock</groupId>
99             <artifactId>powermock-module-junit4</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>org.slf4j</groupId>
103             <artifactId>slf4j-api</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>io.swagger</groupId>
107             <artifactId>swagger-jersey2-jaxrs</artifactId>
108             <scope>provided</scope>
109         </dependency>
110
111         <dependency>
112             <groupId>org.powermock</groupId>
113             <artifactId>powermock-api-easymock</artifactId>
114             <version>1.6.5</version>
115             <scope>test</scope>
116         </dependency>
117         <dependency>
118             <groupId>org.powermock</groupId>
119             <artifactId>powermock-module-junit4-rule</artifactId>
120             <version>1.6.5</version>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.powermock</groupId>
125             <artifactId>powermock-classloading-xstream</artifactId>
126             <version>1.6.5</version>
127             <scope>test</scope>
128         </dependency>
129         <dependency>
130             <groupId>org.hamcrest</groupId>
131             <artifactId>hamcrest-library</artifactId>
132             <version>1.3</version>
133             <scope>test</scope>
134         </dependency>
135         <dependency>
136             <groupId>org.easymock</groupId>
137             <artifactId>easymock</artifactId>
138             <version>3.0</version>
139             <scope>test</scope>
140         </dependency>
141         <dependency>
142             <groupId>org.javassist</groupId>
143             <artifactId>javassist</artifactId>
144             <version>3.15.0-GA</version>
145         </dependency>
146         <dependency>
147             <groupId>org.apache.httpcomponents</groupId>
148             <artifactId>httpclient</artifactId>
149             <version>4.3.6</version>
150         </dependency>
151         <dependency>
152             <groupId>com.googlecode.json-simple</groupId>
153             <artifactId>json-simple</artifactId>
154             <version>1.1.1</version>
155         </dependency>
156         <dependency>
157             <groupId>net.sf.json-lib</groupId>
158             <artifactId>json-lib</artifactId>
159             <version>2.4</version>
160             <classifier>jdk15</classifier>
161         </dependency>
162         <dependency>
163             <groupId>org.glassfish.jersey.core</groupId>
164             <artifactId>jersey-server</artifactId>
165             <version>${jersey.version}</version>
166         </dependency>
167         <dependency>
168             <groupId>org.glassfish.jersey.core</groupId>
169             <artifactId>jersey-client</artifactId>
170             <version>${jersey.version}</version>
171         </dependency>
172         <dependency>
173             <groupId>org.glassfish.jersey.core</groupId>
174             <artifactId>jersey-common</artifactId>
175             <version>${jersey.version}</version>
176         </dependency>
177         <dependency>
178             <groupId>org.glassfish.jersey.containers</groupId>
179             <artifactId>jersey-container-servlet-core</artifactId>
180             <version>${jersey.version}</version>
181         </dependency>
182         <dependency>
183             <groupId>com.google.guava</groupId>
184             <artifactId>guava</artifactId>
185             <version>19.0</version>
186         </dependency>
187
188     </dependencies>
189     <build>
190         <plugins>
191             <plugin>
192                 <groupId>org.apache.maven.plugins</groupId>
193                 <artifactId>maven-jar-plugin</artifactId>
194                 <configuration>
195                     <archive>
196                         <manifest>
197                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
198                         </manifest>
199                     </archive>
200                 </configuration>
201             </plugin>
202             <plugin>
203                 <groupId>org.apache.maven.plugins</groupId>
204                 <artifactId>maven-compiler-plugin</artifactId>
205                 <version>3.3</version>
206                 <configuration>
207                     <source>1.8</source>
208                     <target>1.8</target>
209                 </configuration>
210             </plugin>
211             <plugin>
212                 <groupId>org.apache.maven.plugins</groupId>
213                 <artifactId>maven-shade-plugin</artifactId>
214                 <configuration>
215                     <createDependencyReducedPom>true</createDependencyReducedPom>
216                     <filters>
217                         <filter>
218                             <artifact>*:*</artifact>
219                             <excludes>
220                                 <exclude>META-INF/*.SF</exclude>
221                                 <exclude>META-INF/*.DSA</exclude>
222                                 <exclude>META-INF/*.RSA</exclude>
223                             </excludes>
224                         </filter>
225                     </filters>
226                 </configuration>
227                 <executions>
228                     <execution>
229                         <phase>package</phase>
230                         <goals>
231                             <goal>shade</goal>
232                         </goals>
233                         <configuration>
234                             <transformers>
235                                 <transformer
236                                     implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
237                                 <transformer
238                                     implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
239                                     <mainClass>org.onap.holmes.rulemgt.RuleActiveApp</mainClass>
240                                 </transformer>
241                             </transformers>
242                         </configuration>
243                     </execution>
244                 </executions>
245             </plugin>
246
247         </plugins>
248         <resources>
249             <resource>
250                 <directory>src/main/java</directory>
251                 <includes>
252                     <include>**/*.properties</include>
253                 </includes>
254             </resource>
255             <resource>
256                 <directory>src/main/resources</directory>
257             </resource>
258         </resources>
259     </build>
260 </project>