Add support for Maven Publisher API.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
<properties>
|
||||
<spring-data-bom.version>2023.0.0-M1</spring-data-bom.version>
|
||||
<stagingRepository>orgspringframework-2453</stagingRepository>
|
||||
<stagingRepository>deploymentId</stagingRepository>
|
||||
<mongodb.version>5.3.1</mongodb.version>
|
||||
</properties>
|
||||
|
||||
@@ -73,9 +73,9 @@
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>s01.oss.sonatype.org</id>
|
||||
<id>central-publisher-api</id>
|
||||
<url>
|
||||
https://s01.oss.sonatype.org/service/local/repositories/${stagingRepository}/content/
|
||||
https://central.sonatype.com/api/v1/publisher/deployment/${deploymentId}/download/
|
||||
</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
@@ -29,6 +29,18 @@
|
||||
<username>${env.COMMERCIAL_USR}</username>
|
||||
<password>${env.COMMERCIAL_PSW}</password>
|
||||
</server>
|
||||
|
||||
<server>
|
||||
<id>central-publisher-api</id>
|
||||
<configuration>
|
||||
<httpHeaders>
|
||||
<property>
|
||||
<name>Authorization</name>
|
||||
<value>Bearer ${CENTRAL_BEARER}</value>
|
||||
</property>
|
||||
</httpHeaders>
|
||||
</configuration>
|
||||
</server>
|
||||
</servers>
|
||||
|
||||
</settings>
|
||||
|
||||
Reference in New Issue
Block a user