Compile Maven Module with Different Java Version

There are a number of hacks out there for compiling source code with a different version of the JDK than you are using to run Maven, for example you can use something like <project> […] <build> […] <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration> <executable><!– path-to-javac –></executable> </configuration> </plugin> </plugins> […] </build> […] </project> The issue … Read more

How to set specific Java version to Maven?

Maven uses the JAVA_HOME parameter to find which Java version it is supposed to run. I see from your comment that you can’t change that in the configuration. You can set the JAVA_HOME parameter just before you start maven (and change it back afterwards if need be). You could also go into your mvn(non-windows)/mvn.bat/mvn.cmd(windows) and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)