Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3458

Fix broken dependency on groovy-all in the test framework

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • tests
    • None

    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.

      Attachments

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h