Fix github publishing
@@ -21,8 +21,8 @@ public class GithubPackageRegistryMavenPublishPlugin implements Plugin<Project>
.getRepositories()
.maven(githubRepo -> {
String owner = githubExtension.getOwner().get();
- githubRepo.setName("GitHub " + owner + " Maven Packages");
- githubRepo.setUrl("https://maven.pkg.github.com/" + githubExtension.getSlug());
+ githubRepo.setName("GitHub " + owner + " Apache Maven Packages");
+ githubRepo.setUrl("https://maven.pkg.github.com/" + githubExtension.getSlug().get());
if (githubExtension.getUsername().isPresent() && githubExtension.getToken().isPresent()) {
githubRepo.credentials(passwordCredentials -> {
