I have been having trouble with IDEA ( JetBrains Intellij IDEA 13
) not reading the pom.xml
file after the project has been imported using the VCS
. How can I make IDEA recognize this as a Maven project
so it gets all the dependencies from the pom.xml
?
This is what the pom.xml
currently looks like in Project View
:
To test it try this our:
If everything is working correctly it will ask you to create an Intellij project
How can I fix this?
Add as Maven project
", the project will now turn into a Maven project and the pom.xml file icon should turn into an m
, the Maven
logo. How did it occur?
This occurs when you don't include the " .idea
" folder in the Git
repository.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.