Skip to content

Commit 41a4345

Browse files
disable maven central
1 parent da4a29b commit 41a4345

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,19 @@
259259
<enabled>true</enabled>
260260
</snapshots>
261261
</repository>
262+
<repository>
263+
<id>central</id>
264+
<!-- Disable default Maven Central -->
265+
<name>Maven Central remote repository</name>
266+
<url>https://repo1.maven.org/maven2</url>
267+
<layout>default</layout>
268+
<releases>
269+
<enabled>false</enabled>
270+
</releases>
271+
<snapshots>
272+
<enabled>false</enabled>
273+
</snapshots>
274+
</repository>
262275
</repositories>
263276
</profile>
264277
</profiles>

0 commit comments

Comments
 (0)