1. Adjust the directory hierarchy
[msb/apigateway.git] / msb-core / apiroute / apiroute-service / dependency-reduced-pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
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">\r
3   <parent>\r
4     <artifactId>apiroute-parent</artifactId>\r
5     <groupId>org.openo.msb.msb-core.apiroute</groupId>\r
6     <version>1.0.0-SNAPSHOT</version>\r
7   </parent>\r
8   <modelVersion>4.0.0</modelVersion>\r
9   <groupId>org.openo.msb.msb-core.apiroute</groupId>\r
10   <artifactId>apiroute-service</artifactId>\r
11   <name>openo/msb/msb-core/apiroute/apiroute-service</name>\r
12   <version>1.0.0-SNAPSHOT</version>\r
13   <build>\r
14     <resources>\r
15       <resource>\r
16         <directory>src/main/java</directory>\r
17         <includes>\r
18           <include>**/*.properties</include>\r
19         </includes>\r
20       </resource>\r
21       <resource>\r
22         <directory>src/main/resources</directory>\r
23       </resource>\r
24     </resources>\r
25     <plugins>\r
26       <plugin>\r
27         <artifactId>maven-jar-plugin</artifactId>\r
28         <version>2.4</version>\r
29         <configuration>\r
30           <archive>\r
31             <manifest>\r
32               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>\r
33             </manifest>\r
34           </archive>\r
35         </configuration>\r
36       </plugin>\r
37       <plugin>\r
38         <artifactId>maven-shade-plugin</artifactId>\r
39         <version>2.3</version>\r
40         <executions>\r
41           <execution>\r
42             <phase>package</phase>\r
43             <goals>\r
44               <goal>shade</goal>\r
45             </goals>\r
46             <configuration>\r
47               <transformers>\r
48                 <transformer />\r
49                 <transformer>\r
50                   <mainClass>org.openo.msb.ApiRouteApp</mainClass>\r
51                 </transformer>\r
52               </transformers>\r
53             </configuration>\r
54           </execution>\r
55         </executions>\r
56         <configuration>\r
57           <createDependencyReducedPom>true</createDependencyReducedPom>\r
58           <filters>\r
59             <filter>\r
60               <artifact>*:*</artifact>\r
61               <excludes>\r
62                 <exclude>META-INF/*.SF</exclude>\r
63                 <exclude>META-INF/*.DSA</exclude>\r
64                 <exclude>META-INF/*.RSA</exclude>\r
65               </excludes>\r
66             </filter>\r
67           </filters>\r
68         </configuration>\r
69       </plugin>\r
70       <plugin>\r
71         <artifactId>maven-surefire-plugin</artifactId>\r
72         <configuration>\r
73           <skip>true</skip>\r
74         </configuration>\r
75       </plugin>\r
76     </plugins>\r
77   </build>\r
78   <dependencies>\r
79     <dependency>\r
80       <groupId>junit</groupId>\r
81       <artifactId>junit</artifactId>\r
82       <version>4.11</version>\r
83       <scope>test</scope>\r
84       <exclusions>\r
85         <exclusion>\r
86           <artifactId>hamcrest-core</artifactId>\r
87           <groupId>org.hamcrest</groupId>\r
88         </exclusion>\r
89       </exclusions>\r
90     </dependency>\r
91   </dependencies>\r
92 </project>\r
93 \r