Prepare for 1.4.4 release
[sdnc/oam.git] / SdncReports / SdncReportsApi / pom.xml
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.4-SNAPSHOT</version>
8         <name>sdnc-oam :: SdncReports :: SdncReportsApi</name>
9         <parent>
10                 <groupId>org.onap.sdnc.oam</groupId>
11                 <artifactId>SdncReports</artifactId>
12                 <version>1.4.4-SNAPSHOT</version>
13         </parent>
14
15
16         <properties>
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>
20         </properties>
21
22         <dependencies>
23
24                 <!-- <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> 
25                         <scope>test</scope> <version>1.4.194</version> </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> <groupId>com.sdnc.reports</groupId> <artifactId>sdnc_reports_certification</artifactId> 
41                         <version>0.0.1-SNAPSHOT</version> <scope>test</scope> <classifier>exec</classifier> 
42                         </dependency> -->
43
44                 <dependency>
45                         <groupId>${project.groupId}</groupId>
46                         <artifactId>SdncReportsDao</artifactId>
47                         <version>${project.version}</version>
48                 </dependency>
49
50                 <dependency>
51                         <groupId>org.mariadb.jdbc</groupId>
52                         <artifactId>mariadb-java-client</artifactId>
53                         <version>1.1.9</version>
54                 </dependency>
55
56                 <dependency>
57                         <groupId>org.springframework.boot</groupId>
58                         <artifactId>spring-boot-starter-web</artifactId>
59                         <version>1.5.4.RELEASE</version>
60                 </dependency>
61
62                 <dependency>
63                         <groupId>org.springframework</groupId>
64                         <artifactId>spring-context</artifactId>
65                         <version>4.3.9.RELEASE</version>
66                 </dependency>
67
68                 <dependency>
69                         <groupId>org.springframework.boot</groupId>
70                         <artifactId>spring-boot-starter-tomcat</artifactId>
71                         <scope>provided</scope>
72                 </dependency>
73
74                 <dependency>
75                         <groupId>org.apache.tomcat.embed</groupId>
76                         <artifactId>tomcat-embed-jasper</artifactId>
77                         <scope>provided</scope>
78                 </dependency>
79
80
81                 <dependency>
82                         <groupId>org.springframework.boot</groupId>
83                         <artifactId>spring-boot-devtools</artifactId>
84                         <optional>true</optional>
85                 </dependency>
86
87                 <dependency>
88                         <groupId>org.springframework.boot</groupId>
89                         <artifactId>spring-boot-starter-test</artifactId>
90                         <scope>test</scope>
91                         <version>1.5.3.RELEASE</version>
92                 </dependency>
93
94                 <dependency>
95                         <groupId>org.springframework.boot</groupId>
96                         <artifactId>spring-boot-starter-data-jpa</artifactId>
97                 </dependency>
98
99                 <!-- Add Log4j2 Dependency -->
100                 <dependency>
101                         <groupId>org.springframework.boot</groupId>
102                         <artifactId>spring-boot-starter-log4j2</artifactId>
103                 </dependency>
104
105
106         </dependencies>
107
108         <build>
109
110                 <plugins>
111
112                         <plugin>
113                                 <groupId>org.springframework.boot</groupId>
114                                 <artifactId>spring-boot-maven-plugin</artifactId>
115                                 <configuration>
116                                         <executable>true</executable>
117                                 </configuration>
118                                 <!-- <configuration> <mainClass>${start-class}</mainClass> <layout>ZIP</layout> 
119                                         </configuration> <executions> <execution> <goals> <goal>repackage</goal> 
120                                         </goals> </execution> </executions> -->
121                         </plugin>
122
123                         <plugin>
124                                 <groupId>org.apache.maven.plugins</groupId>
125                                 <artifactId>maven-surefire-plugin</artifactId>
126                                 <configuration>
127                                         <skipTests>true</skipTests>
128                                 </configuration>
129                         </plugin>
130
131                         <plugin>
132                                 <groupId>org.jacoco</groupId>
133                                 <artifactId>jacoco-maven-plugin</artifactId>
134                                 <version>0.7.5.201505241946</version>
135                                 <executions>
136                                         <!-- Prepares the property pointing to the JaCoCo runtime agent which 
137                                                 is passed as VM argument when Maven the Surefire plugin is executed. -->
138                                         <execution>
139                                                 <id>pre-unit-test</id>
140                                                 <goals>
141                                                         <goal>prepare-agent</goal>
142                                                 </goals>
143                                                 <configuration>
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 
147                                                                 runtime agent. -->
148                                                         <propertyName>surefireArgLine</propertyName>
149                                                 </configuration>
150                                         </execution>
151                                         <!-- Ensures that the code coverage report for unit tests is created 
152                                                 after unit tests have been run. -->
153                                         <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>
168
169                         <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>
190
191         </build>
192 </project>