Skip to content
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

No org.graalvm.js:js version 24.0.0 on Maven Central? #813

Closed
garydgregory opened this issue Apr 11, 2024 · 4 comments
Closed

No org.graalvm.js:js version 24.0.0 on Maven Central? #813

garydgregory opened this issue Apr 11, 2024 · 4 comments
Labels
question Further information is requested

Comments

@garydgregory
Copy link

garydgregory commented Apr 11, 2024

There is no 24.0.0 on https://search.maven.org/artifact/org.graalvm.js/js
Or, more directly: https://repo1.maven.org/maven2/org/graalvm/js/js/

@garydgregory garydgregory changed the title No https://search.maven.org/artifact/org.graalvm.js/js on Maven Central No org.graalvm.js/js version 24.0.0 on Maven Central? Apr 11, 2024
@garydgregory garydgregory changed the title No org.graalvm.js/js version 24.0.0 on Maven Central? No org.graalvm.js:js version 24.0.0 on Maven Central? Apr 11, 2024
@woess
Copy link
Member

woess commented Apr 16, 2024

Please use the equivalent org.graalvm.polyglot:js for the time being.
https://search.maven.org/artifact/org.graalvm.polyglot/js

org.graalvm.js:js will be reintroduced with 24.1.0 as an alias.

@woess woess closed this as completed Apr 16, 2024
@woess woess added the question Further information is requested label Apr 16, 2024
@garydgregory
Copy link
Author

garydgregory commented Apr 16, 2024

You're telling me to replace a jar with a pom?

I got our tests to work with the following for Graal 24.0.0 and Java 22:

        <dependency>
          <groupId>org.graalvm.js</groupId>
          <artifactId>js-language</artifactId>
          <version>${graalvm.version}</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.graalvm.truffle</groupId>
          <artifactId>truffle-runtime</artifactId>
          <version>${graalvm.version}</version>
          <scope>test</scope>
        </dependency>        
        <dependency>
          <groupId>org.graalvm.js</groupId>
          <artifactId>js-scriptengine</artifactId>
          <version>${graalvm.version}</version>
          <scope>test</scope>
        </dependency>

@woess
Copy link
Member

woess commented Apr 17, 2024

It's a pom dependency, so it's to be used with <type>pom</type>. It will then automatically pull in the dependencies like you did above.

@garydgregory
Copy link
Author

@woess
TY for your explanation. I could not get that to work from within a Maven profile so I'll have to stick with my current hack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants