Skip to content

Commit 678d898

Browse files
authored
feat: add profile which allows the use of snapshots (#38)
1 parent 8915507 commit 678d898

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,21 @@
398398
</plugins>
399399
</build>
400400
</profile>
401-
401+
<profile>
402+
<id>allow-snapshots</id>
403+
<repositories>
404+
<repository>
405+
<id>sonatype-snapshots</id>
406+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
407+
<releases>
408+
<enabled>false</enabled>
409+
</releases>
410+
<snapshots>
411+
<enabled>true</enabled>
412+
</snapshots>
413+
</repository>
414+
</repositories>
415+
</profile>
402416
<profile>
403417
<!-- Only run checkstyle plugin on Java 8+ (checkstyle artifact only supports Java 8+) -->
404418
<id>checkstyle-tests</id>

0 commit comments

Comments
 (0)