Hi everyone, my gradle build is failing throwing ...
# community-support
p
Hi everyone, my gradle build is failing throwing this error
[Plugin [id: 'org.springframework.boot', version: '2.2.4.Release'] was not found in any of the following sources
Tried hard to resolve, but no luck Can someone assist
v
Please provide the full error, preferably as build
--scan
URL, and not just a one-line excerpt.
p
ok running
gradle build --scan
m
Maybe the version should be just
2.2.4
and not
2.2.4 Release
?
v
Nope
p
@Martin Nguyen tried it, no luck
v
Of course not, that version does not exist 🙄
p
@Vampire based on the url you provided above, do we need any changes in project files or configuration
v
The URL was for Martin to show that his suggestion is not at all helpful as that is indeed the correct version. I did not make any suggestion to you, as you did not yet provide the full error or build
--scan
URL.
And in about 30 seconds I'm off to bed
p
@Vampire sorry, please check
The above is when I run
gradle build --scan
v
Please never anywhere share screenshots (or worse photos) of text if you only want to share the text and not something additional like colors or IDE annotations. Text in images is hard to read, especially on mobile, very hard to copy, and nearly impossible to search for.
But what
--scan
does among other things is, that it applies a plugin under the hood. You do not have that plugin in your private nexus instance so this fails.
Probably you have the same problem with the Spring Boot plugin
Well, exactly what I said above
👍 1
t
Fwiw,
2.2.4.Release
is not the same as
2.2.4.RELEASE
https://plugins.gradle.org/plugin/org.springframework.boot/2.2.4.Release
v
Oh, too tired to see the difference in case probably. 🙈 Unfortunately in the meantime they deleted the posted photos without replacing them with the contained text, so no idea whether that was really the case or just manually typed here error. I probably also assumed that this version is longer there already and worked in the past, because why should someone use an ancient version like that newly? :-D