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       </dependencies>
161       <properties>
162             <docker.image.prefix>portal</docker.image.prefix>
163       </properties>
164       <build>
165             <plugins>
166                   <plugin>
167                         <groupId>org.springframework.boot</groupId>
168                         <artifactId>spring-boot-maven-plugin</artifactId>
169                   </plugin>
170                   <plugin>
171                         <groupId>com.spotify</groupId>
172                         <artifactId>dockerfile-maven-plugin</artifactId>
173                         <version>1.4.9</version>
174                         <configuration>
175                               <repository>${docker.image.prefix}/${project.version}</repository>
176                         </configuration>
177                   </plugin>
178                   <plugin>
179                         <groupId>org.apache.maven.plugins</groupId>
180                         <artifactId>maven-jar-plugin</artifactId>
181                         <configuration>
182                               <!-- DO NOT include log4j.properties file in your Jar -->
183                               <excludes>
184                                     <exclude>**/log4j.properties</exclude>
185                               </excludes>
186                               <archive>
187                                     <manifest>
188                                           <!-- Jar file entry point -->
189                                           <mainClass>org.onap.portal.PortalApplication</mainClass>
190                                     </manifest>
191                               </archive>
192                         </configuration>
193                   </plugin>
194                   <plugin>
195                         <groupId>org.apache.maven.plugins</groupId>
196                         <artifactId>maven-dependency-plugin</artifactId>
197                         <executions>
198                               <execution>
199                                     <id>unpack</id>
200                                     <phase>package</phase>
201                                     <goals>
202                                           <goal>unpack</goal>
203                                     </goals>
204                                     <configuration>
205                                           <artifactItems>
206                                                 <artifactItem>
207                                                       <groupId>${project.groupId}</groupId>
208                                                       <artifactId>${project.artifactId}</artifactId>
209                                                       <version>${project.version}</version>
210                                                 </artifactItem>
211                                           </artifactItems>
212                                     </configuration>
213                               </execution>
214                         </executions>
215                   </plugin>
216             </plugins>
217             <resources>
218                   <resource>
219                         <directory>src/main/resources</directory>
220                   </resource>
221             </resources>
222       </build>
223
224       <repositories>
225             <repository>
226                   <id>spring-milestones</id>
227                   <name>Spring Milestones</name>
228                   <url>https://repo.spring.io/milestone</url>
229             </repository>
230       </repositories>
231       <pluginRepositories>
232             <pluginRepository>
233                   <id>spring-milestones</id>
234                   <name>Spring Milestones</name>
235                   <url>https://repo.spring.io/milestone</url>
236             </pluginRepository>
237       </pluginRepositories>
238
239 </project>