-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure Maven to Publish to Sonatype's Maven Central Repository
This commit updates the `pom.xml` file to publish artifacts to the Sonatype's Maven Central Repository. Key Changes: - Added metadata including project name, description, URL, licenses, and developer information. - Added SCM connection details. - Added distributionManagement section for snapshotRepository and repository pointing to Sonatype's OSSRH. - Added nexus-staging-maven-plugin for interaction with Nexus repositories. - Added maven-source-plugin to attach source code as an additional artifact. - Upgraded maven-javadoc-plugin to version 3.5.0 and added configuration to attach Javadocs as an additional artifact. - Added maven-gpg-plugin to sign the artifacts during the verify phase. With these changes, artifacts will be published to Maven Central Repository upon successful build and verification.
- Loading branch information
1 parent
565fbcf
commit 8c182b1
Showing
1 changed file
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters