GeyserMC / MCProtocolLib

A library for communication with a Minecraft client/server.
MIT License
732 stars 202 forks source link

Missing dependencies using `https://repo.opencollab.dev/main` #854

Open andreypfau opened 3 months ago

andreypfau commented 3 months ago
:worker:main: Could not find com.github.GeyserMC:mcauthlib:e5b0bcc.
Searched in the following locations:
  - https://repo.maven.apache.org/maven2/com/github/GeyserMC/mcauthlib/e5b0bcc/mcauthlib-e5b0bcc.pom
  - https://repo.opencollab.dev/main/com/github/GeyserMC/mcauthlib/e5b0bcc/mcauthlib-e5b0bcc.pom
Required by:
    project :worker > org.geysermc.mcprotocollib:protocol:1.20.6-2-SNAPSHOT:20240610.212238-11

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Konicai commented 3 months ago

Try adding jitpack as a repo

FelixTPG commented 2 months ago

didn't work for me

AlexProgrammerDE commented 1 month ago

@andreypfau @FelixTPG any update?

FelixTPG commented 1 month ago

It somehow worked in the end for me, but i‘ll send my full pom tomorrow when I‘m back at my pc

FelixTPG commented 1 month ago
        <repository>
            <id>scijava.public</id>
            <url>https://maven.scijava.org/content/repositories/public/</url>
        </repository>

        <dependency>
            <groupId>com.github.GeyserMC</groupId>
            <artifactId>MCProtocolLib</artifactId>
            <version>1.20-1</version>
        </dependency>

This was the only thing that worked for me...

andreypfau commented 1 month ago

@andreypfau @FelixTPG any update?

I use exactly that in readme. Try to reproduce on empty project with current settings:

image
FelixTPG commented 1 month ago

I tried twice. But doesn‘t matter anyways for me. I don‘t use it that often.

ajh123 commented 1 day ago

Use the snapshot repository https://repo.opencollab.dev/maven-snapshots/ and add -SNAPSHOT on to the end of your version like this implementation("org.geysermc.mcprotocollib:protocol:1.21-SNAPSHOT")