On Sun, 8 Oct 2023 at 14:42, Slawomir Jaranowski <s.jaranow...@gmail.com> wrote:
>
> niedz., 8 paź 2023 o 12:57 sebb <seb...@gmail.com> napisał(a):
>
> > Is there a replacement for the Ant Mojo Extractor?
> > I understand this will be dropped in Maven 4.
> >
> > The Commons project uses it in the build-plugin, which is a helper
> > plugin to create various text files from the POM.
> >
> > Is there a plugin that can be used to generate arbitrary text files
> > from templates?
> >
>
> Looks like Maven Remote Resources Plugin [1] can do such a job for you.
> As example of sharing templates you can see Apache Resource Bundles [2]

Thanks, but AFAICT these are used to generate predefined files and add
them to output jars.
In the Commons case, some of the files are to be added to the site,
and some are used as templates for emails.

>
>
> >
> > Sebb
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> >
> >
> [1]
> https://maven.apache.org/plugins/maven-remote-resources-plugin/index.html
> [2] https://maven.apache.org/apache-resource-bundles/index.html
>
> --
> Sławomir Jaranowski

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to