java - how to know maven compiler version ?is this same as maven installation i.e-apache-maven-3.1.1 -
in pom.xml <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-compiler-plugin</artifactid> <version>2.3.2</version> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> </configuration> </plugin>
should version no?,i mean version no?
is same i.e mvn installation .
see http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source
although values not explicitly defined, follows convention of major java releases - 1.5, 1.6, 1.7, 1.8, etc.
Comments
Post a Comment