运行play dependencies命令下载依赖非常慢的解决办法

此方法从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 -> *

猜你喜欢

转载自just2learn.iteye.com/blog/2147003