Skip to content

Commit 51cfb16

Browse files
tatianaleonhgonzaleDigi
authored andcommitted
maven: force https url for the maven central repository
Effective January 15, 2020, The Central Repository no longer supports insecure communication over plain HTTP and requires that all requests to the repository are encrypted over HTTPS. See https://blog.sonatype.com/central-repository-moving-to-https and https://support.sonatype.com/hc/en-us/articles/360041287334 Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
1 parent 6b804f5 commit 51cfb16

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,15 @@
362362

363363
<!-- Repositories -->
364364
<repositories>
365+
<repository>
366+
<id>maven-central-repo</id>
367+
<name>Central Maven Repository</name>
368+
<url>https://repo.maven.apache.org/maven2</url>
369+
<layout>default</layout>
370+
<snapshots>
371+
<enabled>false</enabled>
372+
</snapshots>
373+
</repository>
365374
<repository>
366375
<id>digi-repo</id>
367376
<name>Digi Releases Repository</name>

0 commit comments

Comments
 (0)