diff --git a/biz.aQute.bndlib/src/aQute/bnd/osgi/package-info.java b/biz.aQute.bndlib/src/aQute/bnd/osgi/package-info.java index 66da3564df..4b7d3f6767 100644 --- a/biz.aQute.bndlib/src/aQute/bnd/osgi/package-info.java +++ b/biz.aQute.bndlib/src/aQute/bnd/osgi/package-info.java @@ -1,4 +1,4 @@ -@Version("7.2.0") +@Version("7.3.0") package aQute.bnd.osgi; import org.osgi.annotation.versioning.Version; diff --git a/biz.aQute.resolve/src/biz/aQute/resolve/RunResolution.java b/biz.aQute.resolve/src/biz/aQute/resolve/RunResolution.java index 2c80c45019..7159e789e3 100644 --- a/biz.aQute.resolve/src/biz/aQute/resolve/RunResolution.java +++ b/biz.aQute.resolve/src/biz/aQute/resolve/RunResolution.java @@ -97,11 +97,11 @@ public static RunResolution resolve(Project project, Processor actualProperties, */ public static RunResolution resolve(Project project, Processor actualProperties, Collection callbacks, ResolverLogger resolverLogger) { - if (ResolveMode.never.toString() - .equals(project.get(Constants.RESOLVE))) { + if (ResolveMode.never.name() + .equals(actualProperties.get(Constants.RESOLVE))) { return new RunResolution(project, actualProperties, new UnsupportedOperationException(String .format("Resolve is forbidden here, as %s is set to %s", Constants.RESOLVE, - ResolveMode.never.toString())), + ResolveMode.never.name())), null); } if (callbacks == null)