Tests coverage up and some minor bug fixes
[portal.git] / portal-BE / 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"
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       <parent>
6             <groupId>org.springframework.boot</groupId>
7             <artifactId>spring-boot-starter-parent</artifactId>
8             <version>2.2.0.M4</version>
9             <relativePath/> <!-- lookup parent from repository -->
10       </parent>
11       <groupId>org.onap</groupId>
12       <artifactId>portal</artifactId>
13       <version>0.0.1-SNAPSHOT</version>
14       <name>portal-BE</name>
15       <packaging>jar</packaging>
16       <description></description>
17
18       <dependencies>
19             <dependency>
20                   <groupId>org.springframework.boot</groupId>
21                   <artifactId>spring-boot-starter-actuator</artifactId>
22             </dependency>
23             <dependency>
24                   <groupId>org.springframework.boot</groupId>
25                   <artifactId>spring-boot-starter-data-jpa</artifactId>
26             </dependency>
27             <dependency>
28                   <groupId>org.springframework.boot</groupId>
29                   <artifactId>spring-boot-starter-security</artifactId>
30             </dependency>
31             <dependency>
32                   <groupId>org.springframework.boot</groupId>
33                   <artifactId>spring-boot-starter-thymeleaf</artifactId>
34             </dependency>
35             <dependency>
36                   <groupId>org.springframework.boot</groupId>
37                   <artifactId>spring-boot-starter-web</artifactId>
38             </dependency>
39             <dependency>
40                   <groupId>org.springframework.session</groupId>
41                   <artifactId>spring-session-core</artifactId>
42             </dependency>
43             <dependency>
44                   <groupId>org.springframework.boot</groupId>
45                   <artifactId>spring-boot-devtools</artifactId>
46                   <scope>runtime</scope>
47                   <optional>true</optional>
48             </dependency>
49             <dependency>
50                   <groupId>org.springframework.boot</groupId>
51                   <artifactId>spring-boot-starter-aop</artifactId>
52                   <version>2.1.6.RELEASE</version>
53             </dependency>
54             <!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support -->
55             <dependency>
56                   <groupId>org.springframework</groupId>
57                   <artifactId>spring-context-support</artifactId>
58                   <version>5.2.0.RELEASE</version>
59             </dependency>
60             <dependency>
61                   <groupId>com.h2database</groupId>
62                   <artifactId>h2</artifactId>
63                   <scope>runtime</scope>
64             </dependency>
65             <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
66             <dependency>
67                   <groupId>mysql</groupId>
68                   <artifactId>mysql-connector-java</artifactId>
69                   <version>8.0.17</version>
70             </dependency>
71             <!-- https://mvnrepository.com/artifact/org.glassfish/javax.el -->
72             <dependency>
73                   <groupId>org.glassfish</groupId>
74                   <artifactId>javax.el</artifactId>
75                   <version>3.0.1-b11</version>
76             </dependency>
77             <!-- https://mvnrepository.com/artifact/javax.el/el-api -->
78             <dependency>
79                   <groupId>javax.el</groupId>
80                   <artifactId>el-api</artifactId>
81                   <version>2.2.1-b04</version>
82             </dependency>
83             <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
84             <dependency>
85                   <groupId>org.jsoup</groupId>
86                   <artifactId>jsoup</artifactId>
87                   <version>1.12.1</version>
88             </dependency>
89             <dependency>
90                   <groupId>org.projectlombok</groupId>
91                   <artifactId>lombok</artifactId>
92                   <optional>true</optional>
93             </dependency>
94             <dependency>
95                   <groupId>org.powermock</groupId>
96                   <artifactId>powermock-module-junit4</artifactId>
97                   <version>2.0.0</version>
98                   <scope>test</scope>
99             </dependency>
100
101             <dependency>
102                   <groupId>org.powermock</groupId>
103                   <artifactId>powermock-api-mockito2</artifactId>
104                   <version>2.0.0</version>
105                   <scope>test</scope>
106             </dependency>
107             <dependency>
108                   <groupId>org.onap.portal.sdk</groupId>
109                   <artifactId>epsdk-logger</artifactId>
110                   <version>2.6.0</version>
111             </dependency>
112             <dependency>
113                   <groupId>org.onap.portal.sdk</groupId>
114                   <artifactId>epsdk-core</artifactId>
115                   <version>2.6.0</version>
116             </dependency>
117             <dependency>
118                   <groupId>org.springframework.boot</groupId>
119                   <artifactId>spring-boot-starter-test</artifactId>
120                   <scope>test</scope>
121                   <exclusions>
122                         <exclusion>
123                               <groupId>org.junit.vintage</groupId>
124                               <artifactId>junit-vintage-engine</artifactId>
125                         </exclusion>
126                         <exclusion>
127                               <groupId>junit</groupId>
128                               <artifactId>junit</artifactId>
129                         </exclusion>
130                   </exclusions>
131             </dependency>
132             <dependency>
133                   <groupId>org.springframework.security</groupId>
134                   <artifactId>spring-security-test</artifactId>
135                   <scope>test</scope>
136             </dependency>
137             <dependency>
138                   <groupId>javax.servlet</groupId>
139                   <artifactId>javax.servlet-api</artifactId>
140                   <version>4.0.1</version>
141                   <scope>compile</scope>
142             </dependency>
143             <dependency>
144                   <groupId>io.swagger</groupId>
145                   <artifactId>swagger-annotations</artifactId>
146                   <version>2.0.0-rc2</version>
147                   <scope>compile</scope>
148             </dependency>
149             <dependency>
150                   <groupId>io.swagger</groupId>
151                   <artifactId>swagger-annotations</artifactId>
152                   <version>2.0.0-rc2</version>
153                   <scope>compile</scope>
154             </dependency>
155             <dependency>
156                   <groupId>io.swagger</groupId>
157                   <artifactId>swagger-annotations</artifactId>
158                   <version>1.5.20</version>
159             </dependency>
160             <dependency>
161                   <groupId>io.swagger</groupId>
162                   <artifactId>swagger-annotations</artifactId>
163                   <version>2.0.0-rc2</version>
164                   <scope>compile</scope>
165             </dependency>
166             <dependency>
167                   <groupId>io.swagger</groupId>
168                   <artifactId>swagger-annotations</artifactId>
169                   <version>1.5.20</version>
170             </dependency>
171             <dependency>
172                   <groupId>io.swagger</groupId>
173                   <artifactId>swagger-annotations</artifactId>
174                   <version>2.0.0-rc2</version>
175                   <scope>compile</scope>
176             </dependency>
177             <dependency>
178                   <groupId>io.swagger</groupId>
179                   <artifactId>swagger-annotations</artifactId>
180                   <version>2.0.0-rc2</version>
181                   <scope>compile</scope>
182             </dependency>
183             <dependency>
184                   <groupId>io.swagger</groupId>
185                   <artifactId>swagger-annotations</artifactId>
186                   <version>1.5.20</version>
187             </dependency>
188       </dependencies>
189       <properties>
190             <docker.image.prefix>portal</docker.image.prefix>
191       </properties>
192       <build>
193             <plugins>
194                   <plugin>
195                         <groupId>org.springframework.boot</groupId>
196                         <artifactId>spring-boot-maven-plugin</artifactId>
197                   </plugin>
198                   <plugin>
199                         <groupId>com.spotify</groupId>
200                         <artifactId>dockerfile-maven-plugin</artifactId>
201                         <version>1.4.9</version>
202                         <configuration>
203                               <repository>${docker.image.prefix}/${project.version}</repository>
204                         </configuration>
205                   </plugin>
206                   <plugin>
207                         <groupId>org.apache.maven.plugins</groupId>
208                         <artifactId>maven-jar-plugin</artifactId>
209                         <configuration>
210                               <!-- DO NOT include log4j.properties file in your Jar -->
211                               <excludes>
212                                     <exclude>**/log4j.properties</exclude>
213                               </excludes>
214                               <archive>
215                                     <manifest>
216                                           <!-- Jar file entry point -->
217                                           <mainClass>org.onap.portal.PortalApplication</mainClass>
218                                     </manifest>
219                               </archive>
220                         </configuration>
221                   </plugin>
222                   <plugin>
223                         <groupId>org.apache.maven.plugins</groupId>
224                         <artifactId>maven-dependency-plugin</artifactId>
225                         <executions>
226                               <execution>
227                                     <id>unpack</id>
228                                     <phase>package</phase>
229                                     <goals>
230                                           <goal>unpack</goal>
231                                     </goals>
232                                     <configuration>
233                                           <artifactItems>
234                                                 <artifactItem>
235                                                       <groupId>${project.groupId}</groupId>
236                                                       <artifactId>${project.artifactId}</artifactId>
237                                                       <version>${project.version}</version>
238                                                 </artifactItem>
239                                           </artifactItems>
240                                     </configuration>
241                               </execution>
242                         </executions>
243                   </plugin>
244             </plugins>
245             <resources>
246                   <resource>
247                         <directory>src/main/resources</directory>
248                   </resource>
249             </resources>
250       </build>
251
252       <repositories>
253             <repository>
254                   <id>spring-milestones</id>
255                   <name>Spring Milestones</name>
256                   <url>https://repo.spring.io/milestone</url>
257             </repository>
258       </repositories>
259       <pluginRepositories>
260             <pluginRepository>
261                   <id>spring-milestones</id>
262                   <name>Spring Milestones</name>
263                   <url>https://repo.spring.io/milestone</url>
264             </pluginRepository>
265       </pluginRepositories>
266
267 </project>