mirror of
https://github.com/BentoBoxWorld/AcidIsland.git
synced 2024-11-26 20:55:50 +01:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
02ab3a04cf
@ -2,18 +2,16 @@ language: java
|
|||||||
sudo: false
|
sudo: false
|
||||||
addons:
|
addons:
|
||||||
sonarcloud:
|
sonarcloud:
|
||||||
organization: "tastybento-github"
|
organization: "bentobox-world"
|
||||||
token:
|
token:
|
||||||
secure: $SONAR_TOKEN
|
secure: $SONAR_TOKEN
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
- master
|
|
||||||
jdk:
|
jdk:
|
||||||
- openjdk8
|
- openjdk8
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# JaCoCo is used to have code coverage, the agent has to be activated
|
# JaCoCo is used to have code coverage, the agent has to be activated
|
||||||
#- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent org.jacoco:jacoco-maven-plugin:report package sonar:sonar
|
#- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent org.jacoco:jacoco-maven-plugin:report package sonar:sonar
|
||||||
|
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=BentoBoxWorld_AcidIsland
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
17
pom.xml
17
pom.xml
@ -112,14 +112,14 @@
|
|||||||
<id>sonar</id>
|
<id>sonar</id>
|
||||||
<properties>
|
<properties>
|
||||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||||
<sonar.organization>tastybento-github</sonar.organization>
|
<sonar.organization>bentobox-world</sonar.organization>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.sonarsource.scanner.maven</groupId>
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
||||||
<artifactId>sonar-maven-plugin</artifactId>
|
<artifactId>sonar-maven-plugin</artifactId>
|
||||||
<version>3.4.1.1168</version>
|
<version>3.6.0.1398</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>verify</phase>
|
<phase>verify</phase>
|
||||||
@ -183,6 +183,15 @@
|
|||||||
<version>${bentobox.version}</version>
|
<version>${bentobox.version}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- Static analysis -->
|
||||||
|
<!-- We are using Eclipse's annotations. If you're using IDEA, update
|
||||||
|
your project settings to take these into account for in real time static
|
||||||
|
analysis -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jdt</groupId>
|
||||||
|
<artifactId>org.eclipse.jdt.annotation</artifactId>
|
||||||
|
<version>2.2.200</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
@ -311,8 +320,8 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<append>true</append>
|
<append>true</append>
|
||||||
<excludes>
|
<excludes>
|
||||||
<!-- This is required to prevent Jacoco from adding synthetic fields
|
<!-- This is required to prevent Jacoco from adding
|
||||||
to a JavaBean class (causes errors in testing) -->
|
synthetic fields to a JavaBean class (causes errors in testing) -->
|
||||||
<exclude>**/*Names*</exclude>
|
<exclude>**/*Names*</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
Loading…
Reference in New Issue
Block a user