Hello, So, I trying to modify craftbukkit for the need of my server. So, I installed git and maven 3.0.6. I created folder wich I initialize with Code: git init and I downloaded bukkit: Code: git pull https://github.com/Bukkit/Bukkit.git then Code: mvn clean install Result: Code: [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Bukkit 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ bukkit --- [INFO] Deleting C:\Users\Kenshin\Desktop\bukkit\target [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ bukkit - -- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Users\Kenshin\Desktop\bukkit\src\m ain\resources [INFO] [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ bukkit --- [INFO] Compiling 375 source files to C:\Users\Kenshin\Desktop\bukkit\target\clas ses [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ bukkit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Users\Kenshin\Desktop\bukkit\src\t est\resources [INFO] [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ bukki t --- [INFO] Compiling 7 source files to C:\Users\Kenshin\Desktop\bukkit\target\test-c lasses [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ bukkit --- [INFO] Surefire report directory: C:\Users\Kenshin\Desktop\bukkit\target\surefir e-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.bukkit.configuration.file.YamlConfigurationTest Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.235 sec Running org.bukkit.configuration.MemoryConfigurationTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.bukkit.configuration.MemorySectionTest Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec Results : Tests run: 60, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ bukkit --- [INFO] Building jar: C:\Users\Kenshin\Desktop\bukkit\target\bukkit-0.0.1-SNAPSHO T.jar [INFO] [INFO] --- maven-shade-plugin:1.4:shade (default) @ bukkit --- [INFO] Including org.yaml:snakeyaml:jar:1.9 in the shaded jar. [INFO] Including com.googlecode.json-simple:json-simple:jar:1.1 in the shaded ja r. [INFO] Including org.avaje:ebean:jar:2.7.3 in the shaded jar. [INFO] Including javax.persistence:persistence-api:jar:1.0 in the shaded jar. [INFO] Including com.google.guava:guava:jar:10.0 in the shaded jar. [INFO] Including com.google.code.findbugs:jsr305:jar:1.3.9 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing C:\Users\Kenshin\Desktop\bukkit\target\bukkit-0.0.1-SNAPSHOT.ja r with C:\Users\Kenshin\Desktop\bukkit\target\bukkit-0.0.1-SNAPSHOT-shaded.jar [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ bukkit --- [INFO] Installing C:\Users\Kenshin\Desktop\bukkit\target\bukkit-0.0.1-SNAPSHOT.j ar to C:\Users\Kenshin\.m2\repository\org\bukkit\bukkit\0.0.1-SNAPSHOT\bukkit-0. 0.1-SNAPSHOT.jar [INFO] Installing C:\Users\Kenshin\Desktop\bukkit\dependency-reduced-pom.xml to C:\Users\Kenshin\.m2\repository\org\bukkit\bukkit\0.0.1-SNAPSHOT\bukkit-0.0.1-SN APSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.401s [INFO] Finished at: Sat Oct 22 16:46:34 CEST 2011 [INFO] Final Memory: 30M/186M [INFO] ------------------------------------------------------------------------ Perfect ! I continue by creating a new folder craftbukkit, then Code: git pull https://github.com/Bukkit/CraftBukkit.git and Code: mvn clean package Result: Code: mvn clean package [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building CraftBukkit 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repo.bukkit.org/artifactory/plugins-release/com/lukegb/mojo/ gitdescribe-maven-plugin/1.3/gitdescribe-maven-plugin-1.3.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.434s [INFO] Finished at: Sat Oct 22 16:39:38 CEST 2011 [INFO] Final Memory: 7M/77M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin com.lukegb.mojo:gitdescribe-maven-plugin:1.3 or one of its depend encies could not be resolved: Failed to read artifact descriptor for com.lukegb. mojo:gitdescribe-maven-plugin:jar:1.3: Could not transfer artifact com.lukegb.mo jo:gitdescribe-maven-plugin:pom:1.3 from/to bukkit-plugins (http://repo.bukkit.o rg/artifactory/plugins-release): Error transferring file: Server returned HTTP r esponse code: 500 for URL: http://repo.bukkit.org/artifactory/plugins-release/co m/lukegb/mojo/gitdescribe-maven-plugin/1.3/gitdescribe-maven-plugin-1.3.pom -> [ Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti onException Thanks a lot for reading. Any idea ? Sorry for my english, i'm french Bye I tried to do it in Eclipse instead of in command line but same result. Any idea ? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Same problem here. EDIT: Found solution. Download the "gitdescribe-maven-plugin-1.3.pom" file from http://repo.bukkit.org/ and paste it in the \. M2 \ repository \ com \ lukegb \ mojo \ gitdescribe-maven-plugin \ 1.3 folder
I have had the same problem pulling the git repo and trying to build with maven today. The solution proposed above did not solve the problem. I have managed to get rid of most of the errors, but I'm stuck on finding the appropriate POM files for : [WARNING] The POM for org.apache.maven.plugins:maven-surefire-plugin:jar:2.11 is invalid, transitive dependencies (if any) will not be available, enable debug l ogging for more details [WARNING] The POM for org.bukkit:minecraft-server-release:jar:1.1_01 is invalid, transitive dependencies (if any) will not be available, enable debug logging fo r more details [WARNING] The POM for junit:junit:jar:4.10 is invalid, transitive dependencies ( if any) will not be available, enable debug logging for more details