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