I'd suggest to find an existing plugin the does something similar and use its source as a reference.
[1] http://maven.apache.org/plugins/index.html [2] http://mojo.codehaus.org/plugins.html Regards, htfv (Aliaksei Lahachou) On Wed, Jul 25, 2012 at 3:03 PM, <[email protected]> wrote: > Hello, > I am completely new in writing own maven plugins.. as I have read this > tutorial: > http://books.sonatype.com/books/mvnref-book/reference/writing-plugins.html > > there is only simple example. But no any further information how to > develop more complex plugin. > > All I want is create some maven plugin , that could be added to the > parrent pom that will read all source class, and than I will generate some > output into each project subfolder, where the sources are located. > > eg.When the maven will build some product, I would like to create new file > count.txt in every plugin folder, where will be couple rows: > > class1 - 223 lines > class2 - 10 lines .... > > and at the end my maven plugin will create one final file, where will be > sum of this small sub count files.txt > > any good advices? > > thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
