Maven 2 war plugin & docs
Maven 2 is really nice thing, but in some cases it is hard to understand new concepts. But there is not one problem.
So, the issue. I need to add some
They use version 2.0 in examples. Ok.
webResources is a list of resources. All options of resource is supported.Great ! Setting targetPath to WEB-INF should solve the problem. But it doesn't ! All is done according to docs, I see this plugin for the first time in my life... My filtered xml file copied but to the root of war.
A web resource
* can have inclusion/exclusion
* can be filtered
* is not limited to the default destination - the root of the war.
After some time I realized that it's a bug in plugin. No hints in docs about it :( I have found solution here. There is no such problem in 2.0.2 version.

No comments:
Post a Comment