{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9274","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9274/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9274/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9274/events","html_url":"https://github.com/grails/grails-core/issues/9274","id":107537998,"number":9274,"title":"Grails 3.0.7 - gradle publish - POM 'org.grails:grails-bom' not found in repository","user":{"login":"mhuebner","id":67763,"avatar_url":"https://avatars.githubusercontent.com/u/67763?v=3","gravatar_id":"","url":"https://api.github.com/users/mhuebner","html_url":"https://github.com/mhuebner","followers_url":"https://api.github.com/users/mhuebner/followers","following_url":"https://api.github.com/users/mhuebner/following{/other_user}","gists_url":"https://api.github.com/users/mhuebner/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuebner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuebner/subscriptions","organizations_url":"https://api.github.com/users/mhuebner/orgs","repos_url":"https://api.github.com/users/mhuebner/repos","events_url":"https://api.github.com/users/mhuebner/events{/privacy}","received_events_url":"https://api.github.com/users/mhuebner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-21T15:31:46Z","updated_at":"2015-09-22T10:48:14Z","closed_at":null,"body":"A fresh grails plugin with the \"maven-publish\" Gradle plugin applied ... and a simple publication \r\n\r\n```\r\n/**\r\n * Publications\r\n */\r\n\r\npublishing {\r\n    repositories {\r\n        maven {\r\n            url \"https://myRepo\"\r\n        }\r\n    }\r\n    publications {\r\n        jar(MavenPublication) {\r\n            from components.java\r\n        }\r\n    }\r\n}\r\n```\r\n...produces the error (gradle publish)\r\n\r\n```\r\n   > Unable to initialize POM pom-default.xml: POM 'org.grails:grails-bom' not found in repository: Unable to download the artifact from any repository\r\n     \r\n       org.grails:grails-bom:pom:3.0.7\r\n     \r\n     from the specified remote repositories:\r\n       central (http://repo1.maven.org/maven2)\r\n     \r\n```\r\n\r\neven if I remove this repo (mavenCentral()) from repositories! \r\n\r\nAll other defined repos are skipped. Even if i set \r\n\r\n```\r\n    maven {\r\n        url \"https://repo.grails.org/grails/core\"\r\n    }\r\n```\r\nas the only repo in repositories list."},"comment":{"url":"https://api.github.com/repos/grails/grails-core/issues/comments/142244875","html_url":"https://github.com/grails/grails-core/issues/9274#issuecomment-142244875","issue_url":"https://api.github.com/repos/grails/grails-core/issues/9274","id":142244875,"user":{"login":"mhuebner","id":67763,"avatar_url":"https://avatars.githubusercontent.com/u/67763?v=3","gravatar_id":"","url":"https://api.github.com/users/mhuebner","html_url":"https://github.com/mhuebner","followers_url":"https://api.github.com/users/mhuebner/followers","following_url":"https://api.github.com/users/mhuebner/following{/other_user}","gists_url":"https://api.github.com/users/mhuebner/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuebner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuebner/subscriptions","organizations_url":"https://api.github.com/users/mhuebner/orgs","repos_url":"https://api.github.com/users/mhuebner/repos","events_url":"https://api.github.com/users/mhuebner/events{/privacy}","received_events_url":"https://api.github.com/users/mhuebner/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T10:48:14Z","updated_at":"2015-09-22T10:48:14Z","body":"Ok, in the referenced issue @wilkinsona posted a link to a documented gradle limitation \r\n> In Gradle 2.3 and earlier, pom generation requires any boms referenced in a pom's <dependencyManagement> section to be available from Maven Central.\r\n\r\nhttps://github.com/spring-gradle-plugins/dependency-management-plugin/blob/master/README.md#using-a-bom-that-is-not-in-maven-central"}}