Skip to content

Commit

Permalink
Changed to distribution to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrszul committed Jul 12, 2017
1 parent e50565e commit 575899a
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,24 @@
</scm>


<!-- DODO: change to ossrh below -->
<distributionManagement>
<repository>
<id>pbdava-nexus</id>
<name>Internal Releases</name>
<url>http://pbdava-dev.it.csiro.au:8081/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>pbdava-nexus</id>
<name>Internal Releases</name>
<url>http://pbdava-dev.it.csiro.au:8081/nexus/content/repositories/snapshots</url>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<!-- The release repository is define in the `nexus-staging-maven-plugin` -->
</distributionManagement>

<!--distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository> </distributionManagement -->

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<scala.binary.version>2.11</scala.binary.version>
<scala.version>2.11.8</scala.version>
<spark.version>2.1.0</spark.version>
<sonata.autorelease>false</sonata.autorelease>
</properties>

<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
Expand Down Expand Up @@ -252,6 +244,17 @@
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>${sonata.autorelease}</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit 575899a

Please sign in to comment.