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