Hi @TomVanBraband,
I resolved code coverage problem! and now i have 100%
However i have problem with token 
Below Steps i have followed :
Step 1:
In pom i have below configuration for sonar.

It is worked perfectly : below is the result:
For Step 1 , Token i have taken from below location :

Step 1 worked perfectly!!!
Step 2:
with same token i generated secure token using following way.
Step 3:
i made change in Pom file:
I put just only below config of sonar in pom
![]()
Rest all sonar related configuration removed
Step 4:
Configured .travis.yml with below configuration
matrix:
include:
# always build this environment
- os: linux
dist: xenial
jdk: openjdk8
env: ADDITIONAL_MAVEN_ARGS="-Pjacoco coveralls:report"
# only on PR
- os: linux
dist: xenial
jdk: openjdk8
if: type IN (pull_request)
# only on PR or after merging a PR
- os: osx
osx_image: xcode10.1
if: type IN (pull_request) OR commit_message =~ /^Merge pull request/
addons:
sonarcloud:
organization: “josephthachilgeorge”
token:
secure: “XXXXXXXXXXXXXX” # encrypted value of your token
install: true
cache:
directories:
- $HOME/.m2
script:
- mvn -f spring-project/pom.xml clean verify $ADDITIONAL_MAVEN_ARGS
- mvn -f spring-project/pom.xml clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=JosephThachilGeorge_ATTSD
Result in Travis build:
Kindly let me know where i have done mistake? thanks for your help


