-
Notifications
You must be signed in to change notification settings - Fork 323
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
Add Truffle TCK libraryDependencies to runtime-test-instruments. #8766
Conversation
Thi removes the error message that JPMS plugin cannot find these modules from the update report.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
"org.graalvm.sdk" % "polyglot-tck" % graalMavenPackagesVersion, | ||
"org.netbeans.api" % "org-openide-util-lookup" % netbeansApiVersion % "provided" | ||
"org.graalvm.sdk" % "polyglot-tck" % graalMavenPackagesVersion, | ||
"org.graalvm.truffle" % "truffle-tck" % graalMavenPackagesVersion, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think all of those should be "provided"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we don't have to care in this case, because runtime-test-instruments
project is used exclusively in tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for fixing my mistake. I knew not everything is right, but I had no idea how to fix it.
appropriate libraryDependencies to runtime-test-instruments.
Can you elaborate and describe what does it mean appropriate library dependencies? Does there have to be a transitive closure of dependencies?
At the end everything runs - e.g. the libraryDependencies
cannot be completely incorrect, right?
@JaroslavTulach The error message mentioned in the description comes from the Lines 81 to 116 in 21d164e
When you set There may be some method in the
As mentioned in the comment here Lines 48 to 52 in 542357a
org.graalvm.polyglot % js-community % "23.1.0" , which contains a parent POM that has transitive dependencies for js language, because, once again, I was unable to find an appropriate method in the sbt-librarymanagement API that would solve this issue for me. So for now, we need to look at all the transitive dependencies of these modules and manually maintain them.
|
Pull Request Description
Since #8685, there is the following error (warning) message from JPMS plugin when building
runtime-test-instruments
:This PR removes this error message by providing appropriate
libraryDependencies
toruntime-test-instruments
.Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR: