Skip to content
Snippets Groups Projects
Commit 1abfcc82 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

docs: fix java, nuget endpoint->baseUrl packageRules

Ref: #7912 #7959
parent 592259ba
No related branches found
No related tags found
No related merge requests found
......@@ -40,26 +40,28 @@ Renovate will search repositories for all `pom.xml` files and processes them ind
Here is an example configuration to work with custom Artifactory servers using authentication:
```
```json
{
"maven": {
"enabled": true
},
"hostRules": [{
"hostType": "maven",
"endpoint": "https://artifactoryurl1/",
"username": "artifactoryusername",
"password": "artifactorypassword"
}, {
"hostType": "maven",
"endpoint": "https://artifactoryurl2/",
"username": "artifactoryusername",
"password": "artifactorypassword"
}],
"packageRules": [{
"managers": ["maven"],
"registryUrls": ["https://artifactoryurl1/", "https://artifactoryurl2/"]
}]
"hostRules": [
{
"hostType": "maven",
"baseUrl": "https://artifactoryurl1/",
"username": "artifactoryusername",
"password": "artifactorypassword"
},
{
"hostType": "maven",
"baseUrl": "https://artifactoryurl2/",
"username": "artifactoryusername",
"password": "artifactorypassword"
}
],
"packageRules": [
{
"managers": ["maven"],
"registryUrls": ["https://artifactoryurl1/", "https://artifactoryurl2/"]
}
]
}
```
......
......@@ -65,7 +65,7 @@ Credentials for authenticated/private feeds can be provided via host rules in th
"hostRules": [
{
"hostType": "nuget",
"endpoint": "http://example1.com/nuget",
"baseUrl": "http://example1.com/nuget",
"username": "root",
"password": "p4$$w0rd"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment