From c250eb3ebbb9afb650edc080708c5e4c3cccbb78 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Tue, 4 Oct 2016 18:02:26 +0200 Subject: [PATCH 1/2] Disable removed commands --- biz.aQute.bnd/src/aQute/bnd/main/bnd.java | 49 ----------------------- 1 file changed, 49 deletions(-) diff --git a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java index 6870935..803c6c9 100644 --- a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java +++ b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java @@ -104,7 +104,6 @@ import aQute.bnd.osgi.Resource; import aQute.bnd.osgi.Verifier; import aQute.bnd.osgi.eclipse.EclipseClasspath; import aQute.bnd.print.JarPrinter; -import aQute.bnd.repository.maven.provider.NexusCommand; import aQute.bnd.service.Actionable; import aQute.bnd.service.RepositoryPlugin; import aQute.bnd.service.action.Action; @@ -3904,54 +3903,6 @@ public class bnd extends Processor { getInfo(profiles); } - /** - * Resolve command - * - * @throws Exception - */ - - public void _resolve(ResolveCommand.ResolveOptions options) throws Exception { - ResolveCommand rc = new ResolveCommand(this); - String help = options._command() - .subCmd(options, rc); - if (help != null) - out.println(help); - getInfo(rc); - rc.close(); - } - - /** - * Remote command - * - * @throws Exception - */ - - public void _remote(RemoteCommand.RemoteOptions options) throws Exception { - RemoteCommand rc = new RemoteCommand(this, options); - String help = options._command() - .subCmd(options, rc); - if (help != null) - out.println(help); - getInfo(rc); - rc.close(); - } - - /** - * Nexus commands - * - * @throws Exception - */ - - public void _nexus(NexusCommand.NexusOptions options) throws Exception { - NexusCommand rc = new NexusCommand(this, options); - String help = options._command() - .subCmd(options, rc); - if (help != null) - out.println(help); - getInfo(rc); - rc.close(); - } - /** * Export a bndrun file */ -- 2.25.4