Skip to content

Commit b40174c

Browse files
kwinslawekjaranowski
authored andcommitted
Configure njord publisher and releaseURL in pom
Otherwise people not having according `settings.xml` get misleading error messages during release. Compare with maveniverse/njord#162 (comment)
1 parent 450bd84 commit b40174c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,9 @@ limitations under the License.
357357
<sisuMavenPluginVersion>0.9.0.M4</sisuMavenPluginVersion>
358358
<invoker.streamLogsOnFailures>true</invoker.streamLogsOnFailures>
359359

360-
<!-- njord configuration -->
360+
<!-- njord configuration (https://maveniverse.eu/docs/njord/configuration/#njord-properties) -->
361+
<njord.releaseUrl>njord:template:release-sca</njord.releaseUrl>
362+
<njord.publisher>sonatype-cp</njord.publisher>
361363
<njord.autoPublish>true</njord.autoPublish>
362364
<njord.publishingType>automatic</njord.publishingType>
363365
<njord.waitForStates>true</njord.waitForStates>

src/site/markdown/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ Release manager should include the following sections in your personal `settings
1414
<id>sonatype-central-portal</id>
1515
<username>jqhacker</username> <!-- central portal token -->
1616
<password>SeCrEt</password> <!-- central portal token -->
17-
<configuration>
18-
<njord.publisher>sonatype-cp</njord.publisher>
19-
<njord.releaseUrl>njord:template:release-sca</njord.releaseUrl>
20-
</configuration>
2117
</server>
2218
</servers>
2319
</settings>

0 commit comments

Comments
 (0)