Fix assertion message in MavenBuildSystem.open().

This commit is contained in:
John Blum
2022-12-08 15:33:57 -08:00
committed by Mark Paluch
parent e62f9759ae
commit f7d7b7a4b6

View File

@@ -190,7 +190,7 @@ class MavenBuildSystem implements BuildSystem {
@Override
public StagingRepository open() {
Assert.notNull(properties.getMavenCentral(), "Maven Central properties must not be nu,,");
Assert.notNull(properties.getMavenCentral(), "Maven Central properties must not be null");
Assert.hasText(properties.getMavenCentral().getStagingProfileId(), "Staging Profile Identifier must not be empty");
CommandLine arguments = CommandLine.of(goal("nexus-staging:rc-open"), //