image: openjdk:8-stretch

stages:
  - build

variables:
  M2_HOME: ".m2/maven"
  MAVEN_OPTS: "-Dmaven.repo.local=.m2"

build:
  stage: build
  cache:
    paths:
      - .m2/
  script:
    - bash mvnw clean verify -P safer
image: openjdk:8-stretch

stages:
  - build

variables:
  M2_HOME: ".m2/maven"
  MAVEN_OPTS: "-Dmaven.repo.local=.m2"

build:
  stage: build
  cache:
    paths:
      - .m2/
  script:
    - bash mvnw clean verify -P safer

build-oracle-jdk-7:
  extends: build
  image: registry.gitlab.com/ongresinc/scram/oracle-jdk:7

Add oracle jdk 7 to gitlab CI
Add oracle jdk 7 to gitlab CI