Docker-compose 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.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             <dependency>
55                   <groupId>com.h2database</groupId>
56                   <artifactId>h2</artifactId>
57                   <scope>runtime</scope>
58             </dependency>
59             <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
60             <dependency>
61                   <groupId>mysql</groupId>
62                   <artifactId>mysql-connector-java</artifactId>
63                   <version>8.0.17</version>
64             </dependency>
65             <!-- https://mvnrepository.com/artifact/org.glassfish/javax.el -->
66             <dependency>
67                   <groupId>org.glassfish</groupId>
68                   <artifactId>javax.el</artifactId>
69                   <version>3.0.1-b11</version>
70             </dependency>
71             <!-- https://mvnrepository.com/artifact/javax.el/el-api -->
72             <dependency>
73                   <groupId>javax.el</groupId>
74                   <artifactId>el-api</artifactId>
75                   <version>2.2.1-b04</version>
76             </dependency>
77             <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
78             <dependency>
79                   <groupId>org.jsoup</groupId>
80                   <artifactId>jsoup</artifactId>
81                   <version>1.12.1</version>
82             </dependency>
83             <dependency>
84                   <groupId>org.projectlombok</groupId>
85                   <artifactId>lombok</artifactId>
86                   <optional>true</optional>
87             </dependency>
88             <dependency>
89                   <groupId>org.powermock</groupId>
90                   <artifactId>powermock-module-junit4</artifactId>
91                   <version>2.0.0</version>
92                   <scope>test</scope>
93             </dependency>
94
95             <dependency>
96                   <groupId>org.powermock</groupId>
97                   <artifactId>powermock-api-mockito2</artifactId>
98                   <version>2.0.0</version>
99                   <scope>test</scope>
100             </dependency>
101             <dependency>
102                   <groupId>org.onap.portal.sdk</groupId>
103                   <artifactId>epsdk-logger</artifactId>
104                   <version>2.6.0-SNAPSHOT</version>
105             </dependency>
106             <dependency>
107                   <groupId>org.onap.portal.sdk</groupId>
108                   <artifactId>epsdk-core</artifactId>
109                   <version>2.6.0-SNAPSHOT</version>
110             </dependency>
111             <dependency>
112                   <groupId>org.springframework.boot</groupId>
113                   <artifactId>spring-boot-starter-test</artifactId>
114                   <scope>test</scope>
115                   <exclusions>
116                         <exclusion>
117                               <groupId>org.junit.vintage</groupId>
118                               <artifactId>junit-vintage-engine</artifactId>
119                         </exclusion>
120                         <exclusion>
121                               <groupId>junit</groupId>
122                               <artifactId>junit</artifactId>
123                         </exclusion>
124                   </exclusions>
125             </dependency>
126             <dependency>
127                   <groupId>org.springframework.security</groupId>
128                   <artifactId>spring-security-test</artifactId>
129                   <scope>test</scope>
130             </dependency>
131             <dependency>
132                   <groupId>javax.servlet</groupId>
133                   <artifactId>javax.servlet-api</artifactId>
134                   <version>4.0.1</version>
135                   <scope>compile</scope>
136             </dependency>
137       </dependencies>
138       <properties>
139             <docker.image.prefix>portal</docker.image.prefix>
140       </properties>
141       <build>
142             <plugins>
143                   <plugin>
144                         <groupId>org.springframework.boot</groupId>
145                         <artifactId>spring-boot-maven-plugin</artifactId>
146                   </plugin>
147                   <plugin>
148                         <groupId>com.spotify</groupId>
149                         <artifactId>dockerfile-maven-plugin</artifactId>
150                         <version>1.4.9</version>
151                         <configuration>
152                               <repository>${docker.image.prefix}/${project.version}</repository>
153                         </configuration>
154                   </plugin>
155                   <plugin>
156                         <groupId>org.apache.maven.plugins</groupId>
157                         <artifactId>maven-jar-plugin</artifactId>
158                         <configuration>
159                               <!-- DO NOT include log4j.properties file in your Jar -->
160                               <excludes>
161                                     <exclude>**/log4j.properties</exclude>
162                               </excludes>
163                               <archive>
164                                     <manifest>
165                                           <!-- Jar file entry point -->
166                                           <mainClass>org.onap.portal.PortalApplication</mainClass>
167                                     </manifest>
168                               </archive>
169                         </configuration>
170                   </plugin>
171                   <plugin>
172                         <groupId>org.apache.maven.plugins</groupId>
173                         <artifactId>maven-dependency-plugin</artifactId>
174                         <executions>
175                               <execution>
176                                     <id>unpack</id>
177                                     <phase>package</phase>
178                                     <goals>
179                                           <goal>unpack</goal>
180                                     </goals>
181                                     <configuration>
182                                           <artifactItems>
183                                                 <artifactItem>
184                                                       <groupId>${project.groupId}</groupId>
185                                                       <artifactId>${project.artifactId}</artifactId>
186                                                       <version>${project.version}</version>
187                                                 </artifactItem>
188                                           </artifactItems>
189                                     </configuration>
190                               </execution>
191                         </executions>
192                   </plugin>
193             </plugins>
194             <resources>
195                   <resource>
196                         <directory>src/main/resources</directory>
197                   </resource>
198             </resources>
199       </build>
200
201       <repositories>
202             <repository>
203                   <id>spring-milestones</id>
204                   <name>Spring Milestones</name>
205                   <url>https://repo.spring.io/milestone</url>
206             </repository>
207       </repositories>
208       <pluginRepositories>
209             <pluginRepository>
210                   <id>spring-milestones</id>
211                   <name>Spring Milestones</name>
212                   <url>https://repo.spring.io/milestone</url>
213             </pluginRepository>
214       </pluginRepositories>
215
216 </project>