Added a script that illustrates the example
[demos/spring/data-jdbc] / 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.1.5.RELEASE</version>
9      <relativePath/> <!-- lookup parent from repository -->
10    </parent>
11    <groupId>de.juplo.boot.data</groupId>
12    <artifactId>data-jdbc</artifactId>
13    <version>0.0.1-SNAPSHOT</version>
14    <name>Data JDBC</name>
15    <description>Simple web-app example for spring-boot-data-jdbc</description>
16
17    <properties>
18      <java.version>1.8</java.version>
19    </properties>
20
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.boot</groupId>
28        <artifactId>spring-boot-starter-actuator</artifactId>
29      </dependency>
30      <dependency>
31        <groupId>org.springframework.boot</groupId>
32        <artifactId>spring-boot-starter-data-jdbc</artifactId>
33      </dependency>
34      <dependency>
35        <groupId>org.springframework.boot</groupId>
36        <artifactId>spring-boot-starter-json</artifactId>
37      </dependency>
38      <dependency>
39        <groupId>org.projectlombok</groupId>
40        <artifactId>lombok</artifactId>
41      </dependency>
42      <dependency>
43        <groupId>org.flywaydb</groupId>
44        <artifactId>flyway-core</artifactId>
45      </dependency>
46      <dependency>
47        <groupId>com.h2database</groupId>
48        <artifactId>h2</artifactId>
49      </dependency>
50      <dependency>
51        <groupId>org.postgresql</groupId>
52        <artifactId>postgresql</artifactId>
53      </dependency>
54      <dependency>
55        <groupId>org.springframework.boot</groupId>
56        <artifactId>spring-boot-starter-test</artifactId>
57        <scope>test</scope>
58      </dependency>
59    </dependencies>
60
61    <build>
62      <plugins>
63        <plugin>
64          <groupId>org.springframework.boot</groupId>
65          <artifactId>spring-boot-maven-plugin</artifactId>
66        </plugin>
67        <plugin>
68          <groupId>io.fabric8</groupId>
69          <artifactId>docker-maven-plugin</artifactId>
70          <version>0.33.0</version>
71          <configuration>
72            <images>
73              <image>
74                <name>juplo/%a:latest</name>
75              </image>
76            </images>
77          </configuration>
78          <executions>
79            <execution>
80               <id>build</id>
81               <phase>package</phase>
82               <goals>
83                 <goal>build</goal>
84               </goals>
85            </execution>
86          </executions>
87        </plugin>
88      </plugins>
89    </build>
90
91 </project>