Skip to content

Commit 1bbd7d9

Browse files
authored
Add distribution management section to pom.xml
1 parent f9df0ce commit 1bbd7d9

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,17 @@
8181
</pluginRepository>
8282
</pluginRepositories>
8383

84+
<distributionManagement>
85+
<snapshotRepository>
86+
<id>central</id>
87+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
88+
</snapshotRepository>
89+
<repository>
90+
<id>central</id>
91+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deployByRepositoryId/${stagingRepositoryId}/</url>
92+
</repository>
93+
</distributionManagement>
94+
8495
<dependencyManagement>
8596
<dependencies>
8697
<dependency>
@@ -588,6 +599,8 @@
588599
</java>
589600
</configuration>
590601
</plugin>
602+
<!--FIXME: Enable this plugin again, and delete the distribution management section,
603+
once we find out how to deploy single native files in a staging repository by using it
591604
<plugin>
592605
<groupId>org.sonatype.central</groupId>
593606
<artifactId>central-publishing-maven-plugin</artifactId>
@@ -596,7 +609,7 @@
596609
<configuration>
597610
<publishingServerId>central</publishingServerId>
598611
</configuration>
599-
</plugin>
612+
</plugin-->
600613
</plugins>
601614

602615
<pluginManagement>

0 commit comments

Comments
 (0)