OBS Technical
03/15/2024, 3:56 AMCould not resolve all files for configuration ':compileClasspath'.
> Could not find spring-boot-starter-actuator-3.2.3.jar (org.springframework.boot:spring-boot-starter-actuator:3.2.3).
Searched in the following locations:
<https://localrepodamain.com/my-repo/repository/terra-group/org/springframework/boot/spring-boot-starter-actuator/3.2.3/spring-boot-starter-actuator-3.2.3.jar>
initially was using id "org.hibernate.build.maven-repo-auth" version "3.0.4"
and changed and tried with id("digital.fino.build.gradle-maven-auth") version "4.1.1"
still same error.
[11:53 AM] repositories {
maven {
name = "my-repo"
url = repoGroupUrl
}
}
and putting credentials in setting.xml
<servers>
<server>
<id>my-repo</id>
<username>user</username>
<password>user123</password>
</server>
</servers>
old project (java 17 + gradle 8.3) still working with this setup
is this any compatibility issue?Vampire
03/15/2024, 4:13 AMOBS Technical
03/15/2024, 4:18 AMrepositories {
ivy {
url "<http://repo.mycompany.com>"
credentials {
username "user"
password "password"
}
}
}
Is there any changes added in 8.6 configuration for private repo auth. I am using sonatype nexus which is working fine in java 17 + gradle 8.3 spring boot projectVampire
03/15/2024, 4:22 AMivy { ... }
?
For accessing an NXRM I'd more expect a maven { ... }
OBS Technical
03/15/2024, 4:24 AMmaven {
url "<https://localrepodamain.com/my-repo>"
credentials {
username "user"
password "user123"
}
}
by referring GradleDocVampire
03/15/2024, 4:26 AMOBS Technical
03/15/2024, 4:28 AMCould not resolve all files for configuration ':compileClasspath'.
> Could not find spring-boot-starter-actuator-3.2.3.jar (org.springframework.boot:spring-boot-starter-actuator:3.2.3).
Searched in the following locations:
<https://localrepodamain.com/my-repo/repository/terra-group/org/springframework/boot/spring-boot-starter-actuator/3.2.3/spring-boot-starter-actuator-3.2.3.jar>
Not sure why working in old version but not in new
If I use mavenCentral its working also, so mostly the auth not happening. I am able to download jar with the mentioned link from browserVampire
03/15/2024, 7:52 AM