On 30 March 2015 at 16:46, Lin Ma <[email protected]> wrote: > Hello Maven masters, > > For maven-compiler-plugin(a sample below), have a quick question. I read > this document (http://maven.apache.org/plugins/maven-compiler-plugin/), > and > confused what means source and target 1.5 here, it seems it is an internal > version number of Maven, independent of JDK? >
No. You should read here http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source . Linked to http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html#options see source and target options HTH Olivier > > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <version>2.3.2</version> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > > thanks in advance, > Lin > -- Olivier Lamy http://twitter.com/olamy | http://linkedin.com/in/olamy
