6a7f7760bd1087e7c1fe401fbff8769a2daf6aed
[msb/apigateway.git] / apiroute / apiroute-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>apiroute-parent</artifactId>
5     <groupId>org.onap.msb.apigateway.apiroute</groupId>
6     <version>1.2.5</version>
7   </parent>
8   <modelVersion>4.0.0</modelVersion>
9   <groupId>org.onap.msb.apigateway.apiroute</groupId>
10   <artifactId>apiroute-service</artifactId>
11   <name>onap/msb/apigateway/apiroute/apiroute-service</name>
12   <version>1.2.5</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.apiroute.ApiRouteApp</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       <plugin>
71         <artifactId>maven-clean-plugin</artifactId>
72         <version>3.0.0</version>
73         <executions>
74           <execution>
75             <id>clean-generated-files</id>
76             <phase>generate-sources</phase>
77             <goals>
78               <goal>clean</goal>
79             </goals>
80             <configuration>
81               <filesets>
82                 <fileset>
83                   <directory>${project.build.directory}/generated-sources</directory>
84                 </fileset>
85               </filesets>
86             </configuration>
87           </execution>
88         </executions>
89       </plugin>
90     </plugins>
91   </build>
92   <dependencies>
93     <dependency>
94       <groupId>junit</groupId>
95       <artifactId>junit</artifactId>
96       <version>4.12</version>
97       <scope>test</scope>
98       <exclusions>
99         <exclusion>
100           <artifactId>hamcrest-core</artifactId>
101           <groupId>org.hamcrest</groupId>
102         </exclusion>
103       </exclusions>
104     </dependency>
105     <dependency>
106       <groupId>org.powermock</groupId>
107       <artifactId>powermock-module-junit4</artifactId>
108       <version>1.6.6</version>
109       <scope>test</scope>
110       <exclusions>
111         <exclusion>
112           <artifactId>powermock-module-junit4-common</artifactId>
113           <groupId>org.powermock</groupId>
114         </exclusion>
115       </exclusions>
116     </dependency>
117     <dependency>
118       <groupId>org.powermock</groupId>
119       <artifactId>powermock-api-mockito</artifactId>
120       <version>1.6.6</version>
121       <scope>test</scope>
122       <exclusions>
123         <exclusion>
124           <artifactId>mockito-core</artifactId>
125           <groupId>org.mockito</groupId>
126         </exclusion>
127         <exclusion>
128           <artifactId>powermock-api-mockito-common</artifactId>
129           <groupId>org.powermock</groupId>
130         </exclusion>
131         <exclusion>
132           <artifactId>hamcrest-core</artifactId>
133           <groupId>org.hamcrest</groupId>
134         </exclusion>
135       </exclusions>
136     </dependency>
137   </dependencies>
138 </project>
139