jamesfredley opened a new issue, #14853:
URL: https://github.com/apache/grails-core/issues/14853
The failure in the forge tests on the v7.0.0-M4 tag is caused by
asset-pipeline-grails pointing to grails-bom:7.0.0-SNAPSHOT and the
repositories list not containing maven` { url =
'https://repository.apache.org/content/groups/snapshots' }` , since it is a not
a snapshot version
Workaround, add the Apache Snapshot Repo to `build.gradle`
`maven { url = 'https://repository.apache.org/content/groups/snapshots' }`
In a generated test app, the issues does reoccurs initially, and can be
forced by refreshing dependencies: `./gradlew build --refresh-dependencies`
```
+--- com.bertramlabs.plugins:asset-pipeline-grails -> 5.0.9
| +--- org.apache.grails:grails-bom:7.0.0-SNAPSHOT -> 7.0.0-M4 (*)
| +--- com.bertramlabs.plugins:asset-pipeline-core:5.0.9
| \--- org.apache.grails:grails-url-mappings -> 7.0.0-M4 (*)
```
but it is reproducible with the v7.0.0-M4 tag checked out
`./gradle clean :test-core:test --tests
"org.grails.forge.create.CreateAppSpec"`
```
> Task :test-core:testClasses UP-TO-DATE
Unexpected build execution failure in
C:\Users\james\AppData\Local\Temp\test-app4196529524660171258 with arguments
[build, -x, iT]
Output:
> Task :assetCompile FAILED
[Incubating] Problems report is available at:
file:///C:/Users/james/AppData/Local/Temp/test-app4196529524660171258/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':assetCompile'.
> 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.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]