Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Authentication 播放框架依赖项自定义模块远程存储库身份验证_Authentication_Module_Playframework_Dependencies_Remote Access - Fatal编程技术网

Authentication 播放框架依赖项自定义模块远程存储库身份验证

Authentication 播放框架依赖项自定义模块远程存储库身份验证,authentication,module,playframework,dependencies,remote-access,Authentication,Module,Playframework,Dependencies,Remote Access,我正在尝试在应用程序的依赖项文件中设置自定义模块引用 但是,我需要一个远程URL作为工件引用 但是我不能 i.firstly get the dependencies to be resolved from the URL say if it doesn't need any sort of authentication. Please explain me each of the parts to be defined in the dependency.yml while adding cu

我正在尝试在应用程序的依赖项文件中设置自定义模块引用

但是,我需要一个远程URL作为工件引用

但是我不能

i.firstly get the dependencies to be resolved from the URL say if it doesn't need any sort of authentication. Please explain me each of the parts to be defined in the dependency.yml while adding custom module

ii. secondly I am unable to find a way to set the authentication credentials for the above repository while it will be downloaded. 
我真的是个新手。有人能帮我做上面的事吗

我正在使用Play 1.2.4


提前谢谢。

我知道这是一条旧线。希望这一评论能让其他仍在寻找答案的人受益

Play Framework在引擎盖下使用Ivy,您可以通过主目录下的
.ivy2/ivysettings.xml
配置身份验证信息。看

引自网站

<!-- .ivy2/ivysettings.xml -->
<ivysettings>
  <credentials host="maven-repo.xxx"
               realm="Sonatype Nexus Repository Manager"
               username="user" 
               passwd="reallygreatpassword"/>
</ivysettings>

您要添加哪个模块?你真的读过关于的文档吗?Schleichardt,是的,我读过。但是没有提到通过dependency.yml进行身份验证。我正在从安全存储库下载自定义模块时搜索某种存储库身份验证。虽然最近我遇到了常春藤文件实现的东西。。。不太清楚如何实现它,但这可能是游戏1.2.4中类似的一种方式。请评论。
require:
    - mygroupid -> myartifactid version

repositories:
    - myreponame:
        type: http
        artifact: "url to the repo"
        contains:
            - mygroupid -> *