You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tony Homer (JIRA)" <ji...@apache.org> on 2016/02/17 22:37:18 UTC

[jira] [Commented] (CB-10438) Plugin dependency version/spec is not used/ignored

    [ https://issues.apache.org/jira/browse/CB-10438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151238#comment-15151238 ] 

Tony Homer commented on CB-10438:
---------------------------------

Well, this explains some weird behavior I've seen before.  I didn't realize this was the root cause, although it's obvious in retrospect.  FWIW a workaround that might be useful in some cases is to get the dependency from a repo instead of npm.  
{code}
<dependency id="cordova-plugin-crosswalk-webview" url="https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview#1.4.0" />
{code}
This is slower, but if you really need a specific version you can get it this way.

> Plugin dependency version/spec is not used/ignored
> --------------------------------------------------
>
>                 Key: CB-10438
>                 URL: https://issues.apache.org/jira/browse/CB-10438
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0, 5.4.1
>            Reporter: Steve Gill
>            Assignee: Steve Gill
>              Labels: cordova-fetch, triaged
>
> Quite the bug! 
> {code:javascript}
> <dependency id="cordova-plugin-file" spec="3.0.0" />
> or
> <dependency id="cordova-plugin-file" version="3.0.0" />
> {code}
> The above line will ignore spec or version and will always grab the latest. I went back and tried the previous version of cordova and this seems to be ignoring it as well. Seems like this was never working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org