IDEA how ordinary items into maven project
Problem Description: In remote code library to create a new project, then the project intends to develop down the clone, clone down only .git folder and README.md.
Requirements: Use only file to create a maven project.
The first to use the IDEA project folder as punch
Find just remotely clone to a local folder
New necessary directory
- Under the project root directory, create a src folder, create a pom.xml file
- In the src directory, create a main directory, test directory
- In the main, test directory, create separate java, resources directory
- Then right-click on the pom.xml file, select Add as Maven Project
- At this point the directory just created should become the next chart form, then the project can be used as a maven project ( of course, the project File Encodings and SDK, also needs to be set )
Note: The
above is only a personal learning problems encountered in the process, as well as solutions for reference purposes only, but may not be able to solve your problem.