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)
|