Skip to content

Commit

Permalink
Update README about settings.xml file
Browse files Browse the repository at this point in the history
  • Loading branch information
papacst committed May 24, 2023
1 parent 467bf41 commit 1baa540
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,22 @@ mvn clean install -U

This will force Maven to update any snapshots that are used as dependencies in the project.

In order to be able to use \'xxx-SNAPSHOT\'[^1] versions of dependencies you will need to add the following repository in the **\<repositories\>** section in your settings.xml file:

[^1]: Release versions of the dependencies are provided by default in the maven central repo
```
<repository>
<id>oss-snapshots</id>
<name>OSS Snapshots repository</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
```

## Usage

Expand Down

0 comments on commit 1baa540

Please sign in to comment.