Browse Source

Merge remote-tracking branch 'origin/master'

zhouhao 7 years ago
parent
commit
545edd2ce7

+ 1 - 3
.travis.yml

@@ -1,13 +1,11 @@
 language: java
 sudo: false
-install: true
 jdk:
   - oraclejdk8
 script:
-  - mvn cobertura:cobertura
+  - mvn test
 after_success:
   - bash <(curl -s https://codecov.io/bash)
 cache:
   directories:
     - '$HOME/.m2/repository'
-    - '$HOME/.sonar/cache'

+ 4 - 0
ISSUE_TEMPLATE.md

@@ -0,0 +1,4 @@
+
+1. Bugs,如果你发现了项目中存在bug,请详细描述bug存在的位置,复现的条件,以及bug引起的问题.如果可能,尽量提供复现代码.
+2. 新特性,如果你觉得项目中的某些功能不够好,或者不能满足您的需求,你可以对需求进行详细描述,我会酌情改进.
+3. 项目中遇到疑问,请确定已经看过wiku中的内容,并且在issues中未找到你需要的答案,你可以加入qq群`515649185`询问或者直接提issue.

+ 1 - 1
hsweb-system/hsweb-system-schedule/hsweb-system-schedule-starter/src/test/resources/application.yml

@@ -20,5 +20,5 @@ mybatis:
 server:
   port: 8080
 scheduler:
-  enable-cluster: true
+  enable-cluster: false
   execute-tags: core

+ 29 - 10
pom.xml

@@ -180,17 +180,36 @@
 
         <plugins>
             <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>
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <version>0.8.0</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>report</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>report</goal>
+                        </goals>
+                    </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>