In a maven project, is it possible to use a plugin just built within the same project?
===

Suppose you have some sort of input files which are to be processed in some custom way (even the file format is very particular to the package of files in question).

To process them I decide to make a maven plugin, which happens to be useful only in the context of these files.

Is it possible to have them all (the afore mentioned files and source code for the plugin) in one project, build the plugin, run the plugin over the input files and collect its output as *the output* of this project?