Skip to content

Commit 0c1a004

Browse files
mosabuawendigo
authored andcommitted
Add settings required to release with njord
1 parent 0077dfd commit 0c1a004

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.mvn/maven.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-s
2+
${session.rootDirectory}/.mvn/settings.xml

.mvn/settings.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<settings>
2+
<pluginGroups>
3+
<pluginGroup>eu.maveniverse.maven.plugins</pluginGroup>
4+
</pluginGroups>
5+
<servers>
6+
<server>
7+
<id>sonatype-central-portal</id>
8+
<username>${env.MAVENCENTRAL_USERNAME}</username>
9+
<password>${env.MAVENCENTRAL_PASSWORD}</password>
10+
<configuration>
11+
<njord.publisher>sonatype-cp</njord.publisher>
12+
<njord.releaseUrl>njord:template:release-sca</njord.releaseUrl>
13+
</configuration>
14+
</server>
15+
</servers>
16+
</settings>

0 commit comments

Comments
 (0)