You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Delany <de...@gmail.com> on 2021/08/12 11:18:12 UTC
changing bundle goal defaults in maven-remote-resources-plugin
Hi there
As per instructions at
https://github.com/apache/maven-remote-resources-plugin
I have resources outside of src/main/resources directory I would like
bundled. These are nevertheless packaged in the project JAR.
Since packaging a JAR is a prerequisite to unbundling, it seems logical to
change the default resourcesDirectory from "${basedir}/src/main/resources"
to "${project.build.outputDirectory}" and adjust the phase from initialize
to prepare-package.
https://maven.apache.org/plugins/maven-remote-resources-plugin/bundle-mojo.html
Do you think a PR for this will float?
Thanks,
Delany
Re: changing bundle goal defaults in maven-remote-resources-plugin
Posted by Delany <de...@gmail.com>.
Ok nevermind, that would include all classes, meta, etc.
On Thu, 12 Aug 2021 at 13:18, Delany <de...@gmail.com> wrote:
> Hi there
>
> As per instructions at
> https://github.com/apache/maven-remote-resources-plugin
>
> I have resources outside of src/main/resources directory I would like
> bundled. These are nevertheless packaged in the project JAR.
>
> Since packaging a JAR is a prerequisite to unbundling, it seems logical to
> change the default resourcesDirectory from "${basedir}/src/main/resources"
> to "${project.build.outputDirectory}" and adjust the phase from initialize
> to prepare-package.
>
>
> https://maven.apache.org/plugins/maven-remote-resources-plugin/bundle-mojo.html
>
> Do you think a PR for this will float?
>
> Thanks,
> Delany
>