From 14d81063c62dcc60b2f7de890c6e12f3348b4b7d Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Tue, 15 Sep 2026 12:40:44 +0200 Subject: [PATCH] Add some more details about error 400 --- nmcp-tasks/src/main/kotlin/nmcp/transport/transport.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/nmcp-tasks/src/main/kotlin/nmcp/transport/transport.kt b/nmcp-tasks/src/main/kotlin/nmcp/transport/transport.kt index 8be8d23..e8896a7 100644 --- a/nmcp-tasks/src/main/kotlin/nmcp/transport/transport.kt +++ b/nmcp-tasks/src/main/kotlin/nmcp/transport/transport.kt @@ -137,6 +137,7 @@ internal class HttpTransport( appendLine("Your artifacts have proper extensions (.jar, .pom, ...).") appendLine("If publishing a XML file, the XML version is 1.0.") appendLine("If publishing a snapshot, the artifacts version is ending with `-SNAPSHOT`.") + appendLine("If this is a new project, you will need to publish a release before publisihng a snapshot.") } 401 -> { appendLine("Check your credentials")