Skip to content

Add support for custom maven repositories with credentials #997

Open
@tgeens

Description

@tgeens

In our custom instance we would like to add a maven repository which requires credentials.

For maven projects, this works because the user can define the credentials in ~/.m2/settings.xml while referencing the maven repository-id.

For gradle projects this doesn't work. The gradle-way to accomplish this, looks like this:

maven {
       url 'https://artifacts.mycompany.com/snapshots'
       credentials {
                username property("com.mycompany.artifacts.username")
                password property("com.mycompany.artifacts.password")
        }
}

This is currently not supported by Initializr.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions