diff --git a/.travis.yml b/.travis.yml index ccebbb2bf..3cfd5392f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,13 @@ language: java sudo: false jdk: - oraclejdk8 +addons: + sonarcloud: + organization: "hsweb" + token: + secure: "fba01e9fb57104fd0cfbed380e8c90301e35ff09" script: - - mvn test + - mvn test sonar:sonar after_success: - bash <(curl -s https://codecov.io/bash) cache: diff --git a/hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-client/src/test/java/org/hswebframework/web/authorization/oauth2/client/simple/provider/HswebResponseConvertSupportTest.java b/hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-client/src/test/java/org/hswebframework/web/authorization/oauth2/client/simple/provider/HswebResponseConvertSupportTests.java similarity index 98% rename from hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-client/src/test/java/org/hswebframework/web/authorization/oauth2/client/simple/provider/HswebResponseConvertSupportTest.java rename to hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-client/src/test/java/org/hswebframework/web/authorization/oauth2/client/simple/provider/HswebResponseConvertSupportTests.java index 5aa2a64c2..6a24630c5 100644 --- a/hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-client/src/test/java/org/hswebframework/web/authorization/oauth2/client/simple/provider/HswebResponseConvertSupportTest.java +++ b/hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-client/src/test/java/org/hswebframework/web/authorization/oauth2/client/simple/provider/HswebResponseConvertSupportTests.java @@ -20,7 +20,7 @@ import static org.junit.Assert.*; * @author zhouhao * @since */ -public class HswebResponseConvertSupportTest { +public class HswebResponseConvertSupportTests { private HswebResponseConvertSupport convertSupport = new HswebResponseConvertSupport(new SimpleAuthenticationBuilderFactory(new SimpleDataAccessConfigBuilderFactory())); diff --git a/pom.xml b/pom.xml index 54dd10af6..5afafbe8c 100644 --- a/pom.xml +++ b/pom.xml @@ -198,19 +198,6 @@ - - - - - - - - - - - - - org.apache.maven.plugins