Skip to content

Commit 062e61d

Browse files
author
hchar
committed
add doc to enable download snapshot jar from maven
1 parent 2094eac commit 062e61d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,22 @@ You can download the [latest snapshot release][download] or pick it up from Mave
105105
<artifactId>aws-dynamodb-encryption-java</artifactId>
106106
<version>0.0.3-SNAPSHOT</version>
107107
</dependency>
108+
...
109+
<!-- To enable maven dependency on snapshot jar -->
110+
<profiles>
111+
<profile>
112+
<id>allow-snapshots</id>
113+
<activation><activeByDefault>true</activeByDefault></activation>
114+
<repositories>
115+
<repository>
116+
<id>snapshots-repo</id>
117+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
118+
<releases><enabled>false</enabled></releases>
119+
<snapshots><enabled>true</enabled></snapshots>
120+
</repository>
121+
</repositories>
122+
</profile>
123+
</profiles>
108124
```
109125

110126
## Supported Algorithms
@@ -144,4 +160,4 @@ For signing, the user specified signing key can be either symmetric or asymmetri
144160
[materialprovider]: src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/EncryptionMaterialsProvider.java
145161
[privatekey]: http://docs.oracle.com/javase/7/docs/api/java/security/PrivateKey.html
146162
[secretkey]: http://docs.oracle.com/javase/7/docs/api/javax/crypto/SecretKey.html
147-
[download]: https://github.com/awslabs/aws-dynamodb-encryption-java/releases/tag/0.0.3-SNAPSHOT
163+
[download]: https://github.com/awslabs/aws-dynamodb-encryption-java/releases/tag/0.0.3-SNAPSHOT

0 commit comments

Comments
 (0)