13477b689088c00014d3d885ad7a913f9518bc64
[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/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>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             <dependency>
189                   <groupId>org.apache.cxf</groupId>
190                   <artifactId>cxf-rt-rs-client</artifactId>
191                   <version>3.3.2</version>
192                   <scope>compile</scope>
193             </dependency>
194       </dependencies>
195       <properties>
196             <docker.image.prefix>portal</docker.image.prefix>
197       </properties>
198       <build>
199             <plugins>
200                   <plugin>
201                         <groupId>org.springframework.boot</groupId>
202                         <artifactId>spring-boot-maven-plugin</artifactId>
203                   </plugin>
204                   <plugin>
205                         <groupId>com.spotify</groupId>
206                         <artifactId>dockerfile-maven-plugin</artifactId>
207                         <version>1.4.9</version>
208                         <configuration>
209                               <repository>${docker.image.prefix}/${project.version}</repository>
210                         </configuration>
211                   </plugin>
212                   <plugin>
213                         <groupId>org.apache.maven.plugins</groupId>
214                         <artifactId>maven-jar-plugin</artifactId>
215                         <configuration>
216                               <!-- DO NOT include log4j.properties file in your Jar -->
217                               <excludes>
218                                     <exclude>**/log4j.properties</exclude>
219                               </excludes>
220                               <archive>
221                                     <manifest>
222                                           <!-- Jar file entry point -->
223                                           <mainClass>org.onap.portal.PortalApplication</mainClass>
224                                     </manifest>
225                               </archive>
226                         </configuration>
227                   </plugin>
228                   <plugin>
229                         <groupId>org.apache.maven.plugins</groupId>
230                         <artifactId>maven-dependency-plugin</artifactId>
231                         <executions>
232                               <execution>
233                                     <id>unpack</id>
234                                     <phase>package</phase>
235                                     <goals>
236                                           <goal>unpack</goal>
237                                     </goals>
238                                     <configuration>
239                                           <artifactItems>
240                                                 <artifactItem>
241                                                       <groupId>${project.groupId}</groupId>
242                                                       <artifactId>${project.artifactId}</artifactId>
243                                                       <version>${project.version}</version>
244                                                 </artifactItem>
245                                           </artifactItems>
246                                     </configuration>
247                               </execution>
248                         </executions>
249                   </plugin>
250             </plugins>
251             <resources>
252                   <resource>
253                         <directory>src/main/resources</directory>
254                   </resource>
255             </resources>
256       </build>
257
258       <repositories>
259             <repository>
260                   <id>spring-milestones</id>
261                   <name>Spring Milestones</name>
262                   <url>https://repo.spring.io/milestone</url>
263             </repository>
264       </repositories>
265       <pluginRepositories>
266             <pluginRepository>
267                   <id>spring-milestones</id>
268                   <name>Spring Milestones</name>
269                   <url>https://repo.spring.io/milestone</url>
270             </pluginRepository>
271       </pluginRepositories>
272
273 </project>