diff --git a/pom.xml b/pom.xml index 04e418f..2ac1cee 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,7 @@ 1.16.0 0.7 1.13 + @@ -98,6 +99,19 @@ + + + + + + com.google.cloud.tools + jib-maven-plugin + 3.1.4 + + + + + org.springframework.boot diff --git a/staccato-application/Dockerfile b/staccato-application/Dockerfile deleted file mode 100644 index 9420761..0000000 --- a/staccato-application/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM amazoncorretto:11.0.7 -MAINTAINER josh@federal.planet.com - -ARG JAR_NAME -ENV JAR_NAME $JAR_NAME - -#COPY target/${JAR_NAME} /${JAR_NAME} -ADD target/${JAR_NAME} /${JAR_NAME} - -ENTRYPOINT ["java", "-jar", "/staccato-1.0.0.jar"] -#ENTRYPOINT java "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" -jar /$JAR_NAME \ No newline at end of file diff --git a/staccato-application/pom.xml b/staccato-application/pom.xml index 5e423f2..dec24df 100644 --- a/staccato-application/pom.xml +++ b/staccato-application/pom.xml @@ -61,13 +61,13 @@ noggit 0.7 - + org.springframework.boot @@ -115,7 +115,6 @@ - @@ -129,6 +128,21 @@ + + com.google.cloud.tools + jib-maven-plugin + 3.1.4 + + packaged + + gcr.io/focus-cargo-315523/staccato:${project.version} + + + amazoncorretto:11.0.7 + + + + org.apache.maven.plugins @@ -162,37 +176,6 @@ true - - - com.spotify - dockerfile-maven-plugin - ${dockerfile-maven-version} - - - default - - build - push - - - - - - gcr.io/focus-cargo-315523/staccato - ${project.version} - - staccato-${project.version}.jar - - - - - javax.activation - javax.activation-api - 1.2.0 - - - - pl.project13.maven git-commit-id-plugin diff --git a/staccato-collections/pom.xml b/staccato-collections/pom.xml index c1430b9..302ce3e 100644 --- a/staccato-collections/pom.xml +++ b/staccato-collections/pom.xml @@ -24,6 +24,19 @@ 11 + + + + com.google.cloud.tools + jib-maven-plugin + + + true + + + + + @@ -39,4 +52,4 @@ - \ No newline at end of file + diff --git a/staccato-commons/pom.xml b/staccato-commons/pom.xml index 3536926..9707a98 100644 --- a/staccato-commons/pom.xml +++ b/staccato-commons/pom.xml @@ -12,6 +12,18 @@ com.planet.staccato staccato-commons + + + + com.google.cloud.tools + jib-maven-plugin + + + true + + + + org.springframework.boot @@ -51,4 +63,4 @@ - \ No newline at end of file + diff --git a/staccato-community/pom.xml b/staccato-community/pom.xml index 116061c..6cc9c1f 100644 --- a/staccato-community/pom.xml +++ b/staccato-community/pom.xml @@ -27,4 +27,17 @@ ${project.version} - \ No newline at end of file + + + + com.google.cloud.tools + jib-maven-plugin + + + true + + + + + + diff --git a/staccato-elasticsearch/pom.xml b/staccato-elasticsearch/pom.xml index 7552b76..0ccdf5a 100644 --- a/staccato-elasticsearch/pom.xml +++ b/staccato-elasticsearch/pom.xml @@ -16,6 +16,19 @@ 2.5.2 + + + + com.google.cloud.tools + jib-maven-plugin + + + true + + + + + com.planet.staccato @@ -92,4 +105,4 @@ - \ No newline at end of file +