::: Zany's Homepage ::: Zany Wiki | »çÀÌÆ® ÅëÇÕ °Ë»ö
 
 
 

[maven] artifact °¡ Á¤È®È÷ ¹º°¡...

°Ô½ÃÆÇ
JAVA
ÀÛ¼ºÀÚ
helix
ÀÛ¼ºÀÏ
2016-09-27 10:12:57
ÀÐÀº¼ö
8038
ÆòÁ¡
   
Ç¥½Ã¿É¼Ç
HTML»ç¿ë | ÀÚµ¿BRűנ| °ø¹é¹®ÀÚÇã¿ë | °¡¿îµ¥Á¤·Ä | °íÁ¤Æø±Û²Ã | ÀÚµ¿URL¸µÅ© | ¸¶¿ì½º¼±ÅÃ
°ü·Ã¸µÅ©01
http://stackoverflow.com/questions/2487485/what-is-a-maven-artifact 

artifact ´Â ´ë°Ô maven ·¹Æ÷ÁöÅ丮·Î ¹èÆ÷µÇ´Â jar ÆÄÀÏÀÌ´Ù.
maven ºôµå´Â ÄÄÆÄÀÏµÈ jar ¿Í ¼Ò½º jar ó·³ Çϳª ÀÌ»óÀÇ artifact ¸¦ »ý»êÇÑ´Ù.
ex) spring-boot-autoconfigure-1.1.5-RELEASE.jar
    spring-boot-autoconfigure-1.1.5-RELEASE-sources.jar
    spring-boot-autoconfigure-1.1.5-RELEASE-javadoc.jar

artifact ´Â group ID (Åë»óÀûÀ¸·Î com.example.foo ¿Í °°ÀÌ µµ¸ÞÀθíÀÇ ¿ª»ó ÇüÅÂ), artifact ID (´Ü¼øÇÑ À̸§), ¹öÀü ¹®ÀÚ¿­À» °®À¸¸ç
ÀÌ ¼¼°¡Áö°¡ ¸ð¿© artifact ¸¦ À¯ÀÏÇÏ°Ô ±¸ºÐÇÏ°Ô µÈ´Ù.

ÀϹÝÀûÀ¸·Î ¼ÒÇÁÆ®¿þ¾î ºÐ¾ß¿¡¼­ÀÇ artifact ´Â ¼ÒÇÁÆ®¿þ¾î °³¹ß ÇÁ·Î¼¼½º¿¡ ÀÇÇØ »ý»êµÇ´Â ¹«¾ð°¡¸¦ ÀǹÌÇÑ´Ù.
¼ÒÇÁÆ®¿þ¾î¿Í °ü·ÃµÈ ¹®¼­³ª ½ÇÇà ÆÄÀÏÀÌ µÉ ¼ö ÀÖÀ» °ÍÀÌ´Ù.

maven ¿¡¼­ artifact ¶õ ¿ë¾î´Â ¸ÞÀÌºì ºôµåÀÇ °á°ú·Î ¾òÀ» ¼ö ÀÖ´Â
ÀϹÝÀûÀÎ jar ³ª war ¶Ç´Â ¿©Å¸ÀÇ ½ÇÇà ÆÄÀÏÀ» ÀǹÌÇÑ´Ù.
maven ¿¡¼­ artifact ´Â ½Ã½ºÅÛÀÇ groupId, artifactId, version ¿¡ ÀÇÇØ ±¸ºÐµÇ¸ç
ÀÌ´Â ºôµå½Ã ÇÊ¿äÇÑ ÀÇÁ¸¼º(ÀϹÝÀûÀ¸·Î ´Ù¸¥ jar ÆÄÀϵé)À» ±¸ºÐÇϴµ¥ »ç¿ëµÈ´Ù.


¡Ü Q) What is an artifact and why does Maven need it?
An artifact is a file, usually a JAR, that gets deployed to a Maven repository.
A Maven build produces one or more artifacts, such as a compiled JAR and a "sources" JAR.

Each artifact has a group ID (usually a reversed domain name, like com.example.foo),
an artifact ID (just a name), and a version string. The three together uniquely identify the artifact.

A project's dependencies are specified as artifacts.
In general software terms,
an "artifact" is something produced by the software development process,
whether it be software related documentation or an executable file.

In Maven terminology,
the artifact is the resulting output of the maven build,
generally a jar or war or other executable file.

Artifacts in maven are identified by a coordinate system of groupId, artifactId, and version.
Maven uses the groupId, artifactId, and version to identify dependencies (usually other jar files)
needed to build and run your code.


EOF : Zany (2016-09-27)

 °Ô½ÃÆÇ ±Û ¸ñ·Ï
No Subject Poster Hits Posted
13739 helix 3446 2016-09-29 17:04:44
13738 helix 4704 2016-09-29 16:32:23
13734 helix 1905 2016-09-28 09:50:03
13733 helix 2118 2016-09-27 17:24:48
13730 helix 1011 2016-09-27 11:13:00
helix 8038 2016-09-27 10:12:57
13724 helix 2404 2016-09-26 17:35:48
13573 helix 8823 2016-07-28 09:49:13
13553 helix 3544 2016-07-25 10:20:44
13379 helix 1721 2016-05-19 10:03:11
13368 helix 7080 2016-05-16 10:59:59
ÄÚ¸àÆ®
ÀÛ¼ºÀÚ
                       
 
zany.kr
  Copyright ¨Ï 2002-2010 Zany's Programming Lab. All Rights Not Reserved.
temporary This Page loads on 0.016 Secs