Merge "Change the Version of Lombok to 1.16.8"
[holmes/engine-management.git] / engine-d / 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"
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">
20
21     <modelVersion>4.0.0</modelVersion>
22     <parent>
23         <groupId>org.onap.holmes.engine-management</groupId>
24         <artifactId>holmes-engine-parent</artifactId>
25         <version>1.0.0-SNAPSHOT</version>
26     </parent>
27
28     <artifactId>holmes-engine-d</artifactId>
29     <name>holmes-engine-d-service</name>
30     <packaging>jar</packaging>
31
32     <properties>
33         <drools.version>5.4.0.Final</drools.version>
34     </properties>
35
36     <dependencies>
37         <dependency>
38             <groupId>org.onap.msb.java-sdk</groupId>
39             <artifactId>msb-java-sdk</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.reflections</groupId>
43             <artifactId>reflections</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.onap.holmes.dsa</groupId>
47             <artifactId>dmaap-dsa</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>org.onap.holmes.common</groupId>
51             <artifactId>holmes-actions</artifactId>
52             <exclusions>
53                 <exclusion>
54                     <groupId>org.glassfish.jersey.containers</groupId>
55                     <artifactId>jersey-container-servlet-core</artifactId>
56                 </exclusion>
57             </exclusions>
58         </dependency>
59         <dependency>
60             <groupId>org.glassfish.jersey.containers</groupId>
61             <artifactId>jersey-container-servlet-core</artifactId>
62             <version>2.22.2</version>
63         </dependency>
64         <dependency>
65             <groupId>org.easymock</groupId>
66             <artifactId>easymock</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>org.drools</groupId>
70             <artifactId>drools-core</artifactId>
71             <version>${drools.version}</version>
72         </dependency>
73         <dependency>
74             <groupId>org.drools</groupId>
75             <artifactId>drools-compiler</artifactId>
76             <version>${drools.version}</version>
77         </dependency>
78         <dependency>
79             <groupId>org.drools</groupId>
80             <artifactId>drools-templates</artifactId>
81             <version>${drools.version}</version>
82         </dependency>
83
84         <dependency>
85             <groupId>io.dropwizard</groupId>
86             <artifactId>dropwizard-db</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.antlr</groupId>
90             <artifactId>stringtemplate</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>io.dropwizard</groupId>
94             <artifactId>dropwizard-core</artifactId>
95             <exclusions>
96                 <exclusion>
97                     <groupId>ch.qos.logback</groupId>
98                     <artifactId>logback</artifactId>
99                 </exclusion>
100                 <exclusion>
101                     <artifactId>log4j-over-slf4j</artifactId>
102                     <groupId>org.slf4j</groupId>
103                 </exclusion>
104             </exclusions>
105         </dependency>
106         <dependency>
107             <groupId>org.projectlombok</groupId>
108             <artifactId>lombok</artifactId>
109         </dependency>
110         <dependency>
111             <groupId>org.postgresql</groupId>
112             <artifactId>postgresql</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>org.quartz-scheduler</groupId>
116             <artifactId>quartz</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>junit</groupId>
120             <artifactId>junit</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>org.hamcrest</groupId>
124             <artifactId>hamcrest-core</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>org.powermock</groupId>
128             <artifactId>powermock-module-junit4</artifactId>
129         </dependency>
130         <dependency>
131             <groupId>org.slf4j</groupId>
132             <artifactId>slf4j-api</artifactId>
133         </dependency>
134         <dependency>
135             <groupId>io.swagger</groupId>
136             <artifactId>swagger-jersey2-jaxrs</artifactId>
137             <scope>provided</scope>
138         </dependency>
139
140         <dependency>
141             <groupId>org.powermock</groupId>
142             <artifactId>powermock-api-easymock</artifactId>
143             <version>1.6.5</version>
144             <scope>test</scope>
145         </dependency>
146         <dependency>
147             <groupId>org.powermock</groupId>
148             <artifactId>powermock-module-junit4-rule</artifactId>
149             <version>1.6.5</version>
150             <scope>test</scope>
151         </dependency>
152         <dependency>
153             <groupId>org.powermock</groupId>
154             <artifactId>powermock-classloading-xstream</artifactId>
155             <version>1.6.5</version>
156             <scope>test</scope>
157         </dependency>
158
159         <dependency>
160             <groupId>org.apache.httpcomponents</groupId>
161             <artifactId>httpclient</artifactId>
162         </dependency>
163         <dependency>
164             <groupId>com.google.guava</groupId>
165             <artifactId>guava</artifactId>
166         </dependency>
167     </dependencies>
168
169     <build>
170         <plugins>
171             <plugin>
172                 <groupId>org.apache.maven.plugins</groupId>
173                 <artifactId>maven-jar-plugin</artifactId>
174                 <configuration>
175                     <archive>
176                         <manifest>
177                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
178                         </manifest>
179                     </archive>
180                 </configuration>
181             </plugin>
182             <plugin>
183                 <groupId>org.apache.maven.plugins</groupId>
184                 <artifactId>maven-shade-plugin</artifactId>
185                 <configuration>
186                     <createDependencyReducedPom>true</createDependencyReducedPom>
187                     <filters>
188                         <filter>
189                             <artifact>*:*</artifact>
190                             <excludes>
191                                 <exclude>META-INF/*.SF</exclude>
192                                 <exclude>META-INF/*.DSA</exclude>
193                                 <exclude>META-INF/*.RSA</exclude>
194                             </excludes>
195                         </filter>
196                     </filters>
197                 </configuration>
198                 <executions>
199                     <execution>
200                         <phase>package</phase>
201                         <goals>
202                             <goal>shade</goal>
203                         </goals>
204                         <configuration>
205                             <transformers>
206                                 <transformer
207                                     implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
208                                 <transformer
209                                     implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
210                                     <mainClass>org.onap.holmes.engine.EngineDActiveApp
211                                     </mainClass>
212                                 </transformer>
213                             </transformers>
214                         </configuration>
215                     </execution>
216                 </executions>
217             </plugin>
218
219         </plugins>
220         <resources>
221             <resource>
222                 <directory>src/main/java</directory>
223                 <includes>
224                     <include>**/*.properties</include>
225                 </includes>
226             </resource>
227             <resource>
228                 <directory>src/main/resources</directory>
229             </resource>
230         </resources>
231     </build>
232 </project>