|
6 | 6 | <groupId>com.contentstack.sdk</groupId> |
7 | 7 | <artifactId>marketplace</artifactId> |
8 | 8 | <version>1.0.3</version> |
| 9 | + <name>Contentstack Marketplace Java SDK</name> |
9 | 10 | <description>Contentstack Java Management SDK for Content Management API</description> |
10 | 11 | <url>https://github.com/contentstack/contentstack-management-java/</url> |
11 | 12 |
|
|
33 | 34 | <maven-site-plugin.version>4.0.0-M9</maven-site-plugin.version> |
34 | 35 | <maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version> |
35 | 36 | <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> |
36 | | - <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
| 37 | + <central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version> |
37 | 38 | <maven-release-plugin.version>3.0.1</maven-release-plugin.version> |
38 | 39 | </properties> |
39 | 40 |
|
|
89 | 90 | </developer> |
90 | 91 | </developers> |
91 | 92 |
|
| 93 | + <!-- Old OSSRH/Nexus Configuration - Commented out for new Central Publishing --> |
| 94 | + <!-- |
92 | 95 | <distributionManagement> |
93 | 96 | <snapshotRepository> |
94 | 97 | <id>ossrh</id> |
95 | 98 | <name>Apache Maven Packages Snapshot</name> |
96 | 99 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
97 | 100 | </snapshotRepository> |
98 | | - <!-- <snapshotRepository> |
99 | | - <id>github</id> |
100 | | - <name>GitHub Apache Maven Packages</name> |
101 | | - <url>https://maven.pkg.github.com/contentstack/contentstack-management-java</url> |
102 | | - </snapshotRepository> --> |
103 | 101 | <repository> |
104 | 102 | <id>ossrh</id> |
105 | 103 | <name>Apache Maven Packages Release</name> |
106 | 104 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
107 | 105 | </repository> |
108 | 106 | </distributionManagement> |
| 107 | + --> |
109 | 108 |
|
110 | 109 |
|
111 | 110 | <dependencies> |
|
141 | 140 | <groupId>org.projectlombok</groupId> |
142 | 141 | <artifactId>lombok</artifactId> |
143 | 142 | <version>${lombok-source.version}</version> |
144 | | - <scope>compile</scope> |
| 143 | + <scope>provided</scope> |
145 | 144 | </dependency> |
146 | 145 | <dependency> |
147 | 146 | <groupId>io.github.cdimascio</groupId> |
|
273 | 272 | <configuration> |
274 | 273 | <source>8</source> |
275 | 274 | <target>8</target> |
| 275 | + <annotationProcessorPaths> |
| 276 | + <path> |
| 277 | + <groupId>org.projectlombok</groupId> |
| 278 | + <artifactId>lombok</artifactId> |
| 279 | + <version>${lombok-source.version}</version> |
| 280 | + </path> |
| 281 | + </annotationProcessorPaths> |
276 | 282 | <compilerArgument>-Xlint:all</compilerArgument> |
277 | 283 | <showDeprecation>true</showDeprecation> |
278 | 284 | <showWarnings>true</showWarnings> |
|
281 | 287 | </compilerArgs> |
282 | 288 | </configuration> |
283 | 289 | </plugin> |
| 290 | + <!-- New Central Publishing Maven Plugin --> |
284 | 291 | <plugin> |
285 | | - <groupId>org.sonatype.plugins</groupId> |
286 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
287 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 292 | + <groupId>org.sonatype.central</groupId> |
| 293 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 294 | + <version>${central-publishing-maven-plugin.version}</version> |
288 | 295 | <extensions>true</extensions> |
289 | 296 | <configuration> |
290 | | - <serverId>ossrh</serverId> |
291 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
292 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 297 | + <publishingServerId>central</publishingServerId> |
| 298 | + <autoPublish>true</autoPublish> |
| 299 | + <waitUntil>published</waitUntil> |
293 | 300 | </configuration> |
294 | 301 | </plugin> |
295 | 302 | <plugin> |
|
0 commit comments