generated gradle project inside of maven project

171 Views Asked by At

I generated a maven application with jhipster. Now I want to add the spotbugs-check to my pipeline. The plugin says that there are two projects detected - one maven-project (the one I'm working on) and one gradle-project at /node_modules/generator-jhipster/generators/server/templates. I have no Idea where this gradle-project comes from and how I should handle it. The pipeline fails because this project can't be build... Can anyone tell me how to delete this project or how to make it build/ignore?[enter image description here][1]

I tried to exclude the directory from spotbugs buildpath, but it didn't work

My .gitlab-ci.yml looks like this:

variables:
  MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version"
  SECURE_LOG_LEVEL: "debug"
stages:
- sast

sast:
  stage: sast
include:
- template: Security/SAST.gitlab-ci.yml
0

There are 0 best solutions below