SpectatorPlus

SpectatorPlus

34.1k Downloads

How can I build this without using Maven?

Hasionet opened this issue ยท 17 comments

commented

Which JAR Files (by Java Build Path - Libraries) do you use?

Because Maven thing doesnt work by me.

Please add Messages.yml and that you can edit the Prefix!

commented

And I got one error when I use the SpectatorPlus.2.0.jar
Server: Spigot 1.8 - Try it now on 1.8.8

Error: http://pastebin.com/d2h90UM7

commented

I can't use 1.8.1 because of other plugins

commented

We only use Maven to compile, and the dependencies are in the pom.xml file: for the last development version (branch rewrite), Bukkit API 1.8.3, zLib 0.99 (shaded, good luck to do that without Maven), and Apache Commons Lang 3.3.2.

The possibility to change the texts is already planned: see #32.

The error you mentioned will not be fixed because it's already fixed in the last development version (because the way arenas are stored was rewrote). This said, this version is only compatible with Bukkit 1.8.3+.

By the way, any plugin working with Bukkit 1.8.0 should work with 1.8.3 (except if NMS are used).


Please open one issue per problem or suggestion. Thanks.

commented

Spigot 1.8.3 ? Works too? I hope

commented

It works with both CraftBukkit and Spigot.
If a plugin works with CraftBukkit, it always works with Spigot (same version), except maybe in some very rare cases.

commented

Now I get much Errors... On start..
And I just renamed the jar
http://pastebin.com/vJhS8kew

But in the Programming programm no Errors only a ! By the File..
I use eclipse

commented

Your dependencies are badly managed. Don't know how you compiled the plugin, but you dit it wrongly.
Learn how to use Maven if you want to compile this plugin (and many others).

commented

By the source package I only edited most of the messages

commented

Yes now I have convert it to Maven?? And I have done this what he said:
Maven Eclipse plugin installation step by step:

Open Eclipse IDE
Click Help -> Install New Software...
Click Add button at top right corner
At pop up: fill up Name as "M2Eclipse" and Location as "http://download.eclipse.org/technology/m2e/releases"
Now click OK

Finally,

Click on an existing project
Select Configure -> Convert to Maven Project

http://stackoverflow.com/questions/8620127/maven-in-eclipse-step-by-step-installation

When I have done this it this Errors by Export it:

http://i.imgur.com/jDDkLGC.png

commented

You probably badly configured Maven. The Maven root is in the SpectatorPlus subfolder (where the pom.xml file is).

commented

SHould I create a java Projekt or a Maven Project?

commented

Sorry, I don't use Eclipse. But I suppose a Maven project is required.
You may try to follow this tutorial, but it explains how to create an empty project. It's probably similar.

commented

Should the zlib.tar.gz or should I be a .jar?

commented

Please send me the download Link where you have download this..

commented

Because I think this creates the errors..

commented

There isn't any download link: in the rewrite branch, the zLib dependency is shaded into the Jar with Maven.
There's a JAR file downloaded by Maven and merged with the final JAR, but Maven handle this alone.

commented

No longer active. Reopen if needed.