Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Maven doc says </p> <blockquote> <p>The Compiler Plugin is used to compile the sources of your project. The default compiler is javac and is used to compile Java sources. Also note that <strong>at present the default source setting is 1.5 and the default target setting is 1.5, independently of the JDK you run Maven with.</strong> If you want to change these defaults, you should set source and target as described in Setting the <code>-source</code> and <code>-target</code> of the Java Compiler.</p> </blockquote> <p>ref: <a href="http://maven.apache.org/plugins/maven-compiler-plugin/index.html" rel="nofollow noreferrer">http://maven.apache.org/plugins/maven-compiler-plugin/index.html</a></p> <p>There is this interesting thread on Maven's Jira <a href="http://jira.codehaus.org/browse/MCOMPILER-80" rel="nofollow noreferrer">Change default source level to 1.5</a></p> <hr> <p><strong>EDIT:</strong><br> Update for Maven 3.0 and later:</p> <blockquote> <p>The Compiler Plugin is used to compile the sources of your project. <em>Since 3.0, the default compiler is javax.tools.JavaCompiler</em> (if you are using java 1.6) and is used to compile Java sources. If you want to force the plugin using javac, you must configure the plugin option forceJavacCompilerUse.</p> </blockquote> <p>Source: <a href="http://maven.apache.org/plugins/maven-compiler-plugin/index.html" rel="nofollow noreferrer">http://maven.apache.org/plugins/maven-compiler-plugin/index.html</a></p> <p>Thanks <a href="https://stackoverflow.com/users/2829378/nachteil">nachteil</a> for pointing it out.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload