Move more release instructions to the template (#30340)
* Move more release instructions to the template Sparked by discussion in #17432 * use newer version in example Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be> * point to sonatype for snapshots Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
This commit is contained in:
parent
dd13277195
commit
bbae718ef7
4 changed files with 38 additions and 81 deletions
|
|
@ -32,12 +32,7 @@ All Akka releases are published via Sonatype to Maven Central, see
|
|||
|
||||
## Snapshots Repository
|
||||
|
||||
Nightly builds are available in [https://repo.akka.io/snapshots](https://repo.akka.io/snapshots/) as both `SNAPSHOT` and
|
||||
timestamped versions.
|
||||
|
||||
For timestamped versions, pick a timestamp from
|
||||
[https://repo.akka.io/snapshots/com/typesafe/akka/](https://repo.akka.io/snapshots/com/typesafe/akka/).
|
||||
All Akka modules that belong to the same build have the same timestamp.
|
||||
Snapshot builds are available at [https://oss.sonatype.org/content/repositories/snapshots/com/typesafe/akka/](https://oss.sonatype.org/content/repositories/snapshots/com/typesafe/akka/). All Akka modules that belong to the same build have the same version.
|
||||
|
||||
@@@ warning
|
||||
|
||||
|
|
@ -50,14 +45,14 @@ The use of Akka SNAPSHOTs, nightlies and milestone releases is discouraged unles
|
|||
Make sure that you add the repository to the sbt resolvers:
|
||||
|
||||
```
|
||||
resolvers += "Akka Snapshots" at "https://repo.akka.io/snapshots/"
|
||||
resolvers += Resolver.sonatypeRepo("snapshots")
|
||||
```
|
||||
|
||||
Define the library dependencies with the timestamp as version. For example:
|
||||
Define the library dependencies with the complete version. For example:
|
||||
|
||||
@@@vars
|
||||
```
|
||||
libraryDependencies += "com.typesafe.akka" % "akka-remote_$scala.binary.version$" % "2.5-20170510-230859"
|
||||
libraryDependencies += "com.typesafe.akka" % "akka-remote_$scala.binary.version$" % "2.6.14+72-53943d99-SNAPSHOT"
|
||||
```
|
||||
@@@
|
||||
|
||||
|
|
@ -68,10 +63,12 @@ Make sure that you add the repository to the Maven repositories in pom.xml:
|
|||
```
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>akka-snapshots</id>
|
||||
<name>Akka Snapshots</name>
|
||||
<url>https://repo.akka.io/snapshots/</url>
|
||||
<id>oss-sonatype</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<layout>default</layout>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
```
|
||||
|
|
@ -84,7 +81,7 @@ Define the library dependencies with the timestamp as version. For example:
|
|||
<dependency>
|
||||
<groupId>com.typesafe.akka</groupId>
|
||||
<artifactId>akka-remote_$scala.binary.version$</artifactId>
|
||||
<version>2.5-20170510-230859</version>
|
||||
<version>2.6.14+72-53943d99-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue