From 91380e4589ec63bd8378c7ed1749c1a9841d06de Mon Sep 17 00:00:00 2001 From: Matthew Horridge Date: Tue, 15 Oct 2024 07:18:53 -0700 Subject: [PATCH] Changes to incorporate major release of backend-api - Bumped version to 2.0.0 - Use 2.0.0-SNAPSHOT of backend api dependency, for now - Switch maven spotify plugin to maven exec plugin --- pom.xml | 51 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index fa89bc0..8a20116 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ edu.stanford.protege webprotege-gwt-api-gateway - 1.0.13 + 2.0.0 webprotege-gwt-api-gateway The API Gateway for the WebProtégé GWT User Interface @@ -153,7 +153,7 @@ edu.stanford.protege webprotege-backend-api - 1.0.24-WHO + 2.0.0-SNAPSHOT @@ -190,24 +190,47 @@ spring-boot-maven-plugin - com.spotify - dockerfile-maven-plugin - 1.4.13 + org.codehaus.mojo + exec-maven-plugin + 3.3.0 - default + docker-build + package - build + exec + + docker + ${project.basedir} + + build + -f + Dockerfile + --build-arg + JAR_FILE=${project.artifactId}-${project.version}.jar + -t + protegeproject/${project.artifactId}:${project.version} + . + + + + + docker-push + install + + exec + + + docker + ${project.basedir} + + push + protegeproject/${project.artifactId}:${project.version} + + - - protegeproject/${project.artifactId} - ${project.version} - - ${project.build.finalName}.jar - - org.apache.maven.plugins