You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jm...@apache.org on 2018/01/04 07:17:11 UTC

[incubator-plc4x] branch master updated: fix version and add tests and coverage

This is an automated email from the ASF dual-hosted git repository.

jmclean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b64873  fix version and add tests and coverage
6b64873 is described below

commit 6b64873bcc9e36653f07d811434c607d403c5430
Author: Justin Mclean <jm...@apache.org>
AuthorDate: Thu Jan 4 18:16:58 2018 +1100

    fix version and add tests and coverage
---
 sonar-project.properties | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/sonar-project.properties b/sonar-project.properties
index 1c2f236..b101d62 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -1,17 +1,29 @@
 # must be unique in a given SonarQube instance
-sonar.projectKey=PLC4X	
+sonar.projectKey=PLC4X
 # this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
 sonar.projectName=PLC4X
-sonar.projectVersion=0.1
+sonar.projectVersion=0.0.1
  
 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
 # Since SonarQube 4.2, this property is optional if sonar.modules is set. 
 # If not set, SonarQube starts looking for source code from the directory containing 
 # the sonar-project.properties file.
-sonar.sources=./applications/iotree/src,./applications/plclogger/src,./integrations/apache-camel/src,./integrations/apache-edgent/src,./plc4j/api/src,./plc4j/core/src,./plc4j/protocols/s7/src,./plc4j/protocols/s7-utils/src,./plc4j/protocols/utils/src,./plc4j/src,./src
+sonar.sources=./applications/iotree/src/main,./applications/plclogger/src/main,./integrations/apache-camel/src/main,./integrations/apache-edgent/src/main,./plc4j/api/src/main,./plc4j/core/src/main,./plc4j/protocols/s7/src/main,./plc4j/protocols/s7-utils/src/main,./plc4j/protocols/utils/src/main
 
 # ignore tests (DRY vs WET)
-sonar.exclusions=**/*Tests.java,**/*Test.java,**/Mock*.java
+sonar.exclusions=**/*Tests.java,**/*Test.java,**/*Mock*.java
 
 # Encoding of the source code. Default is default system encoding
 #sonar.sourceEncoding=UTF-8
+
+#tests
+sonar.tests=./plc4j/api/src/test,./plc4j/core/src/test,./plc4j/core/target/test-classes/test,./plc4j/protocols/s7/src/test
+
+# test results
+sonar.junit.reportPaths=./plc4j/api/target/surefire-reports,./plc4j/core/target/surefire-reports,./plc4j/protocols/s7/target/surefire-report
+
+# coverage results
+sonar.jacoco.reportPaths=./plc4j/core/target/jacoco.exec,./plc4j/protocols/s7/target/jacoco.exec
+        
+# java classes - needed for coverage
+sonar.java.binaries=./applications/iotree/target/classes,./applications/plclogger/target/classes,./plc4j/api/target/classes,./plc4j/core/target/classes,./plc4j/protocols/s7/target/classes,./plc4j/protocols/s7-utils/target/classes,./plc4j/protocols/utils/target/classes
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
['"commits@plc4x.apache.org" <co...@plc4x.apache.org>'].