SDN-C support&provide network layer tests Using IP
[sdnc/oam.git] / SdncReports / SdncReportsApi / pom.xml
1 <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/xsd/maven-4.0.0.xsd">
2   <modelVersion>4.0.0</modelVersion>
3    <packaging>jar</packaging>
4  <artifactId>SdncReportsApi</artifactId>
5   <parent>
6     <groupId>org.onap.ccsdk.parent</groupId>
7     <artifactId>SdncReports</artifactId>
8     <version>0.0.1-SNAPSHOT</version>
9   </parent>
10   
11   
12    <properties>
13                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15                 <java.version>1.8</java.version>
16         </properties>
17         
18   <dependencies>
19         
20   <!-- <dependency>
21     <groupId>com.h2database</groupId>
22     <artifactId>h2</artifactId>
23     <scope>test</scope>
24     <version>1.4.194</version>
25  </dependency> -->
26
27         <dependency>
28     <groupId>ch.vorburger.mariaDB4j</groupId>
29     <artifactId>mariaDB4j</artifactId>
30     <version>2.2.3</version>
31 </dependency>
32
33 <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
34                 <dependency>
35                         <groupId>com.google.code.gson</groupId>
36                         <artifactId>gson</artifactId>
37                         <version>2.8.2</version>
38                 </dependency>
39                 
40         <!-- <dependency>
41                 <groupId>com.sdnc.reports</groupId>
42                 <artifactId>sdnc_reports_certification</artifactId>
43                 <version>0.0.1-SNAPSHOT</version>
44                   <scope>test</scope>
45                     <classifier>exec</classifier>
46         </dependency> -->
47         
48         <dependency>
49                 <groupId>org.onap.ccsdk.parent</groupId>
50                 <artifactId>SdncReportsDao</artifactId>
51                 <version>0.0.1-SNAPSHOT</version>
52         </dependency>
53         
54         <dependency>
55                         <groupId>org.mariadb.jdbc</groupId>
56                         <artifactId>mariadb-java-client</artifactId>
57                         <version>1.1.9</version>
58                 </dependency>
59                 
60         <dependency>
61                 <groupId>org.springframework.boot</groupId>
62                 <artifactId>spring-boot-starter-web</artifactId>
63                 <version>1.5.4.RELEASE</version>
64         </dependency>
65
66         <dependency>
67                 <groupId>org.springframework</groupId>
68                 <artifactId>spring-context</artifactId>
69                 <version>4.3.9.RELEASE</version>
70         </dependency>
71         
72         <dependency>
73                         <groupId>org.springframework.boot</groupId>
74                         <artifactId>spring-boot-starter-tomcat</artifactId>
75                         <scope>provided</scope>
76         </dependency>
77
78         <dependency>
79                         <groupId>org.apache.tomcat.embed</groupId>
80                         <artifactId>tomcat-embed-jasper</artifactId>
81                         <scope>provided</scope>
82         </dependency>
83         
84         
85         <dependency>
86                     <groupId>org.springframework.boot</groupId>
87                     <artifactId>spring-boot-devtools</artifactId>
88                     <optional>true</optional>
89     </dependency> 
90
91         <dependency>
92             <groupId>org.springframework.boot</groupId>
93             <artifactId>spring-boot-starter-test</artifactId>
94             <scope>test</scope>
95             <version>1.5.3.RELEASE</version>
96         </dependency>
97         
98         <dependency>
99                         <groupId>org.springframework.boot</groupId>
100                         <artifactId>spring-boot-starter-data-jpa</artifactId>           
101         </dependency>   
102         
103                 <!-- Add Log4j2 Dependency -->
104         <dependency>
105                 <groupId>org.springframework.boot</groupId>
106                 <artifactId>spring-boot-starter-log4j2</artifactId>
107         </dependency>   
108
109
110   </dependencies>
111   
112   <build>
113
114   <plugins>
115
116     <plugin>
117       <groupId>org.springframework.boot</groupId>
118       <artifactId>spring-boot-maven-plugin</artifactId>
119       <configuration>
120         <executable>true</executable>
121     </configuration>
122      <!--  <configuration>
123         <mainClass>${start-class}</mainClass>
124         <layout>ZIP</layout>
125       </configuration>
126       <executions>
127         <execution>
128           <goals>
129             <goal>repackage</goal>
130           </goals>
131         </execution>
132       </executions> -->
133     </plugin>
134
135 <plugin>
136   <groupId>org.apache.maven.plugins</groupId>
137   <artifactId>maven-surefire-plugin</artifactId>
138   <configuration>
139     <skipTests>true</skipTests>
140   </configuration>
141 </plugin>
142
143 <plugin>
144     <groupId>org.jacoco</groupId>
145     <artifactId>jacoco-maven-plugin</artifactId>
146     <version>0.7.5.201505241946</version>
147     <executions>
148         <!--
149             Prepares the property pointing to the JaCoCo runtime agent which
150             is passed as VM argument when Maven the Surefire plugin is executed.
151         -->
152         <execution>
153             <id>pre-unit-test</id>
154             <goals>
155                 <goal>prepare-agent</goal>
156             </goals>
157             <configuration>
158                 <!-- Sets the path to the file which contains the execution data. -->
159                 <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
160                 <!--
161                     Sets the name of the property containing the settings
162                     for JaCoCo runtime agent.
163                 -->
164                 <propertyName>surefireArgLine</propertyName>
165             </configuration>
166         </execution>
167         <!--
168             Ensures that the code coverage report for unit tests is created after
169             unit tests have been run.
170         -->
171         <execution>
172             <id>post-unit-test</id>
173             <phase>test</phase>
174             <goals>
175                 <goal>report</goal>
176             </goals>
177             <configuration>
178                 <!-- Sets the path to the file which contains the execution data. -->
179                 <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
180                 <!-- Sets the output directory for the code coverage report. -->
181                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
182             </configuration>
183         </execution>
184     </executions>
185 </plugin>
186
187          <plugin>
188                         <groupId>io.fabric8</groupId>
189                         <artifactId>docker-maven-plugin</artifactId>
190                         <version>0.15.3</version>
191                         <configuration>
192                             <dockerHost>http://127.0.0.1:9092</dockerHost>
193                             <verbose>true</verbose>
194                             <images>
195                                 <image>
196                                     <name>vishal/sdnc_report</name>
197                                     <build>
198                                         <dockerFile>Dockerfile</dockerFile>
199                                         <assembly>
200                                             <descriptorRef>artifact</descriptorRef>
201                                         </assembly>
202                                     </build>
203                                 </image>
204                             </images>
205                         </configuration>
206                     </plugin>
207   </plugins>
208
209 </build>
210 </project>