MediaManager-core/qodana.yaml

21 lines
1.2 KiB
YAML

####################################################################################################################
# WARNING: Do not store sensitive information in this file, as its contents will be included in the Qodana report. #
####################################################################################################################
version: "1.0"
# Use canonical linter name to avoid image warnings and CLI flag issues
linter: qodana-jvm
profile:
name: qodana.recommended
bootstrap: |
# Generate sources (including protobuf) so Qodana resolves imports correctly.
# Single-line POSIX-safe chain to avoid /bin/sh parsing issues in CI (no brackets in output).
chmod +x ./mvnw >/dev/null 2>&1 || true; ./mvnw -B -q -DskipTests -DskipITs=true generate-sources >/dev/null 2>&1 || sh ./mvnw -B -q -DskipTests -DskipITs=true generate-sources >/dev/null 2>&1 || mvn -B -q -DskipTests -DskipITs=true generate-sources >/dev/null 2>&1 || echo "Qodana bootstrap: Maven not available; skipping source generation"
include:
- name: CheckDependencyLicenses
exclude:
# Exclude generated sources from inspections to reduce noise
- name: All
paths:
- target/generated-sources/**
- target/protoc-dependencies/**