Richard Schmidt <don...@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-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org