Geik-xyz / Farmer-v6

Introducing Farmer v6: Your virtual assistant for item collection on your island. Buy with in-game currency, add users, manage permissions, and track stock easily.
https://geik-xyz.github.io/Farmer-v6/
MIT License
38 stars 25 forks source link

[BUG] Could not resolve dependencies #40

Closed Justman100 closed 9 months ago

Justman100 commented 10 months ago

Have tried to build the plugin! But, only this comes:

Could not resolve dependencies for project xyz.geik.farmer:Farmer:jar:v6-b005: The following artifacts could not be resolved: bukkit.org:craftbukkit:jar:1.7.9, spigotmc.org:spigot-1.9.2:jar:1.9.2, spigotmc.org:spigot-1.9.4:jar:1.9.4, spigotmc.org:spigot-1.12:jar:1.12, spigotmc.org:spigot-1.10:jar:1.10, spigotmc.org:spigot-1.11:jar:1.11, spigotmc.org:spigot-1.9:jar:1.9, spigotmc.org:spigot-1.8:jar:1.8, spigotmc.org:spigot.1.8.3:jar:1.8.3, spigotmc.org:spigot.1.8.4:jar:1.8.4, spigotmc.org:spigot.1.8.6:jar:1.8.6, spigotmc.org:spigot.1.8.8:jar:1.8.8, spigotmc.org:spigot-1649:jar:1.7.10: Could not find artifact bukkit.org:craftbukkit:jar:1.7.9 at specified path /root/.m2/repository/com/wasteofplastic/askyblock/3.0.9.4/lib/craftbukkit-1.7.9-R0.3-20140705.002733-4.jar

poyrazinan commented 10 months ago

Can you try to compile develop branch

Justman100 commented 10 months ago

Can you try to compile develop branch

Have tried with both branches

poyrazinan commented 10 months ago

Can you try to compile develop branch

Have tried with both branches

How you try to compile the plugin

Justman100 commented 10 months ago

Can you try to compile develop branch

Have tried with both branches

How you try to compile the plugin

With the main branch

git init
git pull https://github.com/Geik-xyz/Farmer-v6.git
mvn package


With the develope branch

git init
git remote add origin https://github.com/Geik-xyz/Farmer-v6.git
git pull origin develope
mvn package
poyrazinan commented 10 months ago

Can you try to use commands below. One of them should fix your issue.

  1. mvn compile
  2. mvn test-compile
  3. maven install

mvn package tries to package everything together. But you should download dependencies first to use this command. One of the 3 command should download the requirements of project.

Justman100 commented 10 months ago

Can you try to use commands below. One of them should fix your issue.

1. mvn compile

2. mvn test-compile

3. maven install

mvn package tries to package everything together. But you should download dependencies first to use this command. One of the 3 command should download the requirements of project.

None of them work

poyrazinan commented 10 months ago

Run mvn dependency:copy-dependencies, to download all your dependencies and save them in the target/dependency folder.

Justman100 commented 10 months ago

Run mvn dependency:copy-dependencies, to download all your dependencies and save them in the target/dependency folder.

Also not

poyrazinan commented 10 months ago

Then please use intellij idea to compile

Justman100 commented 10 months ago

Then please use intellij idea to compile

I tried it in an IDE! Now I get another error:

Could not resolve dependencies for project xyz.geik.farmer:Farmer:jar:v6-b100: Failed to collect dependencies at com.github.Geik-xyz:GLib:jar:cd0ced12e5 -> eu.okaeri:okaeri-configs-yaml-bukkit:jar:4.0.4: Failed to read artifact descriptor for eu.okaeri:okaeri-configs-yaml-bukkit:jar:4.0.4: The following artifacts could not be resolved: eu.okaeri:okaeri-configs-yaml-bukkit:pom:4.0.4 (absent): Could not transfer artifact eu.okaeri:okaeri-configs-yaml-bukkit:pom:4.0.4 from/to okaeri-repo (https://storehouse.okaeri.eu/repository/maven-public/)

Justman100 commented 10 months ago

@poyrazinan

Justman100 commented 9 months ago

@poyrazinan

WHY CLOSED?