Broken image?


#1

Im trying to build a project using Gitlab’s CI and Maven.
Here is valid CI:
image: maven:3-jdk-8

stages:

  • build

build:
stage: build
script:

  • mvn clean compile install -B
    artifacts:
    paths:
  • bootstrap/target/Waterfall.jar
    expire_in: 1 week

after_script:

  • echo “End CI”

After running:
“Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter”

“Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project waterfall-chat: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?”

Same configuration works on another project without any errors.
Thanks.