---
title: "运行play dependencies命令下载依赖非常慢的解决办法"
author: "just2learn"
date: "2014-10-23T11:22:18Z"
tags: []
categories: ["非技术"]
slug: "play-dependencies"
draft: false
lastmod: "2014-10-23T11:22:18Z"
id: 2147003
url: "https://just2learn.iteye.com/blog/2147003"
---

此方法从stack overflow 得到：

 

http://stackoverflow.com/questions/7157964/playframework-private-repos/8404241#8404241

 

The key for me getting play to use my nexus repository rather than mavenCentral was to **name my nexus repository in dependencies.yml as "mavenCentral":**

```
repositories:
    - mavenCentral:
        type: iBiblio 
        root: "http://nexus.mydomain.com/nexus/content/groups/public/"
        contains:
            - com -> *
            - org -> *
            - play -> *
```