Skip to content

Commit 25c7256

Browse files
honnixclaude
andauthored
fix: move central-publishing-maven-plugin out of release profile (#329)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4aee5df commit 25c7256

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

flytekit-bom/pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,18 @@
214214
<groupId>com.diffplug.spotless</groupId>
215215
<artifactId>spotless-maven-plugin</artifactId>
216216
</plugin>
217+
<plugin>
218+
<groupId>org.sonatype.central</groupId>
219+
<artifactId>central-publishing-maven-plugin</artifactId>
220+
<version>0.10.0</version>
221+
<extensions>true</extensions>
222+
<configuration>
223+
<publishingServerId>central</publishingServerId>
224+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
225+
<autoPublish>true</autoPublish>
226+
<waitUntil>published</waitUntil>
227+
</configuration>
228+
</plugin>
217229
</plugins>
218230
</build>
219231

@@ -274,18 +286,6 @@
274286
</execution>
275287
</executions>
276288
</plugin>
277-
<plugin>
278-
<groupId>org.sonatype.central</groupId>
279-
<artifactId>central-publishing-maven-plugin</artifactId>
280-
<version>0.10.0</version>
281-
<extensions>true</extensions>
282-
<configuration>
283-
<publishingServerId>central</publishingServerId>
284-
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
285-
<autoPublish>true</autoPublish>
286-
<waitUntil>published</waitUntil>
287-
</configuration>
288-
</plugin>
289289
</plugins>
290290
</build>
291291
</profile>

pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,18 @@
741741
<plugin>
742742
<artifactId>maven-jar-plugin</artifactId>
743743
</plugin>
744+
<plugin>
745+
<groupId>org.sonatype.central</groupId>
746+
<artifactId>central-publishing-maven-plugin</artifactId>
747+
<version>0.10.0</version>
748+
<extensions>true</extensions>
749+
<configuration>
750+
<publishingServerId>central</publishingServerId>
751+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
752+
<autoPublish>true</autoPublish>
753+
<waitUntil>published</waitUntil>
754+
</configuration>
755+
</plugin>
744756
</plugins>
745757
</build>
746758

@@ -828,18 +840,6 @@
828840
</execution>
829841
</executions>
830842
</plugin>
831-
<plugin>
832-
<groupId>org.sonatype.central</groupId>
833-
<artifactId>central-publishing-maven-plugin</artifactId>
834-
<version>0.10.0</version>
835-
<extensions>true</extensions>
836-
<configuration>
837-
<publishingServerId>central</publishingServerId>
838-
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
839-
<autoPublish>true</autoPublish>
840-
<waitUntil>published</waitUntil>
841-
</configuration>
842-
</plugin>
843843
</plugins>
844844
</build>
845845
</profile>

0 commit comments

Comments
 (0)