zhouhao 7 years ago
parent
commit
e0395a166e

+ 6 - 1
.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:

+ 1 - 1
hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-client/src/test/java/org/hswebframework/web/authorization/oauth2/client/simple/provider/HswebResponseConvertSupportTest.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()));
 

+ 0 - 13
pom.xml

@@ -198,19 +198,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <!--<plugin>-->
-                <!--<groupId>org.codehaus.mojo</groupId>-->
-                <!--<artifactId>cobertura-maven-plugin</artifactId>-->
-                <!--<version>2.7</version>-->
-                <!--<configuration>-->
-                    <!--<formats>-->
-                        <!--<format>html</format>-->
-                        <!--<format>xml</format>-->
-                    <!--</formats>-->
-                    <!--<check />-->
-                <!--</configuration>-->
-            <!--</plugin>-->
-
 
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>