-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update from testng 7.9.0 to 7.10.0 break maven build with junit5 #3110
Comments
Fixed via commit 5eac7fa |
@ahoehma - I have published a release candidate. Can you please help consume it by defining <repository>
<id>maven-central-staging</id>
<url>https://oss.sonatype.org/content/repositories/orgtestng-1092</url>
</repository> in your pom file and then bumping up your dependency to TestNG Based on your confirmation, I will proceed with wrapping up this release. @sormuras - FYI |
@krmahadevan Sorry I can't :-( I'm behind a managed company nexus service and it's almost impossible to add more maven registries there. And in my build itself direct internet access is forbidden. |
But may I can build this testng version by my own? Locally ... |
yeah you should be able to do that. Build from the |
Works for JUnit Samples by modifying junit5-multiple-engines/build.gradle.kts locally: repositories {
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/orgtestng-1092")
}
} // TestNG
testImplementation("org.testng:testng:7.10.1") {
because("allows writing TestNG tests")
} Looks good to me. 👍
|
Then let me go ahead and wrap up the release. Thank you @sormuras |
@ahoehma - |
Using 7.10.1 makes the JUnit samples project green again: |
Sorry ... but I was not able to try the locally made (this was working) release yet :-( Too many tasks ;) |
Worked! As expected! Thanks! |
TestNG Version
Expected behavior
No breaking change between 7.9.0 and 7.10.0
Actual behavior
Suddenly my maven build stop working because of
java.lang.NoSuchMethodError: 'long[] org.testng.IClass.getInstanceHashCodes()'
Is the issue reproducible on runner?
Shell
Maven
Gradle
Ant
Eclipse
IntelliJ
NetBeans
org.apache.maven.plugins:maven-surefire-plugin:3.2.5
org.junit.support:testng-engine:1.0.5
The text was updated successfully, but these errors were encountered: