warning instead of error · bndtools/bnd@a71c9fa (original) (raw)

File tree

Original file line number Diff line number Diff line change
@@ -668,7 +668,7 @@ synchronized boolean init() {
668 668 String sonatypeSnapshotUrl = null;
669 669 switch (sonatypeMode) {
670 670 case MANUAL, AUTOPUBLISH -> {
671 -reporter.error("Deprecated Sonatype Publishing. This feature will be removed.");
671 +reporter.warning("Deprecated Sonatype Publishing. This feature will be removed.");
672 672 logger.info("deployment via Sonatype Central Portal configured in {} mode", sonatypeMode);
673 673 File releaseDir = registry.getPlugin(Workspace.class)
674 674 .getFile(SONATYPE_RELEASE_DIR);