[
https://issues.apache.org/jira/browse/CB-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700929#comment-13700929
]
Ian Clelland commented on CB-4077:
----------------------------------
Fil, I've submitted pull requests for cordova-cli and cordova-plugman to
resolve this.
I'm not familiar with the release process for plugman and cli -- cli appears to
depend on a particular released version of plugman, and it would break if the
CLI changes were applied without the plugman changes. I've just forked the
repos, and put out a couple of pull requests instead of pushing to the apache
repos directly.
> CLI / Plugman can't remove dependency-only plugins
> --------------------------------------------------
>
> Key: CB-4077
> URL: https://issues.apache.org/jira/browse/CB-4077
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Plugman
> Affects Versions: 3.0.0
> Reporter: Ian Clelland
> Assignee: Ian Clelland
>
> {{cordova plugin remove}} cannot delete dependency-only plugins, which do not
> have any platforms defined in their {{plugin.xml}} file.
> {{plugman.uninstall()}} is only called for platforms, not for the plugin
> itself.
> I propose fixing this by separating the tasks of
> * removing a plugin from a particular platform, and
> * removing a plugin from the cordova project
> Dependency-only projects need the second step to occur, but not the first.
> Other plugins will have the first step run once per platform, and then the
> second step run once.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira