Failed to execute goal org.reflections:reflections-maven:0.9.8:reflections
ddidderr opened this issue ยท 2 comments
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
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.