Scyntrus / FactionMobs

FactionMobs CraftBukkit Plugin
http://dev.bukkit.org/server-mods/faction-mobs/
Other
14 stars 19 forks source link

Compiling with Less Dependencies #14

Closed Resoluciones closed 6 years ago

Resoluciones commented 6 years ago

Hi Scyntrus,

I've read your readme: "If you are compiling for yourself, you can delete the unused packages under "com.gmail.scyntrus.ifactions" The corresponding team plugin dependencies can be removed from the pom.xml By default, the pom file is configured to look for these jars in the lib folder "

And I was trying to follow those guidlines, and compile it with only Feudal support, but I couldn't get a workable .jar, I think something more has to be done, not just removing the dependencies from pom and deleting the packages.

Can you let me know?

Thanks!

Scyntrus commented 6 years ago

Did you build with Maven?

Resoluciones commented 6 years ago

Yes, with Maven normal command: /mvn clean package

Scyntrus commented 6 years ago

How much of it is working? What is in the jar that gets output? If you are building for Feudal you also need the Turrets jar, otherwise you can delete the TurretsListener class and any reference to it.

Resoluciones commented 6 years ago

FactionMobs.zip

Yes I did that already, I get the attached .jar and after starting I get this error: https://hasteb.in/elomebuceq.avrasm

I've bought Feudal, just in case you ask (not a nulled copy).

Scyntrus commented 6 years ago

Well don't delete the com.gmail.scyntrus.ifactions.feudal package

Resoluciones commented 6 years ago

If you mean these files, they were not deleted. package

Scyntrus commented 6 years ago

Don't delete the entire FeudalConnector, only delete the 4 lines that use the TurretsListener.

Resoluciones commented 6 years ago

It's solved! Thank you Scyntrus!