Reproduced
When we build a MAVEN project structure through a template (like the simplest maven-archetype-quikstart plugin), how do we convert it into Eclipse-supported Java project?
1. Navigate to the Maven root directory (this directory must have Pom.xml).
2. Use the MAVEN command MVN eclipse:eclipse (Shift-click the right mouse button to open the input MAVEN command with the command line)
3. Go to the root directory and you will find the familiar two files automatically generated:. Classpath and. Project.
4. Open Eclipse, locate the project path, and import
------------------------------------------------? (^∇^*)---------------------------------------------------
Maven Common Commands
Build purge Eclipse Project structure:
MVN Eclipse:eclipse
MVN Eclipse:clean
Clean up (delete compiled content under target directory)
MVN clean
Package Web page files only
MVN war:exploded
Compiling the project
MVN Compile
Package release
MVN Package
Skip Test when packaging
MVN package-dmaven.test.skip=ture
------------------------------------\ (^o^)/~-----------------------------------------------------
Easy to copy over the query
10. Build Eclipse Project: MVN eclipse:eclipse
11. Generate the Idea project: MVN Idea:idea
12. Combine with goal commands, such as package-only not tested: Mvn-dtest packages
13. Compile the content of the test: MVN test-compile
14. Only hit jar package: MVN Jar:jar
23333 is also a water article (the following are various copies of the MAVEN into Eclipse project)