Skip to content

Commit

Permalink
Maven settings file for snapshot and release upload to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarolobato authored and felixbarny committed Aug 7, 2018
1 parent 48517f0 commit c2687d6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .ci/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<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">
<localRepository>/var/lib/jenkins/.m2/repository</localRepository>
<pluginGroups>
<pluginGroup>org.apache.maven.plugins</pluginGroup>
<pluginGroup>org.codehaus.mojo</pluginGroup>
</pluginGroups>
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>${env.SERVER_USERNAME}</username>
<password>${env.SERVER_PASSWORD}</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>${env.SERVER_USERNAME}</username>
<password>${env.SERVER_PASSWORD}</password>
</server>
</servers>
</settings>

0 comments on commit c2687d6

Please sign in to comment.