The difference between artifact and plugin
I found something a little disturbing (for me ast least): http://www.sonatype.com/book/referenc... :
"Repositories are home to two major types of artifacts. The first are artifacts that are used as dependencies of other artifacts. These are the majority of plugins that reside within central. The other type of artifact is plugins."
I think "the majority of artifacts" is the correct phrase. The difference between the two notions artifact and plugin are quite ununderstandable for the uninitiated and the reference is wrong at such an important topic.
"Repositories are home to two major types of artifacts. The first are artifacts that are used as dependencies of other artifacts. These are the majority of plugins that reside within central. The other type of artifact is plugins."
I think "the majority of artifacts" is the correct phrase. The difference between the two notions artifact and plugin are quite ununderstandable for the uninitiated and the reference is wrong at such an important topic.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Yes, that's a typo. Everything in the repository is an artifact, even poms can be artifacts at times. A plugin is simply a type of artifact with a special packaging type of "maven-plugin" which during build time triggers a special lifecycle for things like processing the annotations and inserting a descriptor into the jar so Maven knows how to invoke it.
I’m happy
-
Inappropriate?I've removed the confusing paragraph in question and added more detail to the section about the pluginRepositories element. Thanks for noticing this confusing sentence.
I’m happy
Loading Profile...



EMPLOYEE
EMPLOYEE