Hi there!
I’m trying to create a Nexus maven Proxy repo using Nexus API.
If I’m using this conf -
"name": "internal",
"online": true,
"storage": {
"blobStoreName": "default",
"strictContentTypeValidation": true
},
"proxy": {
"remoteUrl": "http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/",
"contentMaxAge": 1440,
"metadataMaxAge": 1440
},
"negativeCache": {
"enabled": true,
"timeToLive": 1440
},
"maven": {
"versionPolicy": "MIXED",
"layoutPolicy": "STRICT"
}
I’m getting 400 ERROR -
"[ { "id": "PARAMETER httpClient", "message": "must not be null" } ]"
Does it refer to HTTP request setting? But why by creating the same manually , without HTTP request setting, works? I don’t wanna use neither HTTP request setting, or Authentication.
Also, if you’re trying to use the default conf, you will get
[
{
“id”: “FIELD password”,
“message”: “may not be empty”
}
]
That’s obvious if password is empty, but I don’t wanna use it. When creating manually, it works.
Would be thankful for any help.