We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb1294 commit 3a5901fCopy full SHA for 3a5901f
1 file changed
src/main/java/studio/o7/remora/RemoraPlugin.java
@@ -76,7 +76,8 @@ public static void applyMavenPublishPluginConfiguration(@NonNull Logger logger,
76
77
var information = (DefaultInformationExtension) project.getExtensions().getByType(InformationExtension.class);
78
project.getExtensions().configure(CentralPortalExtension.class, centralPortal -> {
79
- centralPortal.getName().set(information.getArtifactId().get());
+ if (information.getArtifactId().isPresent())
80
+ centralPortal.getName().set(information.getArtifactId());
81
centralPortal.pom(pom -> {
82
if (information.getUrl().isPresent())
83
pom.getUrl().set(information.getUrl());
0 commit comments