Intellij the difference between facets and artifacts in idea 14.x

Source: Internet
Author: User

The difference between facets and artifacts:

Facets indicates what features the module has, such as web,spring and hibernate;

Artifact is a concept in Maven that shows how a module is packaged, such as a war exploded, war, jar, ear, and so on.

A module with artifacts can be deployed to the application server!

There are a lot of type options when configuring artifacts for a project, what does exploed mean:

Explode Here you can understand the meaning of unfolding, not compressing. That is, the war, jar and other outputs of the directory structure before compression. It is recommended to use this mode at the time of development, so that the effect of modifying the file immediately appears.

By default , the output directory of Idea's Modules and artifacts are already set up, no changes are needed, and when you make a war package , you automatically The classes directory is produced under the Web-inf directory , and the compiled files are then put in.

What does Java artifact mean, Maven always uses, but doesn't understand Chinese meaning?

Now your ' ll want to install the artifact you ' ve generated (the JAR file) in your local repository (~/.m2/repository is the Default location). For more information on repositories your can refer to our Introduction to repositories and let's move on to installing our artifact! To doing so execute the following command:

Artifact you think of it as " something generated " is almost there. This word emphasizes that this is a step in your software production process, not like the program itself, or the configuration file, which you have written.

Excerpt from: http://zhidao.baidu.com/question/471043949.html

The main concepts of MAVEN

Goal: Similar to target in Ant, refers to a task that accomplishes a certain function

Artifact: Project production, mainly jar, war, maven plugin

plug-in: plug-ins, reusable function modules such as Middlegen,statcvs

POM: Project object Model (Project ObjectsmodeL) is a collection of some of the key meta information for a project. Mainly includes project management information, specific project description, development team composition, source code repository (such as CVS) and mailing list, project dependent library files (development time dependent and run time dependent), source code, unit test Code and resource file location, Project report

Intellij the difference between facets and artifacts in idea 14.x

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.