-
Notifications
You must be signed in to change notification settings - Fork 5
Description
While it has worked in the last release of Tycho now I'm stuck (again) with this mysterious message.
Execution default-cli of goal eu.maveniverse.maven.plugins:njord:0.9.3:publish failed: Name '${forgeSnapshotId}' is not a name of known publisher nor is server ID with configured publisher
This is not only confusing but completely frustrating as there is no way to know whats wrong, log is completely silent, only things I see is
[INFO] --- njord:0.9.3:publish (default-cli) @ tycho ---
[INFO] Found one store, using it: 'tycho-00001'
I think in case of this error njord should print some details, e.g. what was tried, what was found and maybe a hint how to fix that. I have even no clue what this '${forgeSnapshotId} should be and where it comes from.
For context, I used this command mvn njord:publish -Dstore=tycho-00001 -Dpublisher=sonatype-cp and my settings.xml contains this:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>sonatype-cp</id>
<username>...</username>
<password>....</password>
<configuration>
<njord.publisher>sonatype-cp</njord.publisher>
<njord.releaseUrl>njord:template:release-sca</njord.releaseUrl>
</configuration>
</server>
</servers>
<pluginGroups>
<pluginGroup>eu.maveniverse.maven.plugins</pluginGroup>
</pluginGroups>
</settings>