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