2023-09-18 08:12:46 +02:00
|
|
|
diff --git a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java
|
|
|
|
index a787c32..fc241a2 100644
|
|
|
|
--- a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java
|
|
|
|
+++ b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java
|
|
|
|
@@ -110,7 +110,6 @@ import aQute.bnd.osgi.Resource;
|
2019-02-11 18:08:24 +01:00
|
|
|
import aQute.bnd.osgi.Verifier;
|
|
|
|
import aQute.bnd.osgi.eclipse.EclipseClasspath;
|
2021-10-18 07:22:51 +02:00
|
|
|
import aQute.bnd.print.JarPrinter;
|
2019-02-11 18:08:24 +01:00
|
|
|
-import aQute.bnd.repository.maven.provider.NexusCommand;
|
2023-09-18 08:12:46 +02:00
|
|
|
import aQute.bnd.result.Result;
|
2019-02-11 18:08:24 +01:00
|
|
|
import aQute.bnd.service.Actionable;
|
|
|
|
import aQute.bnd.service.RepositoryPlugin;
|
2023-09-18 08:12:46 +02:00
|
|
|
@@ -3921,54 +3920,6 @@ public class bnd extends Processor {
|
|
|
|
getInfo(profiles);
|
2019-02-11 18:08:24 +01:00
|
|
|
}
|
|
|
|
|
2023-09-18 08:12:46 +02:00
|
|
|
- /**
|
2019-02-11 18:08:24 +01:00
|
|
|
- * Resolve command
|
2021-10-18 07:22:51 +02:00
|
|
|
- *
|
2019-02-11 18:08:24 +01:00
|
|
|
- * @throws Exception
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
- public void _resolve(ResolveCommand.ResolveOptions options) throws Exception {
|
|
|
|
- ResolveCommand rc = new ResolveCommand(this);
|
2021-10-18 07:22:51 +02:00
|
|
|
- String help = options._command()
|
|
|
|
- .subCmd(options, rc);
|
2019-02-11 18:08:24 +01:00
|
|
|
- if (help != null)
|
|
|
|
- out.println(help);
|
|
|
|
- getInfo(rc);
|
|
|
|
- rc.close();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * Remote command
|
2021-10-18 07:22:51 +02:00
|
|
|
- *
|
2019-02-11 18:08:24 +01:00
|
|
|
- * @throws Exception
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
- public void _remote(RemoteCommand.RemoteOptions options) throws Exception {
|
|
|
|
- RemoteCommand rc = new RemoteCommand(this, options);
|
2021-10-18 07:22:51 +02:00
|
|
|
- String help = options._command()
|
|
|
|
- .subCmd(options, rc);
|
2019-02-11 18:08:24 +01:00
|
|
|
- if (help != null)
|
|
|
|
- out.println(help);
|
|
|
|
- getInfo(rc);
|
|
|
|
- rc.close();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * Nexus commands
|
2021-10-18 07:22:51 +02:00
|
|
|
- *
|
2019-02-11 18:08:24 +01:00
|
|
|
- * @throws Exception
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
- public void _nexus(NexusCommand.NexusOptions options) throws Exception {
|
|
|
|
- NexusCommand rc = new NexusCommand(this, options);
|
2021-10-18 07:22:51 +02:00
|
|
|
- String help = options._command()
|
|
|
|
- .subCmd(options, rc);
|
2019-02-11 18:08:24 +01:00
|
|
|
- if (help != null)
|
|
|
|
- out.println(help);
|
|
|
|
- getInfo(rc);
|
|
|
|
- rc.close();
|
|
|
|
- }
|
2021-10-18 07:22:51 +02:00
|
|
|
-
|
2023-09-18 08:12:46 +02:00
|
|
|
/**
|
2019-02-11 18:08:24 +01:00
|
|
|
* Export a bndrun file
|
|
|
|
*/
|
2023-09-18 08:12:46 +02:00
|
|
|
@@ -4424,15 +4375,6 @@ public class bnd extends Processor {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
- @Description("Start an interactive shell")
|
|
|
|
- public void _shell(Shell.ShellOptions options) throws Exception {
|
|
|
|
- try (Shell shell = new Shell(this, options)) {
|
|
|
|
- shell.loop();
|
|
|
|
- } finally {
|
|
|
|
- out.println("done");
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public Workspace getWorkspace() {
|
|
|
|
return workspace;
|
|
|
|
}
|
|
|
|
@@ -4479,24 +4421,6 @@ public class bnd extends Processor {
|
2021-10-18 07:22:51 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
- @Description("Generate and export reports of a workspace, a project or of a jar.")
|
|
|
|
- public void _exportreport(ExportReportCommand.ReporterOptions options) throws Exception {
|
|
|
|
- ExportReportCommand mc = new ExportReportCommand(this);
|
|
|
|
- mc.run(options);
|
|
|
|
- getInfo(mc);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- @Description("Maintain Maven Bnd Repository GAV files")
|
|
|
|
- public void _mbr(MbrCommand.MrOptions options) throws Exception {
|
|
|
|
- MbrCommand c = new MbrCommand(this, options);
|
|
|
|
- CommandLine cl = new CommandLine(this);
|
|
|
|
- String s = cl.subCmd(options, c);
|
|
|
|
- if (s != null) {
|
|
|
|
- out.println(s);
|
|
|
|
- }
|
|
|
|
- getInfo(c);
|
|
|
|
- }
|
|
|
|
-
|
2023-09-18 08:12:46 +02:00
|
|
|
@Description("Shows the differences between two XML resource repositories")
|
|
|
|
public void _xmlrepodiff(XmlRepoDiffOptions options) throws Exception {
|
|
|
|
try (XmlRepoDiffCommand cmd = new XmlRepoDiffCommand(this)) {
|