> What is a Mojo?
> Key: MNG-1290
> URL: http://jira.codehaus.org/browse/MNG-1290 > Project: Maven 2
> Issue Type: Bug
> Components: Documentation: General
> Affects Versions: 2.0
> Reporter: Binil Thomas
> Fix For: 2.0.6
> On http://maven.apache.org/developers/mojo-api-specification.html page titled "Mojo API", I see :
> Starting with Maven 2.0, plugins can be written in Java or any of a number of scripting languages. Additionally, Maven tries to stay out of the way of the programmer with its new Mojo API. This opens up the opportunity for many Mojos to be reused outside of Maven, or bridged into Maven from external systems like Ant.
> The first line states a fact - that Maven plugins can now be written in plain Java. The second line doesnt suggest anything to me besides the irritating name-dropping "Mojo API". The third line adds further confusion by the usage "many Mojos" planting the supiscion that this things called "Mojo" might be more than an API!
> Two paragraph later, I see:
> As mentioned before, each Plugin - or packaged set of Mojos ..
> Ah! so thats it - Mojo is what constitues a Maven plugin - and there might be some API to write these.
> It would have been much less intimidating had this fact be stated upfront.
> A note here - the term "plugin" was did not need any introduction to me - because it is a widely one used in the software scene. At this point I don't even know what a Maven plugin can do - yet I have a vague notion that a plugin might be something that enhances the out-of-the-box behaviour of Maven.
> The same familiarity does not apply to the term "Mojo" - I am guessing here, but I think the Maven team invented the term. If so, kindly desrcibe it fully instead of confusing the reader.