|
7 | 7 | <artifactId>cms</artifactId>
|
8 | 8 | <packaging>jar</packaging>
|
9 | 9 | <name>contentstack-management-java</name>
|
10 |
| - <version>1.7.0</version> |
| 10 | + <version>1.7.0-beta-1</version> |
11 | 11 | <description>Contentstack Java Management SDK for Content Management API, Contentstack is a headless CMS with an
|
12 | 12 | API-first approach
|
13 | 13 | </description>
|
|
61 | 61 | </developer>
|
62 | 62 | </developers>
|
63 | 63 |
|
64 |
| - <distributionManagement> |
| 64 | + <!-- <distributionManagement> |
65 | 65 | <snapshotRepository>
|
66 | 66 | <id>ossrh</id>
|
67 | 67 | <name>Apache Maven Packages Snapshot</name>
|
68 | 68 | <url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
69 | 69 | </snapshotRepository>
|
70 |
| - <!-- <snapshotRepository>--> |
71 |
| - <!-- <id>github</id>--> |
72 |
| - <!-- <name>GitHub Apache Maven Packages</name>--> |
73 |
| - <!-- <url>https://maven.pkg.github.com/contentstack/contentstack-management-java</url>--> |
74 |
| - <!-- </snapshotRepository> --> |
| 70 | + <snapshotRepository> |
| 71 | + <id>github</id> |
| 72 | + <name>GitHub Apache Maven Packages</name> |
| 73 | + <url>https://maven.pkg.github.com/contentstack/contentstack-management-java</url> |
| 74 | + </snapshotRepository> |
75 | 75 | <repository>
|
76 | 76 | <id>ossrh</id>
|
77 | 77 | <name>Apache Maven Packages Release</name>
|
78 | 78 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
79 | 79 | </repository>
|
80 |
| - </distributionManagement> |
| 80 | + </distributionManagement> --> |
81 | 81 |
|
82 | 82 | <properties>
|
83 | 83 | <sdk.version>1.0.0</sdk.version>
|
|
100 | 100 | <maven-site-plugin.version>3.3</maven-site-plugin.version>
|
101 | 101 | <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
|
102 | 102 | <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
|
103 |
| - <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
104 | 103 | <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
|
105 | 104 | </properties>
|
106 | 105 |
|
|
337 | 336 | </configuration>
|
338 | 337 | </plugin>
|
339 | 338 | <plugin>
|
340 |
| - <groupId>org.sonatype.plugins</groupId> |
341 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
342 |
| - <version>${nexus-staging-maven-plugin.version}</version> |
| 339 | + <groupId>org.sonatype.central</groupId> |
| 340 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 341 | + <version>0.8.0</version> <!-- or latest --> |
343 | 342 | <extensions>true</extensions>
|
344 | 343 | <configuration>
|
345 |
| - <serverId>ossrh</serverId> |
346 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
347 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 344 | + <publishingServerId>central</publishingServerId> |
| 345 | + <autoPublish>true</autoPublish> |
| 346 | + <waitUntil>published</waitUntil> |
348 | 347 | </configuration>
|
349 | 348 | </plugin>
|
350 | 349 | <plugin>
|
|
0 commit comments