@Command(value = "source-plugin", help = "Install a plugin from a local project folder") public void installFromLocalProject( @Option(description = "project directory", required = true) final Resource<?> projectFolder, @Option(name = "coordinates", type = PromptType.DEPENDENCY_ID, description = "the coordinates for the plugin (if in a multi-module repository)") final Dependency coordinates, final PipeOut out) throws Exception { DirectoryResource workspace = projectFolder.reify(DirectoryResource.class); if ((workspace == null) || !workspace.exists()) { throw new IllegalArgumentException("Project folder must be specified."); } pluginManager.installFromProject(workspace, coordinates); ShellMessages.success(out, "Installed from [" + workspace + "] successfully."); restart(); }
+ "], building Plugin from HEAD."); pluginManager.installFromProject(buildDir, coordinates);