1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!-- Copyright 2016-2017 ZTE, Inc. and others. Licensed under the Apache
3 License, Version 2.0 (the "License"); you may not use this file except in
4 compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5 Unless required by applicable law or agreed to in writing, software distributed
6 under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
7 OR CONDITIONS OF ANY KIND, either express or implied. See the License for
8 the specific language governing permissions and limitations under the License. -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.onap.msb.discovery</groupId>
15 <artifactId>sdclient</artifactId>
16 <version>1.1.0-SNAPSHOT</version>
19 <groupId>org.onap.msb.discovery.sdclient</groupId>
20 <artifactId>discovery-service</artifactId>
21 <name>onap/msb/discovery/sdclient/discovery-service</name>
22 <packaging>jar</packaging>
23 <version>1.1.0-SNAPSHOT</version>
28 <groupId>io.dropwizard</groupId>
29 <artifactId>dropwizard-core</artifactId>
32 <groupId>io.dropwizard</groupId>
33 <artifactId>dropwizard-assets</artifactId>
36 <groupId>io.dropwizard</groupId>
37 <artifactId>dropwizard-client</artifactId>
41 <groupId>junit</groupId>
42 <artifactId>junit</artifactId>
47 <groupId>org.powermock</groupId>
48 <artifactId>powermock-module-junit4</artifactId>
49 <version>1.6.6</version>
54 <groupId>org.powermock</groupId>
55 <artifactId>powermock-api-mockito</artifactId>
56 <version>1.6.6</version>
60 <groupId>javax.servlet</groupId>
61 <artifactId>javax.servlet-api</artifactId>
64 <groupId>io.swagger</groupId>
65 <artifactId>swagger-annotations</artifactId>
66 <version>1.5.8</version>
69 <groupId>io.swagger</groupId>
70 <artifactId>swagger-jaxrs</artifactId>
71 <version>1.5.8</version>
74 <groupId>com.google.guava</groupId>
75 <artifactId>guava</artifactId>
76 <version>${guava.version}</version>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-jar-plugin</artifactId>
85 <version>2.4</version>
89 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-shade-plugin</artifactId>
97 <version>2.3</version>
99 <createDependencyReducedPom>true</createDependencyReducedPom>
102 <artifact>*:*</artifact>
104 <exclude>META-INF/*.SF</exclude>
105 <exclude>META-INF/*.DSA</exclude>
106 <exclude>META-INF/*.RSA</exclude>
113 <phase>package</phase>
120 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
122 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
123 <mainClass>org.onap.msb.sdclient.DiscoverApp</mainClass>
133 <directory>src/main/java</directory>
135 <include>**/*.properties</include>
139 <directory>src/main/resources</directory>