change snapshot repo in docs (#170)

This commit is contained in:
PJ Fanning 2023-02-13 10:26:25 +01:00 committed by GitHub
parent 751ac2f2e3
commit bd3d3b39a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
## Source Code
Pekko uses Git and is hosted at [Github apache/pekko](https://github.com/apache/incubator-pekko).
Pekko uses Git and is hosted at [Github apache/incubator-pekko](https://github.com/apache/incubator-pekko).
## Releases Repository
@ -11,7 +11,7 @@ All Pekko releases are published via Sonatype to Maven Central, see
## Snapshots Repository
Snapshot builds are available at [https://oss.sonatype.org/content/repositories/snapshots/org/apache/pekko/](https://oss.sonatype.org/content/repositories/snapshots/org/apache/pekko/). All Pekko modules that belong to the same build have the same version.
Snapshot builds are available at [https://repository.apache.org/content/groups/snapshots/org/apache/pekko/](https://repository.apache.org/content/groups/snapshots/org/apache/pekko/). All Pekko modules that belong to the same build have the same version.
@@@ warning
@ -24,14 +24,14 @@ The use of Pekko SNAPSHOTs, nightlies and milestone releases is discouraged unle
Make sure that you add the repository to the sbt resolvers:
```
resolvers ++= "Apache Pekko Snapshots" at "https://nightlies.apache.org/pekko/snapshots"
resolvers ++= "Apache Pekko Snapshots" at "https://repository.apache.org/content/groups/snapshots"
```
Define the library dependencies with the complete version. For example:
@@@vars
```
libraryDependencies += "org.apache.pekko" % "pekko-remote_$scala.binary.version$" % "2.6.14+72-53943d99-SNAPSHOT"
libraryDependencies += "org.apache.pekko" % "pekko-remote_$scala.binary.version$" % "0.0.0+26565-a07a08f6-SNAPSHOT"
```
@@@
@ -43,7 +43,7 @@ Make sure that you add the repository to the Maven repositories in pom.xml:
<repositories>
<repository>
<id>apache-pekko-snapshots</id>
<url>https://nightlies.apache.org/pekko/snapshots</url>
<url>https://repository.apache.org/content/groups/snapshots</url>
<layout>default</layout>
<snapshots>
<enabled>true</enabled>
@ -60,7 +60,7 @@ Define the library dependencies with the timestamp as version. For example:
<dependency>
<groupId>org.apache.pekko</groupId>
<artifactId>pekko-remote_$scala.binary.version$</artifactId>
<version>2.6.14+72-53943d99-SNAPSHOT</version>
<version>0.0.0+26565-a07a08f6-SNAPSHOT</version>
</dependency>
</dependencies>
```