You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eugen Paraschiv <ha...@gmail.com> on 2012/05/04 16:41:35 UTC

including src/main/webapp with maven-shade-plugin plugin

Hi,
Is there any way to include the default src/main/webapp into the output of
the uber jar generated by the maven-shade-plugin?
As it stands now, I'm only getting src/main/resources, and I'd rather not
move src/main/webapp into src/main/resources.
I have also posted the question on stackoverflow:
http://stackoverflow.com/questions/10450821/configure-maven-shade-plugin-to-include-src-main-webapp
Any help is appreciated.
Thanks.
Eugen.

Re: including src/main/webapp with maven-shade-plugin plugin

Posted by Wayne Fay <wa...@gmail.com>.
> Is there any way to include the default src/main/webapp into the output of
> the uber jar generated by the maven-shade-plugin?
> As it stands now, I'm only getting src/main/resources, and I'd rather not
> move src/main/webapp into src/main/resources.

Use build-helper-maven-plugin to add this resource path to the build.

But I think you are probably misusing or abusing the shade plugin.

Why don't you describe the real use case in more detail?

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org