aqute-bnd/0001-Disable-removed-commands.patch

80 lines
2.0 KiB
Diff
Raw Normal View History

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