Skip to content

Commit

Permalink
docs: Describe how to use snapshot builds with maven (#245)
Browse files Browse the repository at this point in the history
* docs: Describe how to use snapshot builds with maven
  • Loading branch information
timonback authored Jun 30, 2023
1 parent 15cb911 commit 123a41f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,19 @@ repositories {
}
```

Or add the `repository` to your `pom.xml` if you are using maven:
```xml
<repositories>
<repository>
<id>oss-sonatype</id>
<name>oss-sonatype</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
```

#### Local Snapshots
To work with local snapshots, run the `publishToMavenLocal` task with `-Dsnapshot=true`.

0 comments on commit 123a41f

Please sign in to comment.