=doc #3954 Clarify how to use snapshots with Maven
This commit is contained in:
parent
4ba1bc46fb
commit
4c2c152a8c
1 changed files with 15 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ The simplest way to get started with Akka and Maven is to check out the
|
|||
`Typesafe Activator <http://www.typesafe.com/platform/getstarted>`_
|
||||
tutorial named `Akka Main in Java <http://www.typesafe.com/activator/template/akka-sample-main-java>`_.
|
||||
|
||||
Since Akka is published to Maven Central (for versions since 2.1-M2), is it
|
||||
Since Akka is published to Maven Central (for versions since 2.1-M2), it is
|
||||
enough to add the Akka dependencies to the POM. For example, here is the
|
||||
dependency for akka-actor:
|
||||
|
||||
|
|
@ -132,6 +132,20 @@ dependency for akka-actor:
|
|||
<version>@version@</version>
|
||||
</dependency>
|
||||
|
||||
For snapshot versions, snapshot repository need to be added as well:
|
||||
|
||||
.. code-block:: xml
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>akka-snapshots</id>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
<url>http://repo.akka.io/snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
**Note**: for snapshot versions both ``SNAPSHOT`` and timestamped versions are published.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue