Merge "JUnit tests for MsoMulticloudUtils"
[so.git] / adapters / mso-adapter-utils / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <parent>
5                 <groupId>org.onap.so</groupId>
6                 <artifactId>adapters</artifactId>
7                 <version>1.4.0-SNAPSHOT</version>
8         </parent>
9         <groupId>org.onap.so.adapters</groupId>
10         <artifactId>mso-adapter-utils</artifactId>
11         <name>mso-adapter-utils</name>
12         <description>Common MSO utilities, including Openstack client wrappers.</description>
13
14         <dependencyManagement>
15                 <dependencies>
16                         <dependency>
17                                 <!-- Import dependency management from Spring Boot -->
18                                 <groupId>org.springframework.boot</groupId>
19                                 <artifactId>spring-boot-dependencies</artifactId>
20                                 <version>${springboot.version}</version>
21                                 <type>pom</type>
22                                 <scope>import</scope>
23                         </dependency>
24                 </dependencies>
25         </dependencyManagement>
26         <build>
27                 <finalName>${project.artifactId}</finalName>
28                 <sourceDirectory>src/main/java</sourceDirectory>
29                 <plugins>
30
31                         <plugin>
32                                 <groupId>org.apache.maven.plugins</groupId>
33                                 <artifactId>maven-resources-plugin</artifactId>
34                                 <version>2.6</version>
35                                 <executions>
36                                         <execution>
37                                                 <id>copy-resources</id>
38                                                 <phase>validate</phase>
39                                                 <goals>
40                                                         <goal>copy-resources</goal>
41                                                 </goals>
42                                                 <configuration>
43                                                         <resources>
44                                                                 <resource>
45                                                                         <directory>./src/main/resources/META-INF</directory>
46                                                                         <filtering>false</filtering>
47                                                                 </resource>
48                                                         </resources>
49                                                         <outputDirectory>${project.build.directory}/${project.build.finalName}/META-INF/</outputDirectory>
50                                                 </configuration>
51                                         </execution>
52                                 </executions>
53                         </plugin>
54                         <plugin>
55                                 <groupId>org.jacoco</groupId>
56                                 <artifactId>jacoco-maven-plugin</artifactId>
57                           </plugin>
58                           <plugin>
59                                 <groupId>org.apache.maven.plugins</groupId>
60                                 <artifactId>maven-surefire-plugin</artifactId>
61                                 <executions>
62                                         <execution>
63                                                 <id>default-test</id>
64                                                 <goals>
65                                                         <goal>test</goal>
66                                                 </goals>
67                                                 <configuration>
68                                                         <includes>
69                                                                 <include>**/AllTestsTestSuite.java</include>
70                                                         </includes>
71                                                         <parallel>suites</parallel>
72                                                 </configuration>
73                                         </execution>
74                                 </executions>
75                         </plugin>
76                 </plugins>
77         </build>
78
79         <dependencies>
80                 <dependency>
81                         <groupId>org.glassfish.jersey.core</groupId>
82                         <artifactId>jersey-client</artifactId>
83                 </dependency>
84                 <dependency>
85                         <groupId>ch.vorburger.mariaDB4j</groupId>
86                         <artifactId>mariaDB4j</artifactId>
87                         <version>2.2.3</version>
88                         <scope>test</scope>
89                 </dependency>
90                 <dependency>
91                         <groupId>org.onap.so.adapters</groupId>
92                         <artifactId>mso-adapters-rest-interface</artifactId>
93                         <version>${project.version}</version>
94                 </dependency>
95                 <dependency>
96                         <groupId>org.springframework.boot</groupId>
97                         <artifactId>spring-boot-starter-data-jpa</artifactId>
98                         <optional>true</optional>
99                 </dependency>
100                 <dependency>
101                         <groupId>org.onap.so</groupId>
102                         <artifactId>mso-catalog-db</artifactId> 
103                         <version>${project.version}</version>
104                 </dependency>
105                 <dependency>
106                         <groupId>org.onap.so</groupId>
107                         <artifactId>cloudify-client</artifactId>
108                         <version>${project.version}</version>
109                 </dependency>
110                 <dependency>
111                         <groupId>javax.servlet</groupId>
112                         <artifactId>javax.servlet-api</artifactId>
113                         <scope>provided</scope>
114                 </dependency>
115                 <dependency>
116                         <groupId>org.jmockit</groupId>
117                         <artifactId>jmockit</artifactId>
118                         <version>1.8</version>
119                         <scope>test</scope>
120                 </dependency>
121                 <dependency>
122                         <groupId>org.yaml</groupId>
123                         <artifactId>snakeyaml</artifactId>
124                 </dependency>
125                 <dependency>
126                         <groupId>org.springframework.boot</groupId>
127                         <artifactId>spring-boot-starter-test</artifactId>
128                         <scope>test</scope>
129                 </dependency>
130                 <dependency>
131                         <groupId>com.h2database</groupId>
132                         <artifactId>h2</artifactId>
133                         <scope>test</scope>
134                 </dependency>
135                 <dependency>
136                         <groupId>org.apache.cxf</groupId>
137                         <artifactId>cxf-rt-rs-client</artifactId>
138                         <version>${cxf.version}</version>
139                 </dependency>
140                 <dependency>
141                 <groupId>org.apache.cxf</groupId>
142                 <artifactId>cxf-rt-bindings-soap</artifactId>
143                         <version>${cxf.version}</version>
144                 </dependency>
145                 <dependency>
146                 <groupId>org.apache.cxf</groupId>
147                 <artifactId>cxf-rt-transports-http</artifactId>
148                 <version>${cxf.version}</version>
149                 </dependency>
150         </dependencies>
151 </project>