I was thinking of going your second route, as there are common files that
need to be distributed by the plugin, which need to be filtered with the
build properties at the client build time. Are there any examples of
calling another Mojo from within your own Mojo that you know of?

Damon

On Wed, Apr 25, 2018 at 11:27 PM, Jochen Wiedmann <[email protected]
> wrote:

> On Thu, Apr 26, 2018 at 1:11 AM Damon Jacobsen
> <[email protected]>
> wrote:
>
> >   I am trying to get my feet wet with plugin development, and struggling
> > with some of the basics.I am trying to get the resource I am copying into
> > the build directory to be filtered in the same way that the maven
> resources
> > plugin works. I could manually filter for only my own properties, but I
> > would like to filter everything in the same way the resources plugin
> does.
>
> Sounds, like you could (or even should) use the resources plugin, either by
> having explicit configuration in your pom.xml, or by adding the jar file to
> your own plugins dependencies.
>
> Jochen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to