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