Skip to content

Commit

Permalink
Changed product version "0.2-SNAPSHOT" -> "0.2" in pom.xml and README…
Browse files Browse the repository at this point in the history
….md.

Added staging nexus repository
Disabled default maven deploy stage.
  • Loading branch information
Roman Nyukhalov authored and Roman Nyukhalov committed Dec 16, 2015
1 parent 82ad76c commit 2fd3774
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -33,7 +33,7 @@ Add the following to your maven configuration or taylor to your own dependency m
<dependency>
<groupId>com.2gis.cartoshka</groupId>
<artifactId>cartoshka</artifactId>
<version>0.2-SNAPSHOT</version>
<version>0.2</version>
</dependency>
</dependencies>
```
Expand Down
19 changes: 16 additions & 3 deletions pom.xml
Expand Up @@ -6,7 +6,7 @@

<groupId>com.2gis.cartoshka</groupId>
<artifactId>cartoshka</artifactId>
<version>0.2-SNAPSHOT</version>
<version>0.2</version>
<packaging>jar</packaging>

<name>cartoshka</name>
Expand Down Expand Up @@ -66,9 +66,15 @@

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>

<build>
Expand All @@ -91,13 +97,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${maven-nexus-staging-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
Expand Down

0 comments on commit 2fd3774

Please sign in to comment.