Importing a Maven project from Git, right-clicking the jar package that you want to update the MAVEN reference, and discovering that the right-click menu does not have a MAVEN menu item at all. What to do? Very simple, follow these steps:
After importing from Git, right-click the project without the "Maven" menu item:
Just one step, right-click on the project = = "Configure" = = "Convert to Maven Project":
Then look at the context menu again and you'll see that the Maven menu item already appears:
The problem occurs because, after importing a project from Git, Eclipse does not know that this is a MAVEN project, so right-clicking does not have the MAVEN option. We need to convert it manually so that eclipse can recognize it.
Constantly accumulate the use of software skills, so that our tools become more intelligent, more understanding of your heart.
Beginner's tool use (14)--maven Project Right-click No Maven menu option