diff --git a/maven-packages/README.md b/maven-packages/README.md index aa6bb8e38338484e8e1de4cdf76285aa96d25356..485a03321708992b28a539c3a2f9c3345d6bfe7f 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