diff --git a/.gitignore b/.gitignore index 699ef36b0..46d0247f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ target/* petclinic-application/target/* +/petclinic-containers/src/main/resources/petclinic.jar .settings/* .classpath .editorconfig diff --git a/petclinic-containers/pom.xml b/petclinic-containers/pom.xml index 61a01375d..4e16a4426 100644 --- a/petclinic-containers/pom.xml +++ b/petclinic-containers/pom.xml @@ -15,4 +15,50 @@ petclinic-containers + + + + docker-build + + + + src/main/resources + true + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy + package + + copy + + + + + org.springframework.samples + petclinic-application + ${project.version} + ${project.packaging} + true + ${basedir}/src/main/resources + petclinic.jar + + + ${docker.build.directory} + true + true + + + + + + + + + diff --git a/petclinic-containers/src/main/resources/Dockerfile b/petclinic-containers/src/main/resources/Dockerfile new file mode 100644 index 000000000..e69de29bb diff --git a/pom.xml b/pom.xml index 9dbf8fc83..98ab7072a 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,6 @@ - 1.8 UTF-8 @@ -41,12 +40,10 @@ 1.11.4 2.2.4 1.8.0 - 0.8.2 2.8.1 -