From a2846ce150a199451de24d80e53e4c06d816acfb Mon Sep 17 00:00:00 2001 From: Lyn Elisa Goltz <goltz@lat-lon.de> Date: Mon, 22 Jan 2024 15:21:21 +0100 Subject: [PATCH] XPLANBOX-2216 - set WEB_CONTEXT to rename context to xplan-inspireplu --- .../xplan-webservices-inspireplu/pom.xml | 42 +++++++++++++------ 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/xplan-webservices/xplan-webservices-inspireplu/pom.xml b/xplan-webservices/xplan-webservices-inspireplu/pom.xml index e4eb73bdf..4af0a7d66 100644 --- a/xplan-webservices/xplan-webservices-inspireplu/pom.xml +++ b/xplan-webservices/xplan-webservices-inspireplu/pom.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>xplan-webservices-inspireplu</artifactId> <packaging>war</packaging> @@ -38,6 +39,21 @@ </properties> <build> <plugins> + <plugin> + <groupId>io.fabric8</groupId> + <artifactId>docker-maven-plugin</artifactId> + <configuration> + <images> + <image> + <build> + <args> + <WEB_CONTEXT>xplan-inspireplu</WEB_CONTEXT> + </args> + </build> + </image> + </images> + </configuration> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> @@ -56,18 +72,18 @@ </plugins> </build> <dependencies> - <dependency> <!-- faked maven dependency to be after volume initializer in the reactor build --> - <groupId>de.latlon.product.xplanbox</groupId> - <artifactId>xplan-docker-volume-init</artifactId> - <version>${project.version}</version> - <type>pom</type> - </dependency> - <dependency> <!-- faked maven dependency to be after xplan-database-docker image in the reactor build --> - <groupId>de.latlon.product.xplanbox</groupId> - <artifactId>xplan-database-docker</artifactId> - <version>${project.version}</version> - <type>pom</type> - </dependency> + <dependency> <!-- faked maven dependency to be after volume initializer in the reactor build --> + <groupId>de.latlon.product.xplanbox</groupId> + <artifactId>xplan-docker-volume-init</artifactId> + <version>${project.version}</version> + <type>pom</type> + </dependency> + <dependency> <!-- faked maven dependency to be after xplan-database-docker image in the reactor build --> + <groupId>de.latlon.product.xplanbox</groupId> + <artifactId>xplan-database-docker</artifactId> + <version>${project.version}</version> + <type>pom</type> + </dependency> </dependencies> </profile> </profiles> -- GitLab