IDEA how ordinary items into maven project


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
Map

New necessary directory

  1. Under the project root directory, create a src folder, create a pom.xml file
  2. In the src directory, create a main directory, test directory
  3. In the main, test directory, create separate java, resources directory
  4. Then right-click on the pom.xml file, select Add as Maven Project
    Map
  5. 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 )
    Map

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.

Guess you like

Origin www.cnblogs.com/hai-feng/p/12324377.html