Skip to content

Commit 202a3cc

Browse files
committed
migrate to Central Publishing from Sonatype (3)
1 parent 49c743a commit 202a3cc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -570,9 +570,15 @@ For snapshots, add the following to your pom.xml file:
570570
```xml
571571

572572
<repository>
573-
<id>sonatype-oss-snapshot</id>
574-
<snapshots/>
575-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
573+
<name>Central Portal Snapshots</name>
574+
<id>central-portal-snapshots</id>
575+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
576+
<releases>
577+
<enabled>false</enabled>
578+
</releases>
579+
<snapshots>
580+
<enabled>true</enabled>
581+
</snapshots>
576582
</repository>
577583

578584
<dependency>
@@ -582,9 +588,6 @@ For snapshots, add the following to your pom.xml file:
582588
</dependency>
583589
```
584590

585-
Snapshots can be manually downloaded from
586-
Sonatype: [https://oss.sonatype.org/content/groups/public/org/knowm/xchart/xchart/](https://oss.sonatype.org/content/groups/public/org/knowm/xchart/xchart/)
587-
588591
### SBT
589592

590593
To use XChart with the Scala Build Tool (SBT) add the following to your build.sbt

0 commit comments

Comments
 (0)