Skip to content

Commit 7466122

Browse files
committed
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 534d2f7 commit 7466122

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ limitations under the License.
358358
<invoker.streamLogsOnFailures>true</invoker.streamLogsOnFailures>
359359

360360
<!-- njord configuration -->
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)