Skip to content
Snippets Groups Projects
Commit d81e2646 authored by Saralegui Vallejo, Unai's avatar Saralegui Vallejo, Unai
Browse files

update maven readme

parent 6353c19e
No related branches found
No related tags found
No related merge requests found
...@@ -20,13 +20,12 @@ stages: ...@@ -20,13 +20,12 @@ stages:
- deploy - deploy
``` ```
Additionally the `mvn` program will look for the pom in the root of the repository, but typically we have all the java Additionally the `mvn` program will look for the pom file 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 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.
`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.
```yml ```yml
variables: variables:
POM_FILE: "{FOLDER}/pom.xml" MAVEN_POM_DIR: "{FOLDER}"
``` ```
...@@ -50,7 +49,7 @@ include: ...@@ -50,7 +49,7 @@ include:
- https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/deploy.yml - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/deploy.yml
variables: variables:
POM_FILE: "jv_lib_ai_client/pom.xml" MAVEN_POM_DIR: "jv_lib_ai_client"
stages: stages:
- build - build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment