Huskehhh / MySQL

Simple JDBC MySQL database wrapper for Java
MIT License
69 stars 51 forks source link

Could not sync #16

Closed zigazajc007 closed 4 years ago

zigazajc007 commented 4 years ago

Could not find artifact pro.husk:mysql:pom:1.2 in papermc-repo (https://papermc.io/repo/repository/maven-public/)

Huskehhh commented 4 years ago

Have you got my repo listed in your pom?

zigazajc007 commented 4 years ago

I have this.

papermc-repo https://papermc.io/repo/repository/maven-public/ husk http://maven.husk.pro/repository/internal/
<dependencies>
    <dependency>
        <groupId>org.bukkit</groupId>
        <artifactId>bukkit</artifactId>
        <version>1.14.4-R0.1-SNAPSHOT</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>8.0.18</version>
    </dependency>
    <dependency>
        <groupId>pro.husk</groupId>
        <artifactId>mysql</artifactId>
        <version>1.2</version>
    </dependency>
</dependencies>

Github don't allow me to send .xml code here... Can we talk in discord: Crazy Rabbit#3046

Huskehhh commented 4 years ago

Awesome, thanks. I've had a look, and the issue should now be fixed :)

Can you please try compile again?

zigazajc007 commented 4 years ago

It's still the same. It look like that your dependency looks for repository only in https://papermc.io/repo/repository/maven-public/ and not in http://maven.husk.pro/repository/internal/

Huskehhh commented 4 years ago

Issue was resolved.

If anyone reads this with the same issue, try using the -U flag in your build or clear your .m2 cache

Thanks