Skip to content

Commit

Permalink
Fail build if checksum of the downloaded artifact is not matched (#14518
Browse files Browse the repository at this point in the history
)

* Fail build if checksum of the downloaded artifact is not matched

Signed-off-by: Sergii Kabashniuk <[email protected]>
  • Loading branch information
skabashnyuk authored Sep 12, 2019
1 parent b2ba4cb commit 2bdf328
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,10 @@
</dependencyManagement>
<repositories>
<repository>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<id>ossrh</id>
<name>central public snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
Expand Down

0 comments on commit 2bdf328

Please sign in to comment.