#need help importing craftbukkit using
1 messages · Page 1 of 1 (latest)
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8.8-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8.8-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.8.8-R0.1-SNAPSHOT</version>
<systemPath>G:\Coding\One-In-The-Chamber-master\OITC-1.8.9 (clean)\src\resources\craftbukkit-1.8.8-R0.1-SNAPSHOT.jar</systemPath>
<type>jar</type>
<scope>system</scope>
</dependency>
</dependencies>
How can I use craftplayer?
run build tools and depend on spigot not spigot-api
then reload maven and you should have it
Still cannot import CraftPlayer
did you reload maven
I used maven > refresh project
same as before but spigot instead of spigot-api
^
you are still depending on bukkit and craftbukkit when you do not need to do, also you shouldnt need to add your maven local to the pom manually
reloading maven should give you access to CraftPlayer
You seem to have a custom m2 location
m2 is users/myname/.m2