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