I am making a start at the Plugin Development Guide as I am working on my first plugin. You can find the current contents at http://sd.no-ip.biz/maven2pdg/. I welcome any comments, corrections, and suggestions. At this moment, I have a number of questions which I have not been able to answer which I think probably ought to be answered in the document:
What is the criteria for a mojo class? In other words, when I define a bunch of classes in a project with packaging of "maven-plugin", how is it determined which of those classes are mojos and which are other things? What is the difference between MojoExecutionException and MojoFailureException? They have the same documentation but I assume that they should be used for different types of problems. When defining parameters to a mojo, I see that some mojos include a setter for the parameter but a lot do not have any setter. Is there some criteria to be used to determine when a setter is needed or desired? What types of objects can be used as parameters? I assume this has something to do with what plexus can convert from XML content. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
