Modify package structure and pom file
[vfc/nfvo/driver/ems.git] / ems / boco / pom.xml
1 <!--
2     Copyright (c) 2017, CMCC Technologies Co., Ltd.
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8     http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15  -->
16 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18
19   <parent>
20         <groupId>org.onap.vfc.nfvo.drivers.ems</groupId>
21         <artifactId>ems-driver-parent</artifactId>
22         <version>1.0.0-SNAPSHOT</version>
23   </parent>
24    
25   <modelVersion>4.0.0</modelVersion>
26   <artifactId>boco-driver</artifactId>
27   <packaging>jar</packaging>
28   <name>org/onap/vfc/nfvo/drivers/ems/boco-driver</name>
29   
30
31   <properties>
32     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33   </properties>
34   
35    <build>
36     <!--pluginManagement--> 
37         <plugins>
38            <plugin>
39                 <groupId>org.apache.maven.plugins</groupId>
40                 <artifactId>maven-jar-plugin</artifactId>
41                 <configuration>
42                     <archive>
43                         <manifest>
44                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
45                         </manifest>
46                     </archive>
47                 </configuration>
48             </plugin>
49             <plugin>
50                 <groupId>org.apache.maven.plugins</groupId>
51                 <artifactId>maven-shade-plugin</artifactId>
52                 <configuration>
53                     <createDependencyReducedPom>false</createDependencyReducedPom>
54                     <filters>
55                         <filter>
56                             <artifact>*:*</artifact>
57                             <excludes>
58                                 <exclude>META-INF/*.SF</exclude>
59                                 <exclude>META-INF/*.DSA</exclude>
60                                 <exclude>META-INF/*.RSA</exclude>
61                             </excludes>
62                         </filter>
63                     </filters>
64                 </configuration>
65                 <executions>
66                     <execution>
67                         <phase>package</phase>
68                         <goals>
69                             <goal>shade</goal>
70                         </goals>
71                         <configuration>
72                             <transformers>
73                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
74                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
75                                     <mainClass>org.onap.vfc.nfvo.emsdriver.EMSDriver</mainClass>
76                                 </transformer>
77                             </transformers>
78                         </configuration>
79                     </execution>
80                 </executions>
81             </plugin>
82             <plugin>
83                 <groupId>org.apache.maven.plugins</groupId>
84                 <artifactId>maven-dependency-plugin</artifactId>
85                 <executions>
86                     <execution>
87                         <id>copy-dependencies</id>
88                         <phase>package</phase>
89                         <goals>
90                             <goal>copy-dependencies</goal>
91                         </goals>
92                         <configuration>
93                             <artifactItems>
94                                 <artifactItem>
95                                     <groupId>io.dropwizard</groupId>
96                                     <artifactId>dropwizard-core</artifactId>
97                                     <overWrite>true</overWrite>
98                                 </artifactItem>
99                             </artifactItems>
100                         </configuration>
101                     </execution>
102                 </executions>
103             </plugin>
104         </plugins>
105        <!--  /pluginManagement--> 
106         
107     </build>
108
109   <dependencies>
110         <dependency>
111                 <groupId>commons-lang</groupId>
112                 <artifactId>commons-lang</artifactId>
113                 <version>2.6</version>
114         </dependency>
115         <dependency>
116                  <groupId>log4j</groupId>
117                  <artifactId>log4j</artifactId>
118                  <version>1.2.17</version>
119         </dependency>
120         <dependency>
121                  <groupId>com.alibaba</groupId>
122                  <artifactId>fastjson</artifactId>
123                  <version>1.2.24</version>
124         </dependency>
125         <dependency>
126                  <groupId>commons-io</groupId>
127                  <artifactId>commons-io</artifactId>
128                  <version>2.5</version>
129         </dependency>
130         <dependency>
131                 <groupId>org.apache.ant</groupId>
132                 <artifactId>ant</artifactId>
133                 <version>1.10.1</version>
134         </dependency>
135         <dependency>
136                 <groupId>jdom</groupId>
137                 <artifactId>jdom</artifactId>
138                 <version>1.1</version>
139         </dependency>
140         <dependency>
141                 <groupId>commons-net</groupId>
142                 <artifactId>commons-net</artifactId>
143                 <version>3.6</version>
144         </dependency>
145                 
146         <dependency>
147                 <groupId>org.springframework</groupId>
148                 <artifactId>spring-context</artifactId>
149                 <version>4.3.6.RELEASE</version>
150         </dependency>
151     <dependency>
152                 <groupId>org.quartz-scheduler</groupId>
153                 <artifactId>quartz</artifactId>
154                 <version>1.7.3</version>
155         </dependency>
156         <dependency>
157            <groupId>io.dropwizard</groupId>
158            <artifactId>dropwizard-core</artifactId>
159            <version>1.0.6</version>
160         </dependency>
161         <dependency>
162           <groupId>org.apache.httpcomponents</groupId>
163       <artifactId>httpclient</artifactId>
164           <version>4.5.2</version>
165         </dependency>
166     <dependency>
167       <groupId>junit</groupId>
168       <artifactId>junit</artifactId>
169       <version>3.8.1</version>
170       <scope>test</scope>
171     </dependency>
172   </dependencies>
173 </project>