Skip to content

[BUG] Dependency problem #50

@CarlJlin

Description

@CarlJlin

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 :
`


4.0.0

<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>

`

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions