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