[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    Re: Could not find artifact org.openjfx:javafx-web
From:       Nils Breunese <nils () breun ! nl>
Date:       2022-04-14 23:31:51
Message-ID: E2E4AC99-59FD-4368-8E24-538074506BB7 () breun ! nl
[Download RAW message or body]

Richard Schmidt <doneeg@gmail.com> wrote:

> I am new to maven, NetBeans 13, and gluon and graalvm. I just created a a gluon \
> javafx project for desktop platform. I needed to add a dependency to POM.XML file \
> for org.openjfx, javafx-web. Most of the time I get the "could not find artifact" \
> javafx-web. Once in a while it works, but not for long. I have tried to use other \
> repositories to get it, but that fails also. Would like to know how to get over \
> this hump. Thanks!

I am not familiar with Gluon or JavaFX, but it seems org.openjfx:javafx-web is \
available from Maven Central [0]. I just tried adding it to one of my projects, and \
Maven downloaded the dependency just fine:

    <dependency>
        <groupId>org.openjfx</groupId>
        <artifactId>javafx-web</artifactId>
        <version>17.0.2</version><!-- Match this version to your Java version -->
    </dependency>

I wonder what you mean with 'Once in a while it works, but not for long'. Once Maven \
has downloaded a dependency into your local Maven repository, it should find it for \
all next builds, because the dependency doesn't need to be downloaded again.

Nils.

[0] https://search.maven.org/artifact/org.openjfx/javafx-web
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic