Discuss / Java / intellij IDEA 自带Maven 不香吗?

intellij IDEA 自带Maven 不香吗?

Topic source

Create a new Maven project

  1. If no project is currently open in IntelliJ IDEA, click New Project on the Welcome screen. Otherwise, select File | New | Project from the main menu.

  2. Select Maven from the options on the left.

  3. Specify project's SDK (JDK) or use the default one and an archetype if you want to use a predefined project template (configure your own archetype by clicking Add Archetype ).

    Click Next.

  4. On the next page of the wizard, specify the following Maven coordinates that are added to the pom.xml file:

    • GroupId- a package of a new project.

    • ArtifactId- a name of your project.

    • Version- a version of a new project. By default, this field is specified automatically.

    For more information on Maven coordinates, see Maven naming conventions.

    Click Next.

  5. If you are creating a project using a Maven archetype, IntelliJ IDEA displays the Maven settings that you can use to set the Maven home directory and Maven repositories. Also, you can check the archetype properties.

    Click Next.

  6. Specify the name and location settings.

    Click Finish.

廖雪峰

#2 Created at ... [Delete] [Delete and Lock User]

你在服务器上编译的时候怎么用Idea?

🌙

#3 Created at ... [Delete] [Delete and Lock User]

非常不建议

🌙

#4 Created at ... [Delete] [Delete and Lock User]

你在服务器上编译的时候怎么用Idea?

用window系统作为服务器下载个idea 哈哈....

Loading...

#5 Created at ... [Delete] [Delete and Lock User]

当你代码托管在服务器上,每次提交代码自动构建打包发布的时候,也需要maven。开发工具自带然并卵


  • 1

Reply