You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2020/12/02 02:11:00 UTC

[jira] [Created] (BIGTOP-3458) Fix broken dependency on groovy-all in the test framework

Kengo Seki created BIGTOP-3458:
----------------------------------

             Summary: Fix broken dependency on groovy-all in the test framework
                 Key: BIGTOP-3458
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3458
             Project: Bigtop
          Issue Type: Bug
          Components: tests
            Reporter: Kengo Seki
            Assignee: Kengo Seki
             Fix For: 1.5.0


When building release artifacts following [the "How to release" wiki|https://cwiki.apache.org/confluence/display/BIGTOP/How+to+release#Howtorelease-6.BuildandDeployArtifacts], I came across the following error.

{code}
$ 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]
{code}

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|https://groovy-lang.org/releasenotes/groovy-2.5.html]. 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)