|
|
15c299 |
diff -ur aqute-bnd-5.2.0.orig/biz.aQute.bnd/src/aQute/bnd/main/bnd.java aqute-bnd-5.2.0/biz.aQute.bnd/src/aQute/bnd/main/bnd.java
|
|
|
15c299 |
--- aqute-bnd-5.2.0.orig/biz.aQute.bnd/src/aQute/bnd/main/bnd.java 2020-10-14 22:03:53.000000000 +0200
|
|
|
15c299 |
+++ aqute-bnd-5.2.0/biz.aQute.bnd/src/aQute/bnd/main/bnd.java 2021-08-02 18:01:59.894715497 +0200
|
|
|
15c299 |
@@ -106,7 +106,6 @@
|
|
|
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;
|
|
|
15c299 |
@@ -3922,54 +3921,6 @@
|
|
|
c5bd88 |
}
|
|
|
c5bd88 |
|
|
|
15c299 |
/**
|
|
|
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 |
-
|
|
|
15c299 |
- /**
|
|
|
c5bd88 |
* Export a bndrun file
|
|
|
c5bd88 |
*/
|
|
|
15c299 |
interface ExportOptions extends ProjectWorkspaceOptions {
|
|
|
15c299 |
@@ -4424,15 +4375,6 @@
|
|
|
15c299 |
}
|
|
|
15c299 |
}
|
|
|
15c299 |
|
|
|
15c299 |
- @Description("Start an interactive shell")
|
|
|
15c299 |
- public void _shell(Shell.ShellOptions options) throws Exception {
|
|
|
15c299 |
- try (Shell shell = new Shell(this, options)) {
|
|
|
15c299 |
- shell.loop();
|
|
|
15c299 |
- } finally {
|
|
|
15c299 |
- out.println("done");
|
|
|
15c299 |
- }
|
|
|
15c299 |
- }
|
|
|
15c299 |
-
|
|
|
15c299 |
public Workspace getWorkspace() {
|
|
|
15c299 |
return workspace;
|
|
|
15c299 |
}
|
|
|
15c299 |
@@ -4479,24 +4421,6 @@
|
|
|
15c299 |
|
|
|
15c299 |
}
|
|
|
15c299 |
|
|
|
15c299 |
- @Description("Generate and export reports of a workspace, a project or of a jar.")
|
|
|
15c299 |
- public void _exportreport(ExportReportCommand.ReporterOptions options) throws Exception {
|
|
|
15c299 |
- ExportReportCommand mc = new ExportReportCommand(this);
|
|
|
15c299 |
- mc.run(options);
|
|
|
15c299 |
- getInfo(mc);
|
|
|
15c299 |
- }
|
|
|
15c299 |
-
|
|
|
15c299 |
- @Description("Maintain Maven Bnd Repository GAV files")
|
|
|
15c299 |
- public void _mbr(MbrCommand.MrOptions options) throws Exception {
|
|
|
15c299 |
- MbrCommand c = new MbrCommand(this, options);
|
|
|
15c299 |
- CommandLine cl = new CommandLine(this);
|
|
|
15c299 |
- String s = cl.subCmd(options, c);
|
|
|
15c299 |
- if (s != null) {
|
|
|
15c299 |
- out.println(s);
|
|
|
15c299 |
- }
|
|
|
15c299 |
- getInfo(c);
|
|
|
15c299 |
- }
|
|
|
15c299 |
-
|
|
|
15c299 |
@Description("Generate source code")
|
|
|
15c299 |
interface GenerateOptions extends ProjectWorkspaceOptions {
|
|
|
15c299 |
|