Description
When building release artifacts following the "How to release" wiki, I came across the following error.
$ mvn clean deploy -Prelease -f bigtop-test-framework/pom.xml [INFO] Scanning for projects... [INFO] [INFO] ----------------< org.apache.bigtop.itest:itest-common >---------------- [INFO] Building iTest: system and integration testing in the cloud 1.5.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.912 s [INFO] Finished at: 2020-12-02T10:54:42+09:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project itest-common: Could not resolve dependencies for project org.apache.bigtop.itest:itest-common:jar:1.5.0: Failure to find org.codehaus.groovy:groovy-all:jar:2.5.4 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
This error is introduced by BIGTOP-3395 and BIGTOP-3399. I upgraded Groovy 2.4 to 2.5 in these issues, but groovy-all jar is no longer provided from that version. So we have to import groovy-all pom in the parent module and enumerate required modules (e.g., groovy-ant or groovy-json) in the children.