Skip to content

Commit b486c07

Browse files
committed
Use https for Sonatype repositories
1 parent 197bf8a commit b486c07

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

pom.xml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -201,18 +201,15 @@
201201
</profile>
202202
</profiles>
203203
<distributionManagement>
204+
<snapshotRepository>
205+
<id>sonatype-nexus-staging</id>
206+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
207+
</snapshotRepository>
204208
<repository>
205209
<id>sonatype-nexus-staging</id>
206-
<name>Sonatype Release</name>
207-
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2
208-
</url>
210+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
209211
</repository>
210-
<snapshotRepository>
211-
<id>sonatype-nexus-snapshots</id>
212-
<name>sonatype-nexus-snapshots</name>
213-
<url>${distMgmtSnapshotsUrl}</url>
214-
</snapshotRepository>
215-
</distributionManagement>
212+
</distributionManagement>
216213
<modules>
217214
<module>netty-bp</module>
218215
<module>netty-utils</module>
@@ -378,7 +375,6 @@
378375
</dependency>
379376
</dependencies>
380377
<properties>
381-
<distMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
382378
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
383379
<source.property>1.8</source.property>
384380
<target.property>1.8</target.property>

0 commit comments

Comments
 (0)