Skip to content

sonar.projecBaseDir property ignored with plugin is installed #95

@Nereide-lab

Description

@Nereide-lab

Hi, i'm new to sonar, and still testing things.
I noticed that with the groovy plugin installed the sonar.projectBaseDir seems to be ignored.
The sonar then scans the whole computer (localy i get info log about to much links in .steam/... folder.

I use the latest plugin version (sonar-grovy-plugin-1.8.jar) downloaded from git and copy past in extensions/plugin/ folder
And the sonar scan gets lauched from gradle task

./gradlew -v
------------------------------------------------------------
Gradle 6.5
------------------------------------------------------------

Build time:   2020-06-02 20:46:21 UTC
Revision:     a27f41e4ae5e8a41ab9b19f8dd6d86d7b384dad4

Kotlin:       1.3.72
Groovy:       2.5.11
Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM:          11.0.17 (Oracle Corporation 11.0.17+1)
OS:           Linux 5.15.81-1-MANJARO amd64
// build.gradle
plugins {
    id 'application'
    id 'groovy'
    id 'eclipse'
    id 'checkstyle'
    id 'maven-publish'
    id 'at.bxm.svntools' version '2.2.1' // Don't update as long as we don't use Java 11, it's needed by version 3
    id 'org.asciidoctor.convert' version '2.4.0' // About org.asciidoctor.jvm.convert as it says itself: "If you need a production-ready version of the AsciidoctorJ plugin for Gradle use a 1.5.x release of 'org.asciidoctor.convert' instead"
    id 'org.owasp.dependencycheck' version '6.3.1' apply false
    id 'se.patrikerdes.use-latest-versions' version '0.2.17' apply false
    id 'com.github.ben-manes.versions' version '0.39.0' apply false
    id "com.github.ManifestClasspath" version "0.1.0-RELEASE"
    id "com.github.node-gradle.node" version "3.1.0"
    id "org.sonarqube" version "3.5.0.2730"
}

Would you have an explanatoin or workaround ?
If there is any more info needed please let me know

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions