blob: 23fc51211b780b42899e8ba652ad2593696efa8b [file] [log] [blame]
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -04001<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <packaging>jar</packaging>
6 <artifactId>SdncReportsApi</artifactId>
7 <groupId>org.onap.sdnc.oam</groupId>
Timoney, Dan (dt5972)1bd7bcb2018-10-23 16:23:03 -04008 <version>1.5.0-SNAPSHOT</version>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -04009 <name>sdnc-oam :: SdncReports :: SdncReportsApi</name>
10 <parent>
11 <groupId>org.onap.sdnc.oam</groupId>
12 <artifactId>SdncReports</artifactId>
Timoney, Dan (dt5972)1bd7bcb2018-10-23 16:23:03 -040013 <version>1.5.0-SNAPSHOT</version>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040014 </parent>
15
16
17 <properties>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053018 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20 <java.version>1.8</java.version>
21 </properties>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053022
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040023 <dependencies>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +053024
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040025 <dependency>
26 <groupId>ch.vorburger.mariaDB4j</groupId>
27 <artifactId>mariaDB4j</artifactId>
28 <version>2.2.3</version>
29 </dependency>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +053030
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040031 <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053032 <dependency>
33 <groupId>com.google.code.gson</groupId>
34 <artifactId>gson</artifactId>
35 <version>2.8.2</version>
36 </dependency>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040037
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040038 <dependency>
39 <groupId>${project.groupId}</groupId>
40 <artifactId>SdncReportsDao</artifactId>
41 <version>${project.version}</version>
42 </dependency>
43
44 <dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053045 <groupId>org.mariadb.jdbc</groupId>
46 <artifactId>mariadb-java-client</artifactId>
47 <version>1.1.9</version>
48 </dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053049
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040050 <dependency>
51 <groupId>org.springframework.boot</groupId>
52 <artifactId>spring-boot-starter-web</artifactId>
53 <version>1.5.4.RELEASE</version>
54 </dependency>
55
56 <dependency>
57 <groupId>org.springframework</groupId>
58 <artifactId>spring-context</artifactId>
59 <version>4.3.9.RELEASE</version>
60 </dependency>
61
62 <dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053063 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-tomcat</artifactId>
65 <scope>provided</scope>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040066 </dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053067
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040068 <dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053069 <groupId>org.apache.tomcat.embed</groupId>
70 <artifactId>tomcat-embed-jasper</artifactId>
71 <scope>provided</scope>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040072 </dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053073
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040074
75 <dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053076 <groupId>org.springframework.boot</groupId>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040077 <artifactId>spring-boot-devtools</artifactId>
78 <optional>true</optional>
79 </dependency>
80
81 <dependency>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-starter-test</artifactId>
84 <scope>test</scope>
85 <version>1.5.3.RELEASE</version>
86 </dependency>
87
88 <dependency>
89 <groupId>org.springframework.boot</groupId>
90 <artifactId>spring-boot-starter-data-jpa</artifactId>
91 </dependency>
92
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +053093 <!-- Add Log4j2 Dependency -->
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -040094 <dependency>
95 <groupId>org.springframework.boot</groupId>
96 <artifactId>spring-boot-starter-log4j2</artifactId>
97 </dependency>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +053098
99 <!-- Add Web jars, instead of dist folder -->
100 <dependency>
101 <groupId>org.webjars</groupId>
102 <artifactId>bootstrap</artifactId>
103 <version>3.3.7</version>
104 </dependency>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530105
DushyantSinghThakur24fcf112018-10-22 14:57:41 +0530106 <dependency>
107 <groupId>org.webjars</groupId>
108 <artifactId>bootstrap-datepicker</artifactId>
109 <version>1.0.1</version>
110 </dependency>
111
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400112 </dependencies>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530113
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400114 <build>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530115
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400116 <plugins>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530117
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400118 <plugin>
119 <groupId>org.springframework.boot</groupId>
120 <artifactId>spring-boot-maven-plugin</artifactId>
121 <configuration>
122 <executable>true</executable>
123 </configuration>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +0530124
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400125 </plugin>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530126
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-surefire-plugin</artifactId>
130 <configuration>
131 <skipTests>true</skipTests>
132 </configuration>
133 </plugin>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530134
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400135 <plugin>
136 <groupId>org.jacoco</groupId>
137 <artifactId>jacoco-maven-plugin</artifactId>
138 <version>0.7.5.201505241946</version>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +0530139 <executions>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400140 <execution>
141 <id>pre-unit-test</id>
142 <goals>
143 <goal>prepare-agent</goal>
144 </goals>
145 <configuration>
146 <!-- Sets the path to the file which contains the execution data. -->
147 <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
148 <!-- Sets the name of the property containing the settings for JaCoCo
149 runtime agent. -->
150 <propertyName>surefireArgLine</propertyName>
151 </configuration>
152 </execution>
DushyantSinghThakur24fcf112018-10-22 14:57:41 +0530153
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400154 <execution>
155 <id>post-unit-test</id>
156 <phase>test</phase>
157 <goals>
158 <goal>report</goal>
159 </goals>
160 <configuration>
161 <!-- Sets the path to the file which contains the execution data. -->
162 <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
163 <!-- Sets the output directory for the code coverage report. -->
164 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
165 </configuration>
166 </execution>
167 </executions>
168 </plugin>
Soumendu Sekhar Acharya929c1f12018-08-01 17:21:15 +0530169
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400170 <plugin>
171 <groupId>io.fabric8</groupId>
172 <artifactId>docker-maven-plugin</artifactId>
173 <version>0.15.3</version>
174 <configuration>
175 <dockerHost>http://127.0.0.1:9092</dockerHost>
176 <verbose>true</verbose>
177 <images>
178 <image>
179 <name>vishal/sdnc_report</name>
180 <build>
181 <dockerFile>Dockerfile</dockerFile>
182 <assembly>
183 <descriptorRef>artifact</descriptorRef>
184 </assembly>
185 </build>
186 </image>
187 </images>
188 </configuration>
189 </plugin>
190 </plugins>
Timoney, Dan (dt5972)42ef3e42018-09-13 12:11:35 -0400191 </build>
192</project>