OpenAuth icon indicating copy to clipboard operation
OpenAuth copied to clipboard

[BUG] Dependency problem

Open CarlJlin opened this issue 1 year ago • 0 comments

I want to make my own minecraft launcher but i get this error : Could not find artifact org.openjfx:javafx:jar:21 in litarvan (https://litarvan.github.io/maven)

I shouldn't get any error.

Desktop (please complete the following information, if Self-Hosted):

  • OS: Windows 11
  • Java version 21
  • Version 21 Amazon Corretto

My pom.xml : `

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>

<groupId>fr.CarlJlin</groupId>
<artifactId>LauncherMinecraft</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
    <maven.compiler.source>21</maven.compiler.source>
    <maven.compiler.target>21</maven.compiler.target>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
    <repository>
        <id>litarvan</id>
        <url>https://litarvan.github.io/maven</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>fr.flowarg</groupId>
        <artifactId>openlauncherlib</artifactId>
        <version>3.2.10</version>
    </dependency>
    <dependency>
        <groupId>fr.flowarg</groupId>
        <artifactId>flowupdater</artifactId>
        <version>1.9.2</version>
    </dependency>
    <dependency>
        <groupId>fr.litarvan</groupId>
        <artifactId>openauth</artifactId>
        <version>1.1.4</version>
    </dependency>
    <dependency>
        <groupId>org.openjfx</groupId>
        <artifactId>javafx</artifactId>
        <version>21</version>
    </dependency>
    <dependency>
        <groupId>org.openjfx</groupId>
        <artifactId>javafx-swing</artifactId>
        <version>21</version>
    </dependency>
</dependencies>

`

CarlJlin avatar Dec 08 '24 19:12 CarlJlin