Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build customizer for private repository which requires authentication #1064

Closed
chihaiaalex opened this issue Mar 3, 2020 · 1 comment
Closed

Comments

@chihaiaalex
Copy link

Hi,

Is there a way I can use an instance of a BuildCustomizer to add a private repository which requires authentication?

The way I used to configure it is:

maven {
            url 'http://link.to.my.private.repo:8081/artifactory/repo'
            credentials {
                username = "${artifactory_user}"
                password = "${artifactory_password}"
            }
        }

Where artifactory_user and artifactory_password are variables stored in gradle.properties.

Thanks!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 3, 2020
@snicoll
Copy link
Contributor

snicoll commented Mar 4, 2020

@chihaiaalex there is already an issue about supporting such construct, see #997.

@snicoll snicoll closed this as completed Mar 4, 2020
@snicoll snicoll added status: duplicate and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants