oracle / graaljs

GraalJS – A high-performance, ECMAScript compliant, and embeddable JavaScript runtime for Java
https://www.graalvm.org/javascript/
Universal Permissive License v1.0
1.82k stars 191 forks source link

missing jar in org.graalvm.js:js:jar:24.1.0 #862

Closed tim-klug closed 2 weeks ago

tim-klug commented 1 month ago

Hey, when I try to upgrade to org.graalvm.js:js:jar:24.1.0, maven gives the following message:

The following artifacts could not be resolved: org.graalvm.js:js:jar:24.1.0 (absent): Could not find artifact org.graalvm.js:js:jar:24.1.0 in central (https://repo1.maven.org/maven2)

Is this intended, that there is no jar, etc in the package on maven central? https://repo1.maven.org/maven2/org/graalvm/js/js/24.1.0/

Thx Tim

iamstolis commented 1 month ago

Is this intended, ...

Yes, it is part of more complex changes (you can read more about them here). The right maven artifact is org.graalvm.polyglot:js now. Note that this is pom not jar (the actual jars are other maven artifacts that are dependencies of this one).

woess commented 1 month ago

org.graalvm.js:js is a pom artifact now (just like org.graalvm.polyglot:js), so it needs <type>pom</type>.