Skip to content

Migrate to central sonatype #1700

@maybeec

Description

@maybeec

As a developer, I want to migrate from oss1 sonatype to central sonatype deployments.
To do so, following steps need to be implemented:

  1. We need to migrate from the old maven plugin old nexus-staging-maven-plugin to the new maven plugin central-publishing-maven-plugin.
  2. The new plugin automatically derives repository URLs and is not using . However, for SNAPSHOT deployments this seems not to be the case. Therefore you need to remove from your pom.xml.
  3. The value of tags for the credentials needs to be "central"
  4. make sure for SNAPSHOTs is pointing to https://central.sonatype.com/repository/maven-snapshots.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions