Remove the database related code in ESR.
[aai/esr-server.git] / esr-core / esr-mgr / dependency-reduced-pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3 \r
4     Copyright 2016-2017 ZTE Corporation.\r
5 \r
6     Licensed under the Apache License, Version 2.0 (the "License");\r
7     you may not use this file except in compliance with the License.\r
8     You may obtain a copy of the License at\r
9 \r
10         http://www.apache.org/licenses/LICENSE-2.0\r
11 \r
12     Unless required by applicable law or agreed to in writing, software\r
13     distributed under the License is distributed on an "AS IS" BASIS,\r
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
15     See the License for the specific language governing permissions and\r
16     limitations under the License.\r
17 \r
18 -->\r
19 \r
20 <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
21   <parent>\r
22     <artifactId>esr-core-parent</artifactId>\r
23     <groupId>org.onap.aai.esr-server</groupId>\r
24     <version>1.0.0-SNAPSHOT</version>\r
25   </parent>\r
26   <modelVersion>4.0.0</modelVersion>\r
27   <artifactId>esr-mgr</artifactId>\r
28   <name>esr-server/esr-core/esr-mgr</name>\r
29   <build>\r
30     <plugins>\r
31       <plugin>\r
32         <groupId>org.eclipse.m2e</groupId>\r
33         <artifactId>lifecycle-mapping</artifactId>\r
34         <configuration>\r
35           <lifecycleMappingMetadata>\r
36             <pluginExecutions>\r
37               <pluginExecution>\r
38                 <pluginExecutionFilter>\r
39                   <groupId>org.apache.maven.plugins</groupId>\r
40                   <artifactId>maven-dependency-plugin</artifactId>\r
41                   <versionRange>[2.0,)</versionRange>\r
42                   <goals>\r
43                     <goal>copy-dependencies</goal>\r
44                   </goals>\r
45                 </pluginExecutionFilter>\r
46                 <action>\r
47                   <ignore />\r
48                 </action>\r
49               </pluginExecution>\r
50             </pluginExecutions>\r
51           </lifecycleMappingMetadata>\r
52         </configuration>\r
53       </plugin>\r
54       <plugin>\r
55         <artifactId>maven-jar-plugin</artifactId>\r
56         <configuration>\r
57           <archive>\r
58             <manifest>\r
59               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>\r
60             </manifest>\r
61           </archive>\r
62         </configuration>\r
63       </plugin>\r
64       <plugin>\r
65         <artifactId>maven-shade-plugin</artifactId>\r
66         <executions>\r
67           <execution>\r
68             <phase>package</phase>\r
69             <goals>\r
70               <goal>shade</goal>\r
71             </goals>\r
72             <configuration>\r
73               <transformers>\r
74                 <transformer />\r
75                 <transformer>\r
76                   <mainClass>org.onap.aai.esr.extsysApp</mainClass>\r
77                 </transformer>\r
78               </transformers>\r
79             </configuration>\r
80           </execution>\r
81         </executions>\r
82         <configuration>\r
83           <createDependencyReducedPom>true</createDependencyReducedPom>\r
84           <filters>\r
85             <filter>\r
86               <artifact>*:*</artifact>\r
87               <excludes>\r
88                 <exclude>META-INF/*.SF</exclude>\r
89                 <exclude>META-INF/*.DSA</exclude>\r
90                 <exclude>META-INF/*.RSA</exclude>\r
91               </excludes>\r
92             </filter>\r
93           </filters>\r
94         </configuration>\r
95       </plugin>\r
96       <plugin>\r
97         <artifactId>maven-dependency-plugin</artifactId>\r
98         <executions>\r
99           <execution>\r
100             <id>copy-dependencies</id>\r
101             <phase>package</phase>\r
102             <goals>\r
103               <goal>copy-dependencies</goal>\r
104             </goals>\r
105             <configuration>\r
106               <artifactItems>\r
107                 <artifactItem>\r
108                   <groupId>io.dropwizard</groupId>\r
109                   <artifactId>dropwizard-core</artifactId>\r
110                   <version>${dropwizard.version}</version>\r
111                   <overWrite>true</overWrite>\r
112                 </artifactItem>\r
113               </artifactItems>\r
114             </configuration>\r
115           </execution>\r
116         </executions>\r
117       </plugin>\r
118     </plugins>\r
119   </build>\r
120   <dependencies>\r
121     <dependency>\r
122       <groupId>junit</groupId>\r
123       <artifactId>junit</artifactId>\r
124       <version>4.10</version>\r
125       <scope>test</scope>\r
126       <exclusions>\r
127         <exclusion>\r
128           <artifactId>hamcrest-core</artifactId>\r
129           <groupId>org.hamcrest</groupId>\r
130         </exclusion>\r
131       </exclusions>\r
132     </dependency>\r
133     <dependency>\r
134       <groupId>org.powermock</groupId>\r
135       <artifactId>powermock-module-junit4</artifactId>\r
136       <version>1.4.10</version>\r
137       <scope>test</scope>\r
138       <exclusions>\r
139         <exclusion>\r
140           <artifactId>powermock-module-junit4-common</artifactId>\r
141           <groupId>org.powermock</groupId>\r
142         </exclusion>\r
143       </exclusions>\r
144     </dependency>\r
145     <dependency>\r
146       <groupId>org.powermock</groupId>\r
147       <artifactId>powermock-api-mockito</artifactId>\r
148       <version>1.4.10</version>\r
149       <scope>test</scope>\r
150       <exclusions>\r
151         <exclusion>\r
152           <artifactId>mockito-all</artifactId>\r
153           <groupId>org.mockito</groupId>\r
154         </exclusion>\r
155         <exclusion>\r
156           <artifactId>powermock-api-support</artifactId>\r
157           <groupId>org.powermock</groupId>\r
158         </exclusion>\r
159       </exclusions>\r
160     </dependency>\r
161     <dependency>\r
162       <groupId>org.apache.ant</groupId>\r
163       <artifactId>ant</artifactId>\r
164       <version>1.8.2</version>\r
165       <scope>test</scope>\r
166       <exclusions>\r
167         <exclusion>\r
168           <artifactId>ant-launcher</artifactId>\r
169           <groupId>org.apache.ant</groupId>\r
170         </exclusion>\r
171       </exclusions>\r
172     </dependency>\r
173   </dependencies>\r
174 </project>\r
175 \r