Skip to content

Commit 4c4b8da

Browse files
author
Marvin Zhang
committed
chore: Update pom.xml for GitHub Packages integration and remove central-publishing-maven-plugin
- Added distribution management section in pom.xml for GitHub Packages repository. - Removed central-publishing-maven-plugin to simplify the build configuration. - Streamlined the snapshot profile for better deployment management.
1 parent 7f34177 commit 4c4b8da

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

pom.xml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,15 @@
128128
<!-- Profile for Snapshot Version -->
129129
<profile>
130130
<id>snapshot</id>
131+
<distributionManagement>
132+
<repository>
133+
<id>github</id>
134+
<name>GitHub Packages</name>
135+
<url>https://maven.pkg.github.com/crawlab-team/crawlab-java-sdk</url>
136+
</repository>
137+
</distributionManagement>
131138
<build>
132139
<plugins>
133-
<plugin>
134-
<groupId>org.sonatype.central</groupId>
135-
<artifactId>central-publishing-maven-plugin</artifactId>
136-
<version>0.6.0</version>
137-
<extensions>true</extensions>
138-
<configuration>
139-
<publishingServerId>central</publishingServerId>
140-
<autoPublish>true</autoPublish>
141-
<waitUntil>published</waitUntil>
142-
</configuration>
143-
</plugin>
144140
<plugin>
145141
<groupId>org.apache.maven.plugins</groupId>
146142
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)