maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Fay <wayne...@gmail.com>
Subject Re: Maven War Plugin - Optional Web Resources
Date Tue, 27 Mar 2012 13:48:42 GMT
> Some of those structures are optional though - they may be in the
> project, they may not.  And at the moment my maven build is failing
> when one of them is missing.
>
> Is there a way to configure the <webResources><resource> section
> to tell the maven war plugin that that resource is optional so don't
> bother packaging it if it is not present in the source project?

Can you not simply restructure your project(s) so they are in the
"proper" location under src/main/webapp?

Can you send an example of the <webResources> which is giving you troubles?

Wayne

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


Mime
View raw message