From d81e264610e8225ac742346e366d069049cb2cad Mon Sep 17 00:00:00 2001 From: "Saralegui Vallejo, Unai" <unai.saralegui@tecnalia.com> Date: Wed, 16 Feb 2022 15:39:32 +0100 Subject: [PATCH] update maven readme --- maven-packages/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/maven-packages/README.md b/maven-packages/README.md index aa6bb8e..485a033 100644 --- a/maven-packages/README.md +++ b/maven-packages/README.md @@ -20,13 +20,12 @@ stages: - deploy ``` -Additionally the `mvn` program will look for the pom in the root of the repository, but typically we have all the java -package inside a folder, so we need to tell mvn to look for the pom in that folder, for doing so we have to overwrite the -`MAVEN_POM_DIR` variable defined in the [build.yml](build.yml) file. For doing so we have to write the following in ur CI file. +Additionally the `mvn` program will look for the pom file in the root of the repository, but typically we have all the java +files inside a folder, so we need to tell mvn to look for the pom in that folder, for doing so we have to overwrite the `MAVEN_POM_DIR` variable defined in the [build.yml](build.yml) file. For doing so we have to write the following in ur CI file, specifying the path of th directory in which the `pom.xml` is contained. ```yml variables: - POM_FILE: "{FOLDER}/pom.xml" + MAVEN_POM_DIR: "{FOLDER}" ``` @@ -50,7 +49,7 @@ include: - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/deploy.yml variables: - POM_FILE: "jv_lib_ai_client/pom.xml" + MAVEN_POM_DIR: "jv_lib_ai_client" stages: - build -- GitLab