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