diff --git a/codenarc-converter/pom.xml b/codenarc-converter/pom.xml index bf75ff5b..c97de6a9 100644 --- a/codenarc-converter/pom.xml +++ b/codenarc-converter/pom.xml @@ -5,7 +5,7 @@ org.sonarsource.groovy groovy - 1.7-SNAPSHOT + 1.7-CIT-MVN-162-SNAPSHOT sonar-codenarc-converter diff --git a/pom.xml b/pom.xml index bbe8fdab..66248006 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ org.sonarsource.groovy groovy - 1.7-SNAPSHOT + 1.7-CIT-MVN-162-SNAPSHOT pom Sonar Groovy diff --git a/sonar-groovy-plugin/pom.xml b/sonar-groovy-plugin/pom.xml index ac4c0c59..76d74f8f 100644 --- a/sonar-groovy-plugin/pom.xml +++ b/sonar-groovy-plugin/pom.xml @@ -5,7 +5,7 @@ org.sonarsource.groovy groovy - 1.7-SNAPSHOT + 1.7-CIT-MVN-162-SNAPSHOT sonar-groovy-plugin diff --git a/sonar-groovy-plugin/src/main/java/org/sonar/plugins/groovy/jacoco/JaCoCoAnalyzer.java b/sonar-groovy-plugin/src/main/java/org/sonar/plugins/groovy/jacoco/JaCoCoAnalyzer.java index 0d1eb4b7..6fc3d45f 100644 --- a/sonar-groovy-plugin/src/main/java/org/sonar/plugins/groovy/jacoco/JaCoCoAnalyzer.java +++ b/sonar-groovy-plugin/src/main/java/org/sonar/plugins/groovy/jacoco/JaCoCoAnalyzer.java @@ -81,7 +81,7 @@ private InputFile getInputFile(ISourceFileCoverage coverage) { String path = getFileRelativePath(coverage); InputFile sourceInputFileFromRelativePath = groovyFileSystem.sourceInputFileFromRelativePath(path); - if (sourceInputFileFromRelativePath == null) { + if (sourceInputFileFromRelativePath == null && path.endsWith(".groovy")) { JaCoCoExtensions.logger().warn("File not found: " + path); } return sourceInputFileFromRelativePath;