title: composer.json recursive dependencies
body: <p>I'm trying to manage my personal packages via Composer and I'm getting some errors when I  "composer update/install" a module (which depends on another module which depends on another module, etc).</p>
  
  <p>I have a composer.json file in my Admin module which references and requires a personal repository "Access" :</p>
  
  <pre><code>"repositories": [
          {
              "type": "vcs",
              "url": "git@gitlab.[hidden].com:[hidden]/php-zf2-access.git"
          },
  ],
  "require": {
          [hidden]/php-zf2-access": "dev-master"
  }
  </code></pre>
  
  <p>My Access module has a composer.json file which references and requires a personal repository Basic :</p>
  
  <pre><code>"repositories": [
          {
              "type": "vcs",
              "url": "git@gitlab.[hidden].com:[hidden]/php-zf2-basic.git"
          }
      ],
  "require": {
          "[hidden]/php-zf2-basic": "dev-master"
      },
  </code></pre>
  
  <p>When I'm installing/updating my Admin module, I get this error :</p>
  
  <blockquote>
    <p>Your requirements could not be resolved to an installable set of
    packages.</p>
    
    <p>Problem 1</p>
  
  <pre><code>- Installation request for [hidden]/php-zf2-access dev-master -&gt; satisfiable by [hidden]/php-zf2-access[dev-master].
  
  - [hidden]/php-zf2-access dev-master requires [hidden]/php-zf2-basic dev-master -&gt; no matching package found.
  </code></pre>
  </blockquote>
  
  <p>If I "composer install" my Access module, it correctly loads my Basic module (no configuration error in my composer.json Access module), so why my Admin module can't load Access which loads Basic ?</p>
  
  <p>If I add my Basic module configuration (repositories : ....basic.git + require: .....basic:"dev-master") to my composer.json's Admin module, no error is raised and the installation runs perfectly (but I don't want this as a solution).</p>
  
  <p>Thank you for your help.</p>