File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Ant, Maven and Other Build Tools
maven 3 doesn't play nice with java 7
Joined: Oct 31, 2011
Nov 21, 2011 23:47:01
When I tried compiling my codes, I got a warning saying that
in switch is not supported in source 1.5, but I've already installed
7 and change the variables accordingly. Help please? thanks
Joined: May 14, 2008
Nov 22, 2011 10:04:54
change the variables accordingly
What variables? Please post the Compiler plugin configuration in your pom.xml, without that my only guess is that you did something incorrectly.
Also, run "mvn -version" and see what version of Java it tells you about. If it is not 1.7, you need to change your JAVA_HOME.
Also, what OS?
JBoss In Action
I agree. Here's the link:
- it saves me about five hours per week
subject: maven 3 doesn't play nice with java 7
I like Ubuntu 8.04
JAVA 7 launching on 7/7/2011
7/7/11 - java released
what has changed in javaSE since 2005?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013