Spring尝试从里程碑存储库中提取快照

时间:2015-09-25 22:29:54

标签: java spring gradle spring-social

尝试构建https://github.com/spring-projects/spring-social-samples/tree/master/spring-social-showcase-boot

gradle build --info

产生

Resource missing. [HTTP GET: http://repo.spring.io/milestone/org/springframework/social/spring-social-config/1.2.0.BUILD-SNAPSHOT/spring-social-config-1.2.0.BUILD-SNAPSHOT.pom]

如果我只是输入我的浏览器......资源存在于此(快照)网址

http://repo.spring.io/snapshot/org/springframework/social/spring-social-config/1.2.0.BUILD-SNAPSHOT/spring-social-config-1.2.0.BUILD-SNAPSHOT.pom

如何让gradle转到正确的(快照)网址?

1 个答案:

答案 0 :(得分:1)

缺少快照存储库

我最初在spring-boot gradle插件存储库和项目存储库之间感到困惑

$(document).ready(function(){
    var x = 0;
    $("#datepicker").datepicker({dateFormat: 'yy-mm-dd'});
    $("#add").click(function(){
        x++;
        var dateFuncName = "datepicker" + x.toString();
        $("#name_data").append('<p>First Name: <input name="name['+x+'][first]" type="text"> Last Name: <input name="name['+x+'][last]" type="text"> Date: <input id="' + dateFuncName + '" name="name['+x+'][date]" type="text"> <input id="remove'+x+'" type="button" name="remove" value="remove"></p>');
        $("#"+dateFuncName).datepicker({dateFormat: 'yy-mm-dd'});
        $("#remove"+x).click(function(){
            $(this).parent('p').remove();
        });
    });
});