Skip to content

Commit 92b44d3

Browse files
committed
Migration to Central Publisher Portal 3 - Configuration issues
1 parent 532ac86 commit 92b44d3

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

pom.xml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,21 @@
180180
<target>${java.version}</target>
181181
</configuration>
182182
</plugin>
183+
<plugin>
184+
<groupId>org.sonatype.central</groupId>
185+
<artifactId>central-publishing-maven-plugin</artifactId>
186+
<version>0.9.0</version>
187+
<extensions>true</extensions>
188+
<configuration>
189+
<publishingServerId>central</publishingServerId>
190+
<!-- Automatic publication after validation -->
191+
<autoPublish>true</autoPublish>
192+
<!-- Wait until the publication is effective -->
193+
<waitUntil>published</waitUntil>
194+
<!-- Readable name to identify the deployment -->
195+
<deploymentName>${project.artifactId}-${project.version}</deploymentName>
196+
</configuration>
197+
</plugin>
183198
</plugins>
184199
<pluginManagement>
185200
<plugins>
@@ -256,17 +271,7 @@
256271
<plugin>
257272
<groupId>org.sonatype.central</groupId>
258273
<artifactId>central-publishing-maven-plugin</artifactId>
259-
<version>0.9.0</version>
260-
<extensions>true</extensions>
261274
<configuration>
262-
<publishingServerId>central</publishingServerId>
263-
<!-- Automatic publication after validation -->
264-
<autoPublish>true</autoPublish>
265-
<!-- Wait until the publication is effective -->
266-
<waitUntil>published</waitUntil>
267-
<!-- Readable name to identify the deployment -->
268-
<deploymentName>${project.artifactId}-${project.version}</deploymentName>
269-
270275
<excludeArtifacts>
271276
<excludeArtifact>javaparser-core-testing</excludeArtifact>
272277
<excludeArtifact>javaparser-core-testing-bdd</excludeArtifact>

0 commit comments

Comments
 (0)