You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jon Juaristi (JIRA)" <ji...@apache.org> on 2016/05/25 07:51:12 UTC

[jira] [Created] (WW-4638) TestNG 6.9.10 dependency error

Jon Juaristi created WW-4638:
--------------------------------

             Summary: TestNG 6.9.10 dependency error
                 Key: WW-4638
                 URL: https://issues.apache.org/jira/browse/WW-4638
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - TestNG
    Affects Versions: 2.5, 2.3.28
            Reporter: Jon Juaristi


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

{code}
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'
{code}

Is the next one

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

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)