Skip to content

@MavenRepository with credentials fails on spaces around equals sign #228

Closed
@exaV

Description

@exaV

Resolving dependencies fails if I use spaces around the = sign

this will fail (notices the spaces around the equals sign after user and password
// @file:MavenRepository("my-art", "http://localhost:8081/artifactory/authenticated_repo", user = "auth_user", password = "password")

without spaces it works
// @file:MavenRepository("my-art", "http://localhost:8081/artifactory/authenticated_repo", user="auth_user", password="password")

Unfortunately most auto-formatters will add the spaces around the equals sign, which makes the syntax currently unusable.

On a sidenote: Without specifying user= and password= the options are ignored altogether (repository is used but without authentication). I am not sure whether this is intended.

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