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