Commit ff819340 authored by Denis Konovalyenko's avatar Denis Konovalyenko

Artifacts published to Sonatype.

parent 9db68247
......@@ -2,26 +2,26 @@
<settings>
<servers>
<server>
<id>osshr</id>
<id>nexus</id>
<username>${MAVEN_REPO_USER}</username>
<password>${MAVEN_REPO_PASS}</password>
</server>
<!--<server>-->
<!--<id>osshrs</id>-->
<!--<id>ossrhs</id>-->
<!--<username>${MAVEN_REPO_USER}</username>-->
<!--<password>${MAVEN_REPO_PASS}</password>-->
<!--</server>-->
<server>
<id>gitlab</id>
<configuration>
<httpHeaders>
<property>
<name>Job-Token</name>
<value>${CI_JOB_TOKEN}</value>
</property>
</httpHeaders>
</configuration>
</server>
<!--<server>-->
<!--<id>gitlab</id>-->
<!--<configuration>-->
<!--<httpHeaders>-->
<!--<property>-->
<!--<name>Job-Token</name>-->
<!--<value>${CI_JOB_TOKEN}</value>-->
<!--</property>-->
<!--</httpHeaders>-->
<!--</configuration>-->
<!--</server>-->
</servers>
<profiles>
......
......@@ -42,28 +42,43 @@
<url>https://bitbucket.org/okapiframework/xliff-toolkit/src</url>
</scm>
<distributionManagement>
<repository>
<id>nexus</id>
<name>Sonatype Releases</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>nexus</id>
<name>Sonatype Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<!--<distributionManagement>-->
<!--<repository>-->
<!--<id>ossrh</id>-->
<!--<id>nexus</id>-->
<!--<name>Nexus Releases for Uploads</name>-->
<!--<url>http://91.211.13.180:8081/nexus/content/repositories/releases/</url>-->
<!--</repository>-->
<!--<snapshotRepository>-->
<!--<id>ossrh</id>-->
<!--<id>nexus</id>-->
<!--<name>Nexus Snapshots for Uploads</name>-->
<!--<url>http://91.211.13.180:8081/nexus/content/repositories/snapshots/</url>-->
<!--</snapshotRepository>-->
<!--</distributionManagement>-->
<distributionManagement>
<repository>
<id>gitlab</id>
<url>https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/maven</url>
</repository>
<snapshotRepository>
<id>gitlab</id>
<url>https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/maven</url>
</snapshotRepository>
</distributionManagement>
<!--<distributionManagement>-->
<!--<repository>-->
<!--<id>gitlab</id>-->
<!--<url>https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/maven</url>-->
<!--</repository>-->
<!--<snapshotRepository>-->
<!--<id>gitlab</id>-->
<!--<url>https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/maven</url>-->
<!--</snapshotRepository>-->
<!--</distributionManagement>-->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......@@ -213,14 +228,14 @@
<!--</gpgArguments>-->
<!--</configuration>-->
</plugin>
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-deploy-plugin</artifactId>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<!--<version>2.8.2</version>-->
<!--<configuration>-->
<!--<skip>true</skip>-->
<!--</configuration>-->
<!--</plugin>-->
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
......@@ -236,13 +251,13 @@
</execution>
</executions>
<configuration>
<serverId>gitlab</serverId>
<nexusUrl>https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/maven/</nexusUrl>
<!--<serverId>ossrh</serverId>-->
<serverId>nexus</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!--<nexusUrl>http://91.211.13.180:8081/nexus/</nexusUrl>-->
<!--<serverId>gitlab</serverId>-->
<!--<nexusUrl>https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/maven/</nexusUrl>-->
<!-- Set this to true and the release will automatically proceed and sync to Central Repository will follow -->
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<!--<skipLocalStaging>true</skipLocalStaging>-->
</configuration>
</plugin>
</plugins>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment