Skip to content

Script to migrate existing artifacts from JCenter to Maven Central

License

Notifications You must be signed in to change notification settings

JeroenMols/MigrateArtifactsMavenCentral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Migrate Artifacts to Maven Central

Script to migrate existing artifacts from JCenter to Maven Central, after the jcenter/bintray shutdown announcement.

This repository contains a script to help migrate an existing project to Maven Central:

  • Update (Gradle) scripts to publish to Maven Central
  • Migrate all existing artifacts from JCenter to Maven Central

Because all secrets are injected into the script, this is ideal to run on a CI environment.

To use, make sure mvn and gpg are installed, fill in the TODO's and run:

$ ./migrate_to_mavencentral.sh $BASE64_SIGNING_KEY $SONATYPE_USERNAME $SONATYPE_PASSWORD

For a more detailed explanation, read my accompanying blog post: Migrate existing artifacts from JCenter to Maven Central.

About

Script to migrate existing artifacts from JCenter to Maven Central

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages