Skip to content

Commit c2687d6

Browse files
alvarolobatofelixbarny
authored andcommitted
Maven settings file for snapshot and release upload to maven central
1 parent 48517f0 commit c2687d6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.ci/settings.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
2+
<localRepository>/var/lib/jenkins/.m2/repository</localRepository>
3+
<pluginGroups>
4+
<pluginGroup>org.apache.maven.plugins</pluginGroup>
5+
<pluginGroup>org.codehaus.mojo</pluginGroup>
6+
</pluginGroups>
7+
<servers>
8+
<server>
9+
<id>sonatype-nexus-snapshots</id>
10+
<username>${env.SERVER_USERNAME}</username>
11+
<password>${env.SERVER_PASSWORD}</password>
12+
</server>
13+
<server>
14+
<id>sonatype-nexus-staging</id>
15+
<username>${env.SERVER_USERNAME}</username>
16+
<password>${env.SERVER_PASSWORD}</password>
17+
</server>
18+
</servers>
19+
</settings>

0 commit comments

Comments
 (0)