Closed anthony-legay closed 10 years ago
Hi,
Could you paste here the complete log from Maven? There's not enough in this one to find out what went wrong.
Thanks.
I uploaded it to pastebin because it was too long. Sorry.
Thanks,
I'd say there's something wrong with your Maven or Java install. See this line for example:
[WARNING] Unable to find the javadoc version: Exit code: 1 - Le chemin d'accès spécifié est introuvable.
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
Command line was:"C:\Program Files\Java\jdk1.7.0_40\jre\..\bin\javadoc.exe" -J-version
It means Maven can't extract the version of the javadoc.exe
binary on your system for some reason. That's what causing the build to fail, when it tries to build the Javadoc for the libraries.
Which version of Maven are you using? Maybe an old version that's not compatible with the latest JDKs? I'm running 3.1.0 myself.
I just tried it on 32bit Windows and it works fine (I don't have access to a 64bit Windows machine unfortunately).
That's what I thought... and I didn't understand, because it was able to find the java.exe, on the same location ! It's a bit weird :( I'm runnning Maven 2.x because I use the eclipse maven integration plugin and I think, apparently that it's not compatible with 3.x version, is it ? (I thought m2e stands for maven 2 so...)
I just did the build on my Macbook (much easier with the OSX terminal, no doubt and it worked fine). I will try again tonight on my PC, I'll try to install 32 bits JDK or something.
Thank you for your answer ! I'll tell you if I manage to build it on my PC.
2013/9/24 nguillaumin notifications@github.com
Thanks,
I'd say there's something wrong with your Maven or Java install. See this line for example:
[WARNING] Unable to find the javadoc version: Exit code: 1 - Le chemin d'accès spécifié est introuvable. java version "1.7.0_40" Java(TM) SE Runtime Environment (build 1.7.0_40-b43) Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
Command line was:"C:\Program Files\Java\jdk1.7.0_40\jre\..\bin\javadoc.exe" -J-version
It means Maven can't extract the version of the javadoc.exe binary on your system for some reason. That's what causing the build to fail, when it tries to build the Javadoc for the libraries.
Which version of Maven are you using? Maybe an old version that's not compatible with the latest JDKs? I'm running 3.1.0 myself.
I just tried it on 32bit Windows and it works fine (I don't have access to a 64bit Windows machine unfortunately).
— Reply to this email directly or view it on GitHubhttps://github.com/nguillaumin/slick2d-maven/issues/5#issuecomment-24989717 .
Anthony LEGAY Ingénieur Développement
Tél. +33(0) 328 328 000 Fax. +33(0) 328 328 329
Sarbacane Software 3 avenue Antoine Pinay Parc d'activité des 4 vents 59510 HEM - FRANCE www.sarbacane.com
What might be happening is that if the Maven version you use is too old, it's expecting the JDK versions strings to contain "Sun" rather than "Oracle", and then it fails to parse it.
Concerning the Eclipse Maven plugin, as far as I know it doesn't rely at all on your external Maven installation, it embeds its own (You can see that in the Maven preferences within Eclipse).
(I thought m2e stands for maven 2 so...)
m2e defaults to using Maven 3.x.x. For what it's worth, I would advise you to install Maven 2.2.1 externally and have your m2e plugin point to it, it can be done under Preferences > Maven > Installations
Also make sure Java is declared in your environment variables? Not sure what the issue is here so I'm just throwing you random fixes to usual stuff.
Hi ! I just downloaded the package and I ran into a Build error when doing the first mvn clean install.
Here is an extract of the error log :
I just installed a fresh Java jdk 1.7, but it's the 64 bits version, would this be a problem ?