Added a script that illustrates the example
[demos/spring/data-jdbc] / pom.xml
diff --git a/pom.xml b/pom.xml
index 4cc7dc3..f0318e8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -9,9 +9,9 @@
      <relativePath/> <!-- lookup parent from repository -->
    </parent>
    <groupId>de.juplo.boot.data</groupId>
-   <artifactId>jdbc</artifactId>
+   <artifactId>data-jdbc</artifactId>
    <version>0.0.1-SNAPSHOT</version>
-   <name>data-jdbc</name>
+   <name>Data JDBC</name>
    <description>Simple web-app example for spring-boot-data-jdbc</description>
 
    <properties>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
      </dependency>
+     <dependency>
+       <groupId>org.postgresql</groupId>
+       <artifactId>postgresql</artifactId>
+     </dependency>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
          <groupId>org.springframework.boot</groupId>
          <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>
+       <plugin>
+         <groupId>io.fabric8</groupId>
+         <artifactId>docker-maven-plugin</artifactId>
+         <version>0.33.0</version>
+         <configuration>
+           <images>
+             <image>
+               <name>juplo/%a:latest</name>
+             </image>
+           </images>
+         </configuration>
+         <executions>
+           <execution>
+              <id>build</id>
+              <phase>package</phase>
+              <goals>
+                <goal>build</goal>
+              </goals>
+           </execution>
+         </executions>
+       </plugin>
      </plugins>
    </build>