1 <?xml version="1.0" encoding="UTF-8"?>
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/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <packaging>jar</packaging>
5 <artifactId>SdncReportsApi</artifactId>
6 <groupId>org.onap.sdnc.oam</groupId>
7 <version>1.4.3-SNAPSHOT</version>
8 <name>sdnc-oam :: SdncReports :: SdncReportsApi</name>
10 <groupId>org.onap.sdnc.oam</groupId>
11 <artifactId>SdncReports</artifactId>
12 <version>1.4.3-SNAPSHOT</version>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
19 <java.version>1.8</java.version>
24 <!-- <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId>
25 <scope>test</scope> <version>1.4.194</version> </dependency> -->
28 <groupId>ch.vorburger.mariaDB4j</groupId>
29 <artifactId>mariaDB4j</artifactId>
30 <version>2.2.3</version>
33 <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
35 <groupId>com.google.code.gson</groupId>
36 <artifactId>gson</artifactId>
37 <version>2.8.2</version>
40 <!-- <dependency> <groupId>com.sdnc.reports</groupId> <artifactId>sdnc_reports_certification</artifactId>
41 <version>0.0.1-SNAPSHOT</version> <scope>test</scope> <classifier>exec</classifier>
45 <groupId>${project.groupId}</groupId>
46 <artifactId>SdncReportsDao</artifactId>
47 <version>${project.version}</version>
51 <groupId>org.mariadb.jdbc</groupId>
52 <artifactId>mariadb-java-client</artifactId>
53 <version>1.1.9</version>
57 <groupId>org.springframework.boot</groupId>
58 <artifactId>spring-boot-starter-web</artifactId>
59 <version>1.5.4.RELEASE</version>
63 <groupId>org.springframework</groupId>
64 <artifactId>spring-context</artifactId>
65 <version>4.3.9.RELEASE</version>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-tomcat</artifactId>
71 <scope>provided</scope>
75 <groupId>org.apache.tomcat.embed</groupId>
76 <artifactId>tomcat-embed-jasper</artifactId>
77 <scope>provided</scope>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-devtools</artifactId>
84 <optional>true</optional>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-test</artifactId>
91 <version>1.5.3.RELEASE</version>
95 <groupId>org.springframework.boot</groupId>
96 <artifactId>spring-boot-starter-data-jpa</artifactId>
99 <!-- Add Log4j2 Dependency -->
101 <groupId>org.springframework.boot</groupId>
102 <artifactId>spring-boot-starter-log4j2</artifactId>
113 <groupId>org.springframework.boot</groupId>
114 <artifactId>spring-boot-maven-plugin</artifactId>
116 <executable>true</executable>
118 <!-- <configuration> <mainClass>${start-class}</mainClass> <layout>ZIP</layout>
119 </configuration> <executions> <execution> <goals> <goal>repackage</goal>
120 </goals> </execution> </executions> -->
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-surefire-plugin</artifactId>
127 <skipTests>true</skipTests>
132 <groupId>org.jacoco</groupId>
133 <artifactId>jacoco-maven-plugin</artifactId>
134 <version>0.7.5.201505241946</version>
136 <!-- Prepares the property pointing to the JaCoCo runtime agent which
137 is passed as VM argument when Maven the Surefire plugin is executed. -->
139 <id>pre-unit-test</id>
141 <goal>prepare-agent</goal>
144 <!-- Sets the path to the file which contains the execution data. -->
145 <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
146 <!-- Sets the name of the property containing the settings for JaCoCo
148 <propertyName>surefireArgLine</propertyName>
151 <!-- Ensures that the code coverage report for unit tests is created
152 after unit tests have been run. -->
154 <id>post-unit-test</id>
160 <!-- Sets the path to the file which contains the execution data. -->
161 <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
162 <!-- Sets the output directory for the code coverage report. -->
163 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
170 <groupId>io.fabric8</groupId>
171 <artifactId>docker-maven-plugin</artifactId>
172 <version>0.15.3</version>
174 <dockerHost>http://127.0.0.1:9092</dockerHost>
175 <verbose>true</verbose>
178 <name>vishal/sdnc_report</name>
180 <dockerFile>Dockerfile</dockerFile>
182 <descriptorRef>artifact</descriptorRef>