blob: b0e7c043bd73cbb1fb8398067fc1c2d725730ade [file] [log] [blame]
Timoney, Dan (dt5972)fe8d3bc2019-01-18 16:51:25 -05001<?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">
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -04003 <modelVersion>4.0.0</modelVersion>
4 <packaging>jar</packaging>
5 <artifactId>SdncReportsApi</artifactId>
6 <groupId>org.onap.sdnc.oam</groupId>
Dan Timoney03c6d762020-03-18 09:30:59 -04007 <version>2.0.0-SNAPSHOT</version>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -04008 <name>sdnc-oam :: SdncReports :: SdncReportsApi</name>
9 <parent>
10 <groupId>org.onap.sdnc.oam</groupId>
11 <artifactId>SdncReports</artifactId>
Dan Timoney03c6d762020-03-18 09:30:59 -040012 <version>2.0.0-SNAPSHOT</version>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040013 </parent>
14
15
16 <properties>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053017 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
19 <java.version>1.8</java.version>
20 </properties>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053021
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040022 <dependencies>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +053023
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040024 <dependency>
25 <groupId>ch.vorburger.mariaDB4j</groupId>
26 <artifactId>mariaDB4j</artifactId>
27 <version>2.2.3</version>
28 </dependency>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +053029
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040030 <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053031 <dependency>
32 <groupId>com.google.code.gson</groupId>
33 <artifactId>gson</artifactId>
34 <version>2.8.2</version>
35 </dependency>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040036
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040037 <dependency>
38 <groupId>${project.groupId}</groupId>
39 <artifactId>SdncReportsDao</artifactId>
40 <version>${project.version}</version>
41 </dependency>
42
43 <dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053044 <groupId>org.mariadb.jdbc</groupId>
45 <artifactId>mariadb-java-client</artifactId>
46 <version>1.1.9</version>
47 </dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053048
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040049 <dependency>
50 <groupId>org.springframework.boot</groupId>
51 <artifactId>spring-boot-starter-web</artifactId>
52 <version>1.5.4.RELEASE</version>
53 </dependency>
54
55 <dependency>
56 <groupId>org.springframework</groupId>
57 <artifactId>spring-context</artifactId>
58 <version>4.3.9.RELEASE</version>
59 </dependency>
60
61 <dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053062 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-tomcat</artifactId>
64 <scope>provided</scope>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040065 </dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053066
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040067 <dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053068 <groupId>org.apache.tomcat.embed</groupId>
69 <artifactId>tomcat-embed-jasper</artifactId>
70 <scope>provided</scope>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040071 </dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053072
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040073
74 <dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053075 <groupId>org.springframework.boot</groupId>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040076 <artifactId>spring-boot-devtools</artifactId>
77 <optional>true</optional>
78 </dependency>
79
80 <dependency>
81 <groupId>org.springframework.boot</groupId>
82 <artifactId>spring-boot-starter-test</artifactId>
83 <scope>test</scope>
84 <version>1.5.3.RELEASE</version>
85 </dependency>
86
87 <dependency>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-data-jpa</artifactId>
90 </dependency>
91
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053092 <!-- Add Log4j2 Dependency -->
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040093 <dependency>
94 <groupId>org.springframework.boot</groupId>
95 <artifactId>spring-boot-starter-log4j2</artifactId>
96 </dependency>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +053097
98 <!-- Add Web jars, instead of dist folder -->
99 <dependency>
100 <groupId>org.webjars</groupId>
101 <artifactId>bootstrap</artifactId>
102 <version>3.3.7</version>
103 </dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530104
DushyantSinghThakur24fcf112018-10-22 14:57:41 +0530105 <dependency>
106 <groupId>org.webjars</groupId>
107 <artifactId>bootstrap-datepicker</artifactId>
108 <version>1.0.1</version>
109 </dependency>
110
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400111 </dependencies>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530112
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400113 <build>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530114
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400115 <plugins>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530116
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400117 <plugin>
118 <groupId>org.springframework.boot</groupId>
119 <artifactId>spring-boot-maven-plugin</artifactId>
120 <configuration>
121 <executable>true</executable>
122 </configuration>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +0530123
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400124 </plugin>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530125
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-surefire-plugin</artifactId>
129 <configuration>
130 <skipTests>true</skipTests>
131 </configuration>
132 </plugin>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530133
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400134 <plugin>
135 <groupId>org.jacoco</groupId>
136 <artifactId>jacoco-maven-plugin</artifactId>
137 <version>0.7.5.201505241946</version>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +0530138 <executions>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400139 <execution>
140 <id>pre-unit-test</id>
141 <goals>
142 <goal>prepare-agent</goal>
143 </goals>
144 <configuration>
145 <!-- Sets the path to the file which contains the execution data. -->
146 <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
147 <!-- Sets the name of the property containing the settings for JaCoCo
148 runtime agent. -->
149 <propertyName>surefireArgLine</propertyName>
150 </configuration>
151 </execution>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +0530152
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400153 <execution>
154 <id>post-unit-test</id>
155 <phase>test</phase>
156 <goals>
157 <goal>report</goal>
158 </goals>
159 <configuration>
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>
164 </configuration>
165 </execution>
166 </executions>
167 </plugin>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530168
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400169 <plugin>
170 <groupId>io.fabric8</groupId>
171 <artifactId>docker-maven-plugin</artifactId>
172 <version>0.15.3</version>
173 <configuration>
174 <dockerHost>http://127.0.0.1:9092</dockerHost>
175 <verbose>true</verbose>
176 <images>
177 <image>
178 <name>vishal/sdnc_report</name>
179 <build>
180 <dockerFile>Dockerfile</dockerFile>
181 <assembly>
182 <descriptorRef>artifact</descriptorRef>
183 </assembly>
184 </build>
185 </image>
186 </images>
187 </configuration>
188 </plugin>
189 </plugins>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400190 </build>
191</project>