Skip to content

Please consider a less generic name or path for the versions file #725

@Vampire

Description

@Vampire

I have this plugin and https://github.com/SonarSource/sonar-scanner-gradle in the same classpath.
Both plugins have the very generic /version.txt file in their JAR and read it to find out their own version.
This of course makes one of the plugins misidentify its version, in my case the SonarQube plugin thinks it is version 0.60.3 because this plugin comes first in the classpath.

It would be better to have a more unique name like refreshVersions-version.txt or the file moved to a path under the namespace of this plugin like de/fayard/refreshVersions/core/version.txt to minimize the risk of resource-name-clash with other plugins or libraries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions