diff --git a/.travis.yml b/.travis.yml index d9d5f5e..031758f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,18 +2,21 @@ language: java sudo: false addons: sonarcloud: - organization: "tastybento-github" + organization: "bentobox-world" token: secure: $SONAR_TOKEN - branches: - - develop - - master + jdk: - openjdk8 + - openjdk11 + +matrix: + allow_failures: + - jdk: openjdk11 + script: - #- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package -P sonar sonar:sonar -B - #- echo "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}" + - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=BentoBoxWorld_BSkyBlock cache: directories: - '$HOME/.m2/repository' diff --git a/pom.xml b/pom.xml index 22e8368..ae17741 100644 --- a/pom.xml +++ b/pom.xml @@ -1,20 +1,20 @@ - 4.0.0 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - world.bentobox - bskyblock - ${revision} + world.bentobox + bskyblock + ${revision} - BSkyBlock - BSkyBlock is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like SkyBlock or AcidIsland. - https://github.com/BentoBoxWorld/BSkyBlock - 2017 + BSkyBlock + BSkyBlock is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like SkyBlock or AcidIsland. + https://github.com/BentoBoxWorld/BSkyBlock + 2017 - + tastybento tastybento@bentobox.world -8 @@ -24,34 +24,34 @@ - - scm:git:https://github.com/BentoBoxWorld/BSkyBlock.git - scm:git:git@github.com:BentoBoxWorld/BSkyBlock.git - https://github.com/BentoBoxWorld/BSkyBlock - + + scm:git:https://github.com/BentoBoxWorld/BSkyBlock.git + scm:git:git@github.com:BentoBoxWorld/BSkyBlock.git + https://github.com/BentoBoxWorld/BSkyBlock + - - jenkins - http://ci.codemc.org/job/BentoBoxWorld/job/BSkyBlock - + + jenkins + http://ci.codemc.org/job/BentoBoxWorld/job/BSkyBlock + - - GitHub - https://github.com/BentoBoxWorld/BSkyBlock/issues - + + GitHub + https://github.com/BentoBoxWorld/BSkyBlock/issues + - - - codemc-snapshots - https://repo.codemc.org/repository/maven-snapshots - - - codemc-releases - https://repo.codemc.org/repository/maven-releases - - + + + codemc-snapshots + https://repo.codemc.org/repository/maven-snapshots + + + codemc-releases + https://repo.codemc.org/repository/maven-releases + + - + UTF-8 UTF-8 1.8 @@ -66,13 +66,14 @@ -LOCAL 1.9.0 - + - - + + ci @@ -85,10 +86,14 @@ - - - - + + + + master @@ -99,18 +104,42 @@ ${build.version} - + + + sonar + + https://sonarcloud.io + tastybento-github + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.4.1.1168 + + + verify + + sonar + + + + + + + - - - - spigot-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots - - + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots + + codemc https://repo.codemc.org/repository/maven-snapshots/ @@ -118,9 +147,9 @@ codemc-repo https://repo.codemc.org/repository/maven-public/ - + - + org.spigotmc @@ -147,124 +176,126 @@ ${powermock.version} test - - world.bentobox - bentobox - ${bentobox.version} - provided - - + + world.bentobox + bentobox + ${bentobox.version} + provided + + - - - + + + - + ${project.name}-${revision}${build.number} - - clean package - - - - src/main/resources - true - - - src/main/resources/locales - ./locales - false - - *.yml - - - - src/main/resources/blueprints - ./blueprints - false - - *.blu - *.json - - - - - - org.apache.maven.plugins - maven-clean-plugin - 3.1.0 - - - org.apache.maven.plugins - maven-resources-plugin - 3.1.0 - - - blu - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - ${java.version} - ${java.version} - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.0 - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.0 - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.0.1 - - public - false - -Xdoclint:none - - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.5.2 - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8.2 - + + clean package + + + + src/main/resources + true + + + src/main/resources/locales + ./locales + false + + *.yml + + + + src/main/resources/blueprints + ./blueprints + false + + *.blu + *.json + + + + + + org.apache.maven.plugins + maven-clean-plugin + 3.1.0 + + + org.apache.maven.plugins + maven-resources-plugin + 3.1.0 + + + blu + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + ${java.version} + ${java.version} + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.0 + + + org.apache.maven.plugins + maven-jar-plugin + 3.1.0 + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.1 + + public + false + -Xdoclint:none + + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-install-plugin + 2.5.2 + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + org.jacoco jacoco-maven-plugin @@ -292,7 +323,7 @@ - - + + \ No newline at end of file