cb2292a482041f50b32e315c22a4af581e4db6d0
[msb/discovery.git] / sdclient / discovery-service / dependency-reduced-pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3   <parent>
4     <artifactId>sdclient</artifactId>
5     <groupId>org.onap.msb.discovery</groupId>
6     <version>1.0.0-SNAPSHOT</version>
7   </parent>
8   <modelVersion>4.0.0</modelVersion>
9   <groupId>org.onap.msb.discovery.sdclient</groupId>
10   <artifactId>discovery-service</artifactId>
11   <name>onap/msb/discovery/sdclient/discovery-service</name>
12   <version>1.0.0-SNAPSHOT</version>
13   <build>
14     <resources>
15       <resource>
16         <directory>src/main/java</directory>
17         <includes>
18           <include>**/*.properties</include>
19         </includes>
20       </resource>
21       <resource>
22         <directory>src/main/resources</directory>
23       </resource>
24     </resources>
25     <plugins>
26       <plugin>
27         <artifactId>maven-jar-plugin</artifactId>
28         <version>2.4</version>
29         <configuration>
30           <archive>
31             <manifest>
32               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
33             </manifest>
34           </archive>
35         </configuration>
36       </plugin>
37       <plugin>
38         <artifactId>maven-shade-plugin</artifactId>
39         <version>2.3</version>
40         <executions>
41           <execution>
42             <phase>package</phase>
43             <goals>
44               <goal>shade</goal>
45             </goals>
46             <configuration>
47               <transformers>
48                 <transformer />
49                 <transformer>
50                   <mainClass>org.onap.msb.sdclient.DiscoverApp</mainClass>
51                 </transformer>
52               </transformers>
53             </configuration>
54           </execution>
55         </executions>
56         <configuration>
57           <createDependencyReducedPom>true</createDependencyReducedPom>
58           <filters>
59             <filter>
60               <artifact>*:*</artifact>
61               <excludes>
62                 <exclude>META-INF/*.SF</exclude>
63                 <exclude>META-INF/*.DSA</exclude>
64                 <exclude>META-INF/*.RSA</exclude>
65               </excludes>
66             </filter>
67           </filters>
68         </configuration>
69       </plugin>
70     </plugins>
71   </build>
72   <dependencies>
73     <dependency>
74       <groupId>junit</groupId>
75       <artifactId>junit</artifactId>
76       <version>4.11</version>
77       <scope>test</scope>
78       <exclusions>
79         <exclusion>
80           <artifactId>hamcrest-core</artifactId>
81           <groupId>org.hamcrest</groupId>
82         </exclusion>
83       </exclusions>
84     </dependency>
85     <dependency>
86       <groupId>org.powermock</groupId>
87       <artifactId>powermock-module-junit4</artifactId>
88       <version>1.5.5</version>
89       <scope>test</scope>
90       <exclusions>
91         <exclusion>
92           <artifactId>powermock-module-junit4-common</artifactId>
93           <groupId>org.powermock</groupId>
94         </exclusion>
95       </exclusions>
96     </dependency>
97     <dependency>
98       <groupId>org.powermock</groupId>
99       <artifactId>powermock-api-mockito</artifactId>
100       <version>1.5.5</version>
101       <scope>test</scope>
102       <exclusions>
103         <exclusion>
104           <artifactId>mockito-all</artifactId>
105           <groupId>org.mockito</groupId>
106         </exclusion>
107         <exclusion>
108           <artifactId>powermock-api-support</artifactId>
109           <groupId>org.powermock</groupId>
110         </exclusion>
111       </exclusions>
112     </dependency>
113   </dependencies>
114 </project>
115