diff --git a/drupalorg_project/plugins/release_packager/DrupalorgProjectPackageRelease.class.php b/drupalorg_project/plugins/release_packager/DrupalorgProjectPackageRelease.class.php
index bff995e..608b921 100644
--- a/drupalorg_project/plugins/release_packager/DrupalorgProjectPackageRelease.class.php
+++ b/drupalorg_project/plugins/release_packager/DrupalorgProjectPackageRelease.class.php
@@ -8,6 +8,7 @@ class DrupalorgProjectPackageRelease implements ProjectReleasePackagerInterface
     'tar' => '/bin/tar',
     'gzip' => '/bin/gzip',
     'zip' => '/usr/bin/zip',
+    'composer' => '/usr/local/bin/composer',
   );
 
   /// Protected data members of the class
@@ -138,6 +139,12 @@ class DrupalorgProjectPackageRelease implements ProjectReleasePackagerInterface
       }
     }
 
+    // Install dependencies with composer.
+    if (!drush_shell_cd_and_exec($this->temp_directory, "%s --working-dir=core --prefer-dist install", $this->conf['composer'])) {
+      watchdog('package_error', 'Installing dependencies with composer failed');
+      return 'error';
+    }
+
     // Link not copy, since we want to preserve the date...
     @unlink($this->export . '/LICENSE.txt');
     if (!symlink($this->conf['license'], $this->export . '/LICENSE.txt')) {
