Have a look at animal-sniffer-maven-plu...@mojo and when maven-compiler-plugin:2.1 is released, toolchains will help you greatly
2009/11/16 Askar Zaidi <askar.za...@gmail.com>: > That did help. I was missing a dependency for the project so I added it and > it compiled my sources fine. I'm using the maven plugin for netbeans and the > IDE is configured to use JDK 1.6 by default. Theres no way I can switch my > IDE to 1.4. So, when I create a maven project in netbeans, can I specify > which JDK to use? When I create a standard Netbeans project, I can go to > project properties and change the JDK to whichever version I want to use. I > can't find that option for maven type projects. I need to do this so I don't > see all the errors in my maven project, you know those red flags which show > the errors - even though I can compile it fine with a JDK1.4 pointed in the > pom.xml. > > Thanks! > > On Mon, Nov 16, 2009 at 3:42 AM, Stephen Connolly < > stephen.alan.conno...@gmail.com> wrote: > >> also try changing all the \'s to /'s >> >> 2009/11/16 Wayne Fay <wayne...@gmail.com>: >> >> Any pointers are much appreciated. >> > >> > Try "mvn -X compile" (debug mode) and see if Maven shows any helpful >> > information so you can this out. >> > >> > Wayne >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> > For additional commands, e-mail: users-h...@maven.apache.org >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org