{"action":"created","issue":{"url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/38","labels_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/38/comments","events_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/38/events","html_url":"https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/38","id":59498658,"number":38,"title":"mavenBom doesn't obey `cacheChangingModulesFor` for -SNAPSHOT bom","user":{"login":"flozano","id":1159291,"avatar_url":"https://avatars.githubusercontent.com/u/1159291?v=3","gravatar_id":"","url":"https://api.github.com/users/flozano","html_url":"https://github.com/flozano","followers_url":"https://api.github.com/users/flozano/followers","following_url":"https://api.github.com/users/flozano/following{/other_user}","gists_url":"https://api.github.com/users/flozano/gists{/gist_id}","starred_url":"https://api.github.com/users/flozano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flozano/subscriptions","organizations_url":"https://api.github.com/users/flozano/orgs","repos_url":"https://api.github.com/users/flozano/repos","events_url":"https://api.github.com/users/flozano/events{/privacy}","received_events_url":"https://api.github.com/users/flozano/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/milestones/6","html_url":"https://github.com/spring-gradle-plugins/dependency-management-plugin/milestones/0.4.1.RELEASE","labels_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/milestones/6/labels","id":989566,"number":6,"title":"0.4.1.RELEASE","description":"","creator":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"open","created_at":"2015-02-21T20:04:37Z","updated_at":"2015-03-03T09:21:16Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-03-02T15:46:58Z","updated_at":"2015-03-03T09:31:58Z","closed_at":"2015-03-02T20:28:56Z","body":"I have \r\n```groovy\r\n\t\tproject.configurations.all {\r\n\t\t\t// check for updates every build\r\n\t\t\tresolutionStrategy {\r\n\t\t\t\tfailOnVersionConflict()\r\n\t\t\t\tcacheChangingModulesFor 0, 'seconds'\r\n\t\t\t}\r\n\t\t}\r\n/* ... */\r\n\t\tproject.subprojects {\r\n\t\t\trepositories {\r\n\t\t\t\tmaven {\r\n\t\t\t\t\t// custom maven repo\r\n\t\t\t\t\turl maven_repository\r\n\t\t\t\t\tcredentials {\r\n\t\t\t\t\t\tusername = maven_username\r\n\t\t\t\t\t\tpassword = maven_password\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tdependencyManagement { imports { mavenBom 'com.mycompany:bom-parent:'+version } }\r\n\t\t}\r\n\r\n```\r\n(where 'version' is something like 1.2.3-SNAPSHOT).\r\n\r\nHowever, when the BOM is already in the gradle cache, gradle doesn't try to re-download again, even if there is a new SNAPSHOT version in the repository.\r\n"},"comment":{"url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/comments/76913411","html_url":"https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/38#issuecomment-76913411","issue_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/38","id":76913411,"user":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T09:31:58Z","updated_at":"2015-03-03T09:31:58Z","body":"Thanks for trying out the snapshot\r\n\r\n> However, #39 now happens even without --refresh-dependencies.\r\n\r\nThat's reassuring in a way. From the plugin's perspective the behaviour should be the same as both have the effect of disabling caching."}}