diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45a2e3ecf8f42b962dd6f0a50c5db80a39b622aa..a140b32497439e62d7b6d266eba3de1312514135 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,8 +6,19 @@ cache: paths: - .m2/repository -test: +stages: + - build + - test + +build: + stage: build image: maven:3-openjdk-11 + script: "mvn clean package -B" + artifacts: + paths: + - target/*.jar + +test: stage: test - script: - - mvn --no-transfer-progress test + image: maven:3-openjdk-11 + script: "mvn verify -B" diff --git a/pom.xml b/pom.xml index 8fc7d1fd967d1c09c026830d80d888ecccdafee9..9330731198edc3c4ba6452054b0099fff108661d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,19 +5,19 @@ <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> - <version>2.5.3</version> + <version>2.6.3</version> <relativePath/> </parent> <groupId>de.landsh.opendata</groupId> <artifactId>dcat-catalog-proxy</artifactId> - <version>1.1</version> + <version>1.2</version> <name>dcat-catalog-proxy</name> <description>DCAT catalog proxy</description> <properties> <java.version>1.8</java.version> - <jena.version>3.15.0</jena.version> + <jena.version>4.4.0</jena.version> </properties> <dependencies>