andune / HomeSpawnPlus

Home/Spawn control plugin for Bukkit
GNU General Public License v3.0
13 stars 10 forks source link

Failed to execute goal org.reflections:reflections-maven:0.9.8:reflections #1

Closed ddidderr closed 9 years ago

ddidderr commented 11 years ago

Hi I just tried to compile (mvn clean package) the project using Maven 3 on a 64 bit Linux machine and got the following error: [ERROR] Failed to execute goal org.reflections:reflections-maven:0.9.8:reflections (default) on project HomeSpawnPlus: Execution default of goal org.reflections:reflections-maven:0.9.8:reflections failed: Plugin org.reflections:reflections-maven:0.9.8 or one of its dependencies could not be resolved: Failure to find com.andune.minecraft.commonlib:commonlib:jar:0.4 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

Is there a compiled jar somewhere? Because I've had a look at dev.bukkit.org but they always need some time to check the file until it is published. Or could you help me with that error so that I can compile it?

Sorry would have written that in a private message but unfortuenately Github doesn't have that.

Greetings! Paul

andune commented 11 years ago

This is an issue because of the .yml files I use for reflections, which eliminates XML dependencies and decreases the size of the JAR. However it makes the reflections plugin depend on my commonlib and despite declaring dependencies, maven doesn't seem to auto-download and resolve the dependency. At one time, I thought I might be able to fix that by getting the commonlib into the official maven repositories, but I never was able to finish that task.

In the meantime, you can pull the commonlib, switch to the 0.4 tag and 'mvn install' to install the 0.4 commonlib in your local maven repository. After that, the reflections plugin should be able to find it and HSP will build.

andune commented 9 years ago

Should no longer be an issue with HSP 2.0, although for 1.7 I did add build notes so if someone wants to build the 1.7 branch, the build file covers how to do this. Closing issue.