ExternalAccessRolesController up
[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.1.RELEASE</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/org.mariadb.jdbc/mariadb-java-client -->
66             <dependency>
67                   <groupId>org.mariadb.jdbc</groupId>
68                   <artifactId>mariadb-java-client</artifactId>
69                   <version>2.5.0</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>org.apache.cxf</groupId>
145                   <artifactId>cxf-rt-rs-client</artifactId>
146                   <version>3.3.4</version>
147                   <scope>compile</scope>
148             </dependency>
149           <dependency>
150               <groupId>org.hibernate.validator</groupId>
151               <artifactId>hibernate-validator</artifactId>
152               <version>6.0.18.Final</version>
153               <scope>compile</scope>
154           </dependency>
155             <dependency>
156                   <groupId>io.swagger</groupId>
157                   <artifactId>swagger-annotations</artifactId>
158                   <version>1.5.13</version>
159                   <scope>compile</scope>
160             </dependency>
161         <dependency>
162           <groupId>org.glassfish.jersey.core</groupId>
163           <artifactId>jersey-client</artifactId>
164           <version>2.29.1</version>
165           <scope>compile</scope>
166         </dependency>
167         <dependency>
168           <groupId>org.eclipse.jetty</groupId>
169           <artifactId>jetty-util</artifactId>
170           <version>9.4.18.v20190429</version>
171           <scope>compile</scope>
172         </dependency>
173         <dependency>
174           <groupId>com.fasterxml.jackson.jaxrs</groupId>
175           <artifactId>jackson-jaxrs-json-provider</artifactId>
176           <version>2.10.0</version>
177           <scope>compile</scope>
178         </dependency>
179       </dependencies>
180       <properties>
181             <docker.image.prefix>portal</docker.image.prefix>
182             <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
183       </properties>
184       <build>
185             <plugins>
186                   <plugin>
187                         <groupId>org.springframework.boot</groupId>
188                         <artifactId>spring-boot-maven-plugin</artifactId>
189                   </plugin>
190                   <plugin>
191                         <groupId>com.spotify</groupId>
192                         <artifactId>dockerfile-maven-plugin</artifactId>
193                         <version>1.4.9</version>
194                         <configuration>
195                               <repository>${docker.image.prefix}/${project.version}</repository>
196                         </configuration>
197                   </plugin>
198                   <plugin>
199                         <groupId>org.apache.maven.plugins</groupId>
200                         <artifactId>maven-jar-plugin</artifactId>
201                         <configuration>
202                               <!-- DO NOT include log4j.properties file in your Jar -->
203                               <excludes>
204                                     <exclude>**/log4j.properties</exclude>
205                               </excludes>
206                               <archive>
207                                     <manifest>
208                                           <!-- Jar file entry point -->
209                                           <mainClass>org.onap.portal.PortalApplication</mainClass>
210                                     </manifest>
211                               </archive>
212                         </configuration>
213                   </plugin>
214                   <plugin>
215                         <groupId>org.apache.maven.plugins</groupId>
216                         <artifactId>maven-dependency-plugin</artifactId>
217                         <executions>
218                               <execution>
219                                     <id>unpack</id>
220                                     <phase>package</phase>
221                                     <goals>
222                                           <goal>unpack</goal>
223                                     </goals>
224                                     <configuration>
225                                           <artifactItems>
226                                                 <artifactItem>
227                                                       <groupId>${project.groupId}</groupId>
228                                                       <artifactId>${project.artifactId}</artifactId>
229                                                       <version>${project.version}</version>
230                                                 </artifactItem>
231                                           </artifactItems>
232                                     </configuration>
233                               </execution>
234                         </executions>
235                   </plugin>
236                   <plugin>
237                         <groupId>org.jacoco</groupId>
238                         <artifactId>jacoco-maven-plugin</artifactId>
239                         <version>0.7.7.201606060606</version>
240                         <executions>
241                               <execution>
242                                     <goals>
243                                           <goal>prepare-agent</goal>
244                                     </goals>
245                               </execution>
246                               <execution>
247                                     <id>report</id>
248                                     <phase>prepare-package</phase>
249                                     <goals>
250                                           <goal>report</goal>
251                                     </goals>
252                               </execution>
253                         </executions>
254                   </plugin>
255             </plugins>
256             <resources>
257                   <resource>
258                         <directory>src/main/resources</directory>
259                   </resource>
260             </resources>
261       </build>
262
263       <repositories>
264             <repository>
265                   <id>spring-milestones</id>
266                   <name>Spring Milestones</name>
267                   <url>https://repo.spring.io/milestone</url>
268             </repository>
269       </repositories>
270       <pluginRepositories>
271             <pluginRepository>
272                   <id>spring-milestones</id>
273                   <name>Spring Milestones</name>
274                   <url>https://repo.spring.io/milestone</url>
275             </pluginRepository>
276       </pluginRepositories>
277
278 </project>