added docker and kubenetes yaml file
[ealt-edge.git] / example-apps / ROBO / backup_BE / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   <modelVersion>4.0.0</modelVersion>
6
7   <groupId>org.example</groupId>
8   <artifactId>backup_be</artifactId>
9   <version>1.0-SNAPSHOT</version>
10   <properties>
11     <maven.compiler.source>1.8</maven.compiler.source>
12     <maven.compiler.target>1.8</maven.compiler.target>
13   </properties>
14   <packaging>jar</packaging>
15   <parent>
16     <groupId>org.springframework.boot</groupId>
17     <artifactId>spring-boot-starter-parent</artifactId>
18     <version>2.3.0.RELEASE</version>
19     <relativePath/> <!-- lookup parent from repository -->
20   </parent>
21   <dependencies>
22     <dependency>
23       <groupId>org.springframework.boot</groupId>
24       <artifactId>spring-boot-starter-web</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.springframework</groupId>
28       <artifactId>spring-core</artifactId>
29       <version>5.2.12.RELEASE</version>
30     </dependency>
31     <dependency>
32       <groupId>org.apache.logging.log4j</groupId>
33       <artifactId>log4j-core</artifactId>
34       <version>2.13.2</version>
35     </dependency>
36     <dependency>
37       <groupId>org.apache.logging.log4j</groupId>
38       <artifactId>log4j-api</artifactId>
39       <version>2.13.2</version>
40     </dependency>
41     <dependency>
42       <groupId>commons-logging</groupId>
43       <artifactId>commons-logging</artifactId>
44       <version>1.1.1</version>
45     </dependency>
46 <!--    <dependency>
47       <groupId>org.springframework</groupId>
48       <artifactId>spring-context</artifactId>
49       <version>5.2.12.RELEASE</version>
50     </dependency>-->
51     <dependency>
52       <groupId>io.kubernetes</groupId>
53       <artifactId>client-java-api</artifactId>
54       <version>5.0.0</version>
55     </dependency>
56     <dependency>
57       <groupId>io.kubernetes</groupId>
58       <artifactId>client-java</artifactId>
59       <version>5.0.0</version>
60       <scope>compile</scope>
61     </dependency>
62     <dependency>
63       <groupId>org.springframework.boot</groupId>
64       <artifactId>spring-boot</artifactId>
65       <version>2.3.8.RELEASE</version>
66     </dependency>
67     <dependency>
68       <groupId>org.springframework.boot</groupId>
69       <artifactId>spring-boot-autoconfigure</artifactId>
70       <version>2.3.8.RELEASE</version>
71     </dependency>
72     <dependency>
73       <groupId>org.springframework</groupId>
74       <artifactId>spring-web</artifactId>
75       <version>5.2.12.RELEASE</version>
76     </dependency>
77     <dependency>
78       <groupId>javax.validation</groupId>
79       <artifactId>validation-api</artifactId>
80       <version>2.0.1.Final</version>
81     </dependency>
82     <dependency>
83       <groupId>javax.ws.rs</groupId>
84       <artifactId>javax.ws.rs-api</artifactId>
85       <version>2.1.1</version>
86     </dependency>
87     <dependency>
88       <groupId>org.hibernate.validator</groupId>
89       <artifactId>hibernate-validator</artifactId>
90       <version>6.1.5.Final</version>
91     </dependency>
92     <dependency>
93       <groupId>org.slf4j</groupId>
94       <artifactId>slf4j-api</artifactId>
95       <version>1.7.5</version>
96     </dependency>
97     <dependency>
98       <groupId>org.slf4j</groupId>
99       <artifactId>slf4j-log4j12</artifactId>
100       <version>1.7.5</version>
101     </dependency>
102     <dependency>
103       <groupId>org.projectlombok</groupId>
104       <artifactId>lombok</artifactId>
105       <version>1.18.10</version>
106     </dependency>
107   </dependencies>
108
109   <build>
110     <finalName>backup</finalName>
111     <plugins>
112       <plugin>
113         <groupId>org.springframework.boot</groupId>
114         <artifactId>spring-boot-maven-plugin</artifactId>
115         <version>2.3.8.RELEASE</version>
116       </plugin>
117       <plugin>
118         <groupId>org.apache.maven.plugins</groupId>
119         <artifactId>maven-compiler-plugin</artifactId>
120         <version>3.8.1</version>
121       </plugin>
122       <plugin>
123         <!-- Build an executable JAR -->
124         <groupId>org.apache.maven.plugins</groupId>
125         <artifactId>maven-jar-plugin</artifactId>
126         <version>3.2.0</version>
127         <configuration>
128           <archive>
129             <manifest>
130               <addClasspath>true</addClasspath>
131               <classpathPrefix>lib/</classpathPrefix>
132               <mainClass>org.edgegallery.example_app.backupApplication</mainClass>
133             </manifest>
134           </archive>
135         </configuration>
136       </plugin>
137     </plugins>
138   </build>
139
140 </project>