-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add configurations to use internal Nexus repository #810
Comments
Thank you @mh11. @braisvq1996 we will need to use the repositories only if |
If I read this correctly, that works for a controlled environment (e.g. Jenkins). |
@mh11 environment variables are a widely-used way of configuring an application, and proposed as part of the 12-factor apps approach. When using the EDP, this environment variable is automatically set. When using the component on a local machine, you need to set this by hand or as part of your .bashrc file (or similar). |
I know that the "hard-coded" URLs would interfere with EDP and would violate the 12-factor apps approach. But the ultimate question is, how to enable / support the user to get started with an enviroment, which could range from "nothing" to "multiple" configurations. In addition - what are the default resources a user should use (public vs internal). |
For gradle, you can add a |
@mh11 |
Is your feature request related to a problem? Please describe.
Building of new projects fail due to missing repository configuration.
Describe the solution you'd like
Adding the required configurations to the project would provide a solid foundation and consistency across projects.
e.g. A Java project using gradle requires the correct Nexus URL for code dependencies ( in build.gradle) and managing plugins (in settings.gradle)
Describe alternatives you've considered
An alternative is to allow the firewall to connect to all public repositories
Additional context
none
Example
settings.gradle
settings:The text was updated successfully, but these errors were encountered: