Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.28, 2.5
    • Fix Version/s: 2.5.5
    • Component/s: Plugin - TestNG
    • Labels:
      None

      Description

      When trying to add the TestNG plugin as a dependency with TestNG 6.9.10 in Gradle, the test compilation fails.

      The output for these dependencies

      testCompile 'org.assertj:assertj-core:2.4.1'
      testCompile 'org.testng:testng:6.9.10'
      testCompile 'org.apache.struts:struts2-testng-plugin:2.3.28.1'
      //or testCompile 'org.apache.struts:struts2-testng-plugin:2.5'
      

      Is the next one

      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Could not resolve all dependencies for configuration ':testCompileClasspath'.
      > Could not find testng-jdk15.jar (org.testng:testng:6.9.10).
        Searched in the following locations:
            https://repo1.maven.org/maven2/org/testng/testng/6.9.10/testng-6.9.10-jdk15.jar
      

      The same happens for JCenter.

      It searches a file that doesn't exist, from what I've read the last version with jdk15.jar is something like 4.4.7, if I'm not mistaken.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jontxu Jon Juaristi
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: