Reputation: 125
I'm trying to create Maven Project.
File - New Project - Maven. Archetype do not indicate.
Then everything is standard: GroupId and ArtifactId. The project is created with empty Pom.xml
Java installed:
java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Maven installed:
mvn -version
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-
04T01:39:06+06:00)
Maven home: D:\Apache_Maven\bin\..
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_144\jre
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Upvotes: 0
Views: 6123
Reputation: 41
Please check
your maven path is set correctly https://www.tutorialspoint.com/maven/maven_environment_setup.htm
run mvn --version and check if your maven is pointing to write jdk as well
IF these two things set correctly while creating project " archetype" list show show . if it is still not showing that means there is a problem in your setup and maven will still show old version
ALso check Proejct->setting->Build deployment &Execution->maven shows correct path
Upvotes: 0
Reputation: 1635
I don't know why you're seeing an empty pom.xml
.
I can however offer an alternate solution:
Upvotes: 1