Skip to content
Snippets Groups Projects
Commit cfab9ad4 authored by František Dvořák's avatar František Dvořák
Browse files

GitLab CI: fix Xlint (must go to javac)

parent 20f602fa
No related branches found
No related tags found
No related merge requests found
Pipeline #758 passed
......@@ -11,7 +11,7 @@ cache:
variables:
MAVEN_OPTS: -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true
MAVEN_CLI_OPTS: --batch-mode --errors -DinstallAtEnd=true -DdeployAtEnd=true -Xlint:all
MAVEN_CLI_OPTS: --batch-mode --errors -DinstallAtEnd=true -DdeployAtEnd=true
build:
script:
......
......@@ -69,6 +69,9 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<compilerArguments>
<Xlint:all />
</compilerArguments>
<source>${project.source.version}</source>
<target>${project.target.version}</target>
</configuration>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment