<div dir="ltr"><div>Package: testng</div><div>Version: 6.9.12-2</div><div>Severity: important</div><div><br></div><div>Dear Maintainer,</div><div><br></div><div>while trying to use testng to update package htsjdk (using gradle),</div><div>I face errors about jcommander not being found when running tests</div><div><br></div><div>Task :compileTestJava actions class loader hash: 1526b3b109d06b230b32697697c7e0ca</div><div><span style="white-space:pre">    </span>Passing through org.scala-lang:scala-library:jar:2.11.x</div><div><span style="white-space:pre">       </span>Passing through com.google.jimfs:jimfs:jar:debian</div><div><span style="white-space:pre">     </span>Passing through com.google.jimfs:jimfs-parent:jar:debian</div><div><span style="white-space:pre">      </span>Passing through org.testng:testng:jar:debian</div><div><span style="white-space:pre">  </span>Passing through com.google.guava:guava:jar:debian</div><div><span style="white-space:pre">     </span>Passing through com.google.guava:guava-parent:jar:debian</div><div><span style="white-space:pre">      </span>Passing through org.beanshell:bsh:jar:debian</div><div><span style="white-space:pre">  </span>Passing through com.beust:jcommander:jar:1.x</div><div>POM relocation to an other version number is not fully supported in Gradle : com.beust:jcommander:1.x relocated to com.beust:jcommander:debian.</div><div>Please update your dependency to directly use the correct version 'com.beust:jcommander:debian'.</div><div>Resolution will only pick dependencies of the relocated element.  Artifacts and other metadata will be ignored.</div><div>...</div><div>Caused by: java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException</div><div><span style="white-space:pre">   </span>at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:95)</div><div><span style="white-space:pre">   </span>at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:88)</div><div><span style="white-space:pre">       </span>at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)</div><div><br></div><div>I see in gradle logs that jcommander is not added in the classpath, so there may be a dependency management issue with jcommander.</div><div><br></div><div>It seems there are resolution issues I did not face in the past.</div><div>Don't know if issue is testng or jcommander related as I see jcommander was updated not so long ago.</div><div><br></div><div><br></div><div>-- System Information:</div><div>Debian Release: 9.0</div><div>  APT prefers unstable</div><div>  APT policy: (500, 'unstable')</div><div>Architecture: amd64 (x86_64)</div><div><br></div><div>Kernel: Linux 4.4.0-116-generic (SMP w/4 CPU cores)</div><div>Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)</div><div>Shell: /bin/sh linked to /usr/bin/dash</div><div>Init: unable to detect</div><div><br></div><div>Versions of packages testng depends on:</div><div>ii  libbsh-java         2.0b4-19</div><div>ii  libjcommander-java  1.71-1</div><div><br></div><div>Versions of packages testng recommends:</div><div>ii  ant                 1.10.3-1</div><div>ii  junit4              4.12-6</div><div>ii  libyaml-snake-java  1.20-1</div><div><br></div><div>testng suggests no packages.</div><div><br></div><div>-- no debconf information</div></div>