File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -229,15 +229,12 @@ jobs:
229229 - restore_cache :
230230 name : Restore Sonar cache
231231 key : sonar-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/maven_cache_seed" }}
232- - run :
233- name : Build
234- command : mvn verify -Pstatic-code-analysis -Dmaven.test.skip -Dgpg.skip -Dmaven.javadoc.skip
235232 - run :
236233 name : Test
237234 command : mvn verify -am -pl test-functional -Pstatic-code-analysis -Dgpg.skip -Dmaven.javadoc.skip
238235 - run :
239236 name : Analyze
240- command : mvn verify -Dmaven.test.skip -Dgpg.skip -Dmaven.javadoc.skip org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=arangodb_arangodb-java-driver
237+ command : mvn verify -Pstatic-code-analysis - Dmaven.test.skip -Dgpg.skip -Dmaven.javadoc.skip org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=arangodb_arangodb-java-driver
241238 - save_cache :
242239 name : Save Sonar cache
243240 key : sonar-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/maven_cache_seed" }}
@@ -350,6 +347,7 @@ workflows:
350347 - ' cluster'
351348 args :
352349 - ' -DenableSlowTests=true'
350+
353351 test-adb-topology :
354352 when : <<pipeline.parameters.docker-img>>
355353 jobs :
Original file line number Diff line number Diff line change 1818 <properties >
1919 <maven .deploy.skip>false</maven .deploy.skip>
2020 <moduleName >com.arangodb.driver</moduleName >
21+ <sonar .test.exclusions>src/test/**/*</sonar .test.exclusions>
2122 </properties >
2223
2324 <build >
Original file line number Diff line number Diff line change 4444 <maven .deploy.skip>true</maven .deploy.skip>
4545 <sonar .host.url>https://sonarcloud.io</sonar .host.url>
4646 <sonar .organization>arangodb-1</sonar .organization>
47- <sonar .test.exclusions>src/test/**/*</sonar .test.exclusions>
47+ <sonar .java.spotbugs.reportPaths>target/spotbugsXml.xml</sonar .java.spotbugs.reportPaths>
48+ <sonar .coverage.jacoco.xmlReportPaths>site/jacoco/jacoco.xml</sonar .coverage.jacoco.xmlReportPaths>
4849 <graalvm .version>23.1.1</graalvm .version>
4950 </properties >
5051
Original file line number Diff line number Diff line change 190190 </executions >
191191 <configuration >
192192 <dataFile >../test-functional/target/jacoco.exec</dataFile >
193+ <formats >
194+ <format >XML</format >
195+ </formats >
193196 </configuration >
194197 </plugin >
195198 </plugins >
Original file line number Diff line number Diff line change 1616 <properties >
1717 <maven .build.cache.enabled>false</maven .build.cache.enabled>
1818 <adb .jackson.version>2.17.1</adb .jackson.version>
19+ <sonar .skip>true</sonar .skip>
1920 </properties >
2021
2122 <dependencies >
You can’t perform that action at this time.
0 commit comments