This message was deleted.
# general
s
This message was deleted.
👍 19
l
Would be great to get an update on situation ) tnx!
👍 1
n
Will that be fixed within the next 12 hours?
a
The second link is also showing resolving dependencies from 30 mins. usually its take 5 mins
j
I'm still getting the following error:
Copy code
Error |
Error initializing classpath: Could not find org.grails:grails-datastore-core:6.1.10.BUILD-SNAPSHOT.
Searched in the following locations:
    file:/Users/jordi/.m2/repository/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/maven-metadata.xml
    file:/Users/jordi/.m2/repository/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/grails-datastore-core-6.1.10.BUILD-SNAPSHOT.pom
    file:/Users/jordi/.m2/repository/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/grails-datastore-core-6.1.10.BUILD-SNAPSHOT.jar
    <https://repo.grails.org/grails/core/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/maven-metadata.xml>
    <https://repo.grails.org/grails/core/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/grails-datastore-core-6.1.10.BUILD-SNAPSHOT.pom>
    <https://repo.grails.org/grails/core/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/grails-datastore-core-6.1.10.BUILD-SNAPSHOT.jar>
    <https://nexus.bedatadriven.com/content/groups/public/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/maven-metadata.xml>
    <https://nexus.bedatadriven.com/content/groups/public/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/grails-datastore-core-6.1.10.BUILD-SNAPSHOT.pom>
    <https://nexus.bedatadriven.com/content/groups/public/org/grails/grails-datastore-core/6.1.10.BUILD-SNAPSHOT/grails-datastore-core-6.1.10.BUILD-SNAPSHOT.jar>
Any ideas? Thanks!
p
@jordi The problem is due to some changes to the Grails JFrog artifactory. Do you see errors after adding https://repo.grails.org/artifactory/core to the repositories?
f
Adding https://repo.grails.org/artifactory/core fixed the issue on our side. Is this a permanent repo or do we need to change it later?
j
@frangarcia This should not be permanent.
f
ok thanks @Jason Schindler
j
@puneetbehl I tried it earlier and got the error, now I have it like this:
Copy code
buildscript {
    repositories {
        maven { url "<https://repository.mulesoft.org/nexus/content/repositories/public>" }
        maven { url "<https://repo.grails.org/artifactory/bintray-grails-plugins-releases-local>" }
        maven { url "<https://dl.bintray.com/grails/grails-core>" }
        maven { url "<https://dl.bintray.com/grails/plugins>" }
        maven { url "<https://grails.jfrog.io/grails/core>" }
        mavenCentral()
        mavenLocal()
        jcenter()
        maven { url "<https://repo.grails.org/grails/core>" }
}
m
I tried adding the above repos as well but it is still throwing errors
Also, would like ask, how can I take this offline,
Error Error initializing classpath: Could not find org.grails.pluginsviews gradle2.0.0.BUILD-SNAPSHOT. Searched in the following locations:
j
I used the above repositories but my build fails.
Copy code
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'okta-oauth2-service'.
> Could not resolve all dependencies for configuration ':runtime'.
   > Could not find org.grails.plugins:spring-security-oauth2:1.2.0.
     Searched in the following locations:
         file:/Users/johnruggentaler/.m2/repository/org/grails/plugins/spring-security-oauth2/1.2.0/spring-security-oauth2-1.2.0.pom
         file:/Users/johnruggentaler/.m2/repository/org/grails/plugins/spring-security-oauth2/1.2.0/spring-security-oauth2-1.2.0.jar
         <https://repo.grails.org/grails/core/org/grails/plugins/spring-security-oauth2/1.2.0/spring-security-oauth2-1.2.0.pom>
         <https://repo.grails.org/grails/core/org/grails/plugins/spring-security-oauth2/1.2.0/spring-security-oauth2-1.2.0.jar>
m
fyi…the artifactory repo doesn’t contain the audit-logging plugin, so projects using that will continue to fail. https://robertoschwald.github.io/grails-audit-logging-plugin/3.0.x/plugin.html#installation
re: above comment, short term fix until Feb 2022 is:
Copy code
maven { url "<https://dl.bintray.com/grails/plugins>" }
j
@michaelmorett I believe the audit-logging plugin is present here: https://repo.grails.org/artifactory/core/org/grails/plugins/audit-logging/
m
Thanks @Jason Schindler. I was looking in another package/location and didn’t know about this. This is perfect.
j
the artifactory repo doesn’t contain the
gradle clover plugin
, , so projects using that will continue to fail. https://repo.grails.org/grails/core/com/bmuschko/gradle-clover-plugin/2.2.4/gradle-clover-plugin-2.2.4.pom
d
Copy code
maven { url "<https://repo.grails.org/artifactory/core>" }
also can help
j
a
@Jay Kadiam Atleast old URL is working which is used many in build.gradle files
✔️ 1
1