Merge "Epic-232:Modifying UI changes"
[sdnc/oam.git] / SdncReports / SdncReportsApi / pom.xml
1 <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>
8         <version>1.5.0-SNAPSHOT</version>
9         <name>sdnc-oam :: SdncReports :: SdncReportsApi</name>
10         <parent>
11                 <groupId>org.onap.sdnc.oam</groupId>
12                 <artifactId>SdncReports</artifactId>
13                 <version>1.5.0-SNAPSHOT</version>
14         </parent>
15
16
17         <properties>
18                 <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>
22
23         <dependencies>
24         
25                 <dependency>
26                         <groupId>ch.vorburger.mariaDB4j</groupId>
27                         <artifactId>mariaDB4j</artifactId>
28                         <version>2.2.3</version>
29                 </dependency>
30                 
31                 <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
32                 <dependency>
33                         <groupId>com.google.code.gson</groupId>
34                         <artifactId>gson</artifactId>
35                         <version>2.8.2</version>
36                 </dependency>
37
38                 <dependency>
39                         <groupId>${project.groupId}</groupId>
40                         <artifactId>SdncReportsDao</artifactId>
41                         <version>${project.version}</version>
42                 </dependency>
43
44                 <dependency>
45                         <groupId>org.mariadb.jdbc</groupId>
46                         <artifactId>mariadb-java-client</artifactId>
47                         <version>1.1.9</version>
48                 </dependency>
49
50                 <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>
63                         <groupId>org.springframework.boot</groupId>
64                         <artifactId>spring-boot-starter-tomcat</artifactId>
65                         <scope>provided</scope>
66                 </dependency>
67
68                 <dependency>
69                         <groupId>org.apache.tomcat.embed</groupId>
70                         <artifactId>tomcat-embed-jasper</artifactId>
71                         <scope>provided</scope>
72                 </dependency>
73
74
75                 <dependency>
76                         <groupId>org.springframework.boot</groupId>
77                         <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
93                 <!-- Add Log4j2 Dependency -->
94                 <dependency>
95                         <groupId>org.springframework.boot</groupId>
96                         <artifactId>spring-boot-starter-log4j2</artifactId>
97                 </dependency>
98                 
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>
105
106                 <dependency>
107                         <groupId>org.webjars</groupId>
108                         <artifactId>bootstrap-datepicker</artifactId>
109                         <version>1.0.1</version>
110                 </dependency>
111                 
112         </dependencies>
113
114         <build>
115
116                 <plugins>
117
118                         <plugin>
119                                 <groupId>org.springframework.boot</groupId>
120                                 <artifactId>spring-boot-maven-plugin</artifactId>
121                                 <configuration>
122                                         <executable>true</executable>
123                                 </configuration>
124                                 
125                         </plugin>
126
127                         <plugin>
128                                 <groupId>org.apache.maven.plugins</groupId>
129                                 <artifactId>maven-surefire-plugin</artifactId>
130                                 <configuration>
131                                         <skipTests>true</skipTests>
132                                 </configuration>
133                         </plugin>
134
135                         <plugin>
136                                 <groupId>org.jacoco</groupId>
137                                 <artifactId>jacoco-maven-plugin</artifactId>
138                                 <version>0.7.5.201505241946</version>
139                                 <executions>                                    
140                                         <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>
153                                         
154                                         <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>
169
170                         <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>
191         </build>
192 </project>