Skip to content
Snippets Groups Projects
Commit 02f9da0c authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- changed buildsystem using 'maven' now

parent d0c15f0b
No related branches found
No related tags found
No related merge requests found
...@@ -57,9 +57,7 @@ test-job: ...@@ -57,9 +57,7 @@ test-job:
tags: tags:
- "docker" - "docker"
script: script:
- ls -lha /exlibris/ - ROSETTASDK=$ROSETTASDK mvn test
- ROSETTASDK=$ROSETTASDK make -e check_prerequisites
- ROSETTASDK=$ROSETTASDK make -e test
packaging-job: packaging-job:
stage: packaging stage: packaging
...@@ -67,7 +65,7 @@ packaging-job: ...@@ -67,7 +65,7 @@ packaging-job:
tags: tags:
- "docker" - "docker"
script: script:
- ROSETTASDK=$ROSETTASDK make -e - ROSETTASDK=$ROSETTASDK mvn install
artifacts: artifacts:
paths: paths:
- ./*.jar - target/*.jar
...@@ -8,8 +8,14 @@ you could test it using 'test.sh' ...@@ -8,8 +8,14 @@ you could test it using 'test.sh'
Compile Compile
------- -------
* make clean * mvn clean
* make * mvn compile
* mvn test
HINT: if you update the code you should also increase the value of the xpath
'pl:metadata-config/pl:version' in the file
PLUGIN-INF/metadata_SLUBRetroMonographieTIFFFormatValidationPlugin.xml to ensure Rosetta recognizes
the updated plugin
Install Install
------- -------
......
...@@ -21,6 +21,7 @@ RUN apt-get update; \ ...@@ -21,6 +21,7 @@ RUN apt-get update; \
openjdk-17-jdk \ openjdk-17-jdk \
junit4 \ junit4 \
git \ git \
maven \
; ;
RUN git clone https://github.com/ExLibrisGroup/Rosetta.dps-sdk-projects.git RUN git clone https://github.com/ExLibrisGroup/Rosetta.dps-sdk-projects.git
RUN ln -s ${EXLIBRIS_REPODIR} ${EXLIBRIS_PATH} RUN ln -s ${EXLIBRIS_REPODIR} ${EXLIBRIS_PATH}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment