From 99b14f54903730620d45888f6cf14e4794e34f79 Mon Sep 17 00:00:00 2001
From: "Stefan E. Funk" <funk@sub.uni-goettingen.de>
Date: Wed, 2 Feb 2022 13:38:07 +0100
Subject: [PATCH] Add dep test

---
 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d6a440e1..a6c9722a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,6 @@
 variables:
+  # defaults to java 11 (https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#configuring-specific-analyzers-used-by-dependency-scanning)
+  DS_JAVA_VERSION: 8
   # This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
   # `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
   MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
@@ -12,6 +14,9 @@ variables:
   # File for storing the POM project.version
   VARIABLES_FILE: ./variables.txt
 
+include:
+  - template: Dependency-Scanning.gitlab-ci.yml
+
 ###################
 ###  TEMPLATES  ###
 ###################
@@ -32,6 +37,7 @@ variables:
     - fi
 
 stages:
+  - test
   - build_version
   - deploy_java
   - deploy_deb
-- 
GitLab