What is model version in pom file, and How to check maven version of our project ?
What is model version in pom file ?
model version is the version of project descriptor your POM compatible to. It needs to be included and is set. The value 4.0. 0 just
indicated that it is compatible Maven 3.
How to check maven version of project ?
In eclipse, right click on the project->run as->run configurations – select project in Maven Build section on the left, give project name in name, project workspace in base directory, give –verison in goals, and click on run,
This
gives me the following output:
Apache
Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11 10T11:41:47-05:00)
Maven
home: C:\Program Files\Java\apache-maven-3.3.9
Java
version: 1.7.0_80, vendor: Oracle Corporation
Java
home: C:\Program Files\Java\jdk1.7.0_80\jre
Default
locale: en_US, platform encoding: UTF-8
OS
name: "windows 8.1", version: "6.3", arch: "amd64",
family: "windows"
please let me know your questions regarding core and advanced java
ReplyDelete