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