giangio
06/16/2025, 8:06 AMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':configureGroovyCompilerGrailsCore'.
> Could not resolve all files for configuration ':runtimeClasspath'.
> Could not resolve com.bertramlabs.plugins:asset-pipeline-grails:5.0.9.
Required by:
root project :
> Could not resolve com.bertramlabs.plugins:asset-pipeline-grails:5.0.9.
> Could not parse POM <https://repo.maven.apache.org/maven2/com/bertramlabs/plugins/asset-pipeline-grails/5.0.9/asset-pipeline-grails-5.0.9.pom>
> Could not find org.apache.grails:grails-bom:7.0.0-SNAPSHOT.
Searched in the following locations:
- <https://repo.maven.apache.org/maven2/org/apache/grails/grails-bom/7.0.0-SNAPSHOT/maven-metadata.xml>
- <https://repo.maven.apache.org/maven2/org/apache/grails/grails-bom/7.0.0-SNAPSHOT/grails-bom-7.0.0-SNAPSHOT.pom>
- <https://repo.grails.org/grails/restricted/org/apache/grails/grails-bom/7.0.0-SNAPSHOT/maven-metadata.xml>
- <https://repo.grails.org/grails/restricted/org/apache/grails/grails-bom/7.0.0-SNAPSHOT/grails-bom-7.0.0-SNAPSHOT.pom>
> There are 3 more failures with identical causes.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 1s
James Fredley
06/16/2025, 3:31 PMbuild --refresh-dependencies
But subsequent assemble, bootRun or build runs work fine.
We saw a similar issue on grails-forge and I have updated that issue with the refresh part: https://github.com/apache/grails-forge/issues/592
Adding
maven { url = '<https://repository.apache.org/content/groups/snapshots>' }
is a workaroundgiangio
06/17/2025, 8:04 AMjdaugherty
06/17/2025, 3:36 PMjdaugherty
06/17/2025, 3:37 PMJames Fredley
06/17/2025, 4:02 PMgiangio
06/17/2025, 6:53 PM./gradlew bootRun
from a shell: same result. I'm going to try on a Windows 11 virtual machine, I'll let you know.giangio
06/17/2025, 7:09 PMgiangio
06/17/2025, 7:10 PMgiangio
06/17/2025, 7:14 PM--refresh-dependencies
in all three scenarios with no luckJames Fredley
06/17/2025, 7:20 PMmaven { url = '<https://repository.apache.org/content/groups/snapshots>' }
giangio
06/17/2025, 7:24 PMgiangio
06/17/2025, 7:25 PMgiangio
06/17/2025, 7:26 PM> Could not find org.apache.grails:grails-bom:7.0.0-SNAPSHOT.
giangio
06/17/2025, 7:26 PM$grailsVersion
is 7.0.0-M4
?James Fredley
06/17/2025, 7:33 PMgiangio
06/17/2025, 7:38 PM