Re: Can't figure out how to filter resources

2012-06-10 Thread Patrick
On Jun 10, 2012, at 9:42 AM, Brian Topping wrote: > > On Jun 10, 2012, at 11:57 AM, Patrick wrote: > >> Now, how would I go about trying to improve the documentation? I thought >> that it should either have a note explicitly mentioning that the resources >> section does not go in a plugin bl

Re: Can't figure out how to filter resources

2012-06-10 Thread Brian Topping
On Jun 10, 2012, at 11:57 AM, Patrick wrote: > Now, how would I go about trying to improve the documentation? I thought > that it should either have a note explicitly mentioning that the resources > section does not go in a plugin block, or the first pom.xml should have the > ellipses removes

Re: Can't figure out how to filter resources

2012-06-10 Thread Patrick
Thank you. It's working perfectly now. Now, how would I go about trying to improve the documentation? I thought that it should either have a note explicitly mentioning that the resources section does not go in a plugin block, or the first pom.xml should have the ellipses removes, and it shoul

Re: Can't figure out how to filter resources

2012-06-10 Thread Jason van Zyl
Ah, I see. Yes, if you've looked at other plugin configuration examples the ellipses in this example might be construed as a plugin block as well. The full literal block to filter is like this: src/main/resources true On Jun 9, 2012, at 11:02

Re: Can't figure out how to filter resources

2012-06-10 Thread Jason van Zyl
It was arbitrary and probably not the best decision, but due to the frequency of compiling, processing resources and testing it was given a special place in the POM. Additionally because those directories are referenced more often by several plugins. Thought was to reduce the boiler plate in the

Re: Can't figure out how to filter resources

2012-06-09 Thread Wayne Fay
Jason is saying to remove the stuff around it as it is unnecessary. See below... Wayne On 6/9/12, Patrick wrote: > Sorry, but I must be missing something. I'd already read through that many > times, and that's how I got this. I thought I showed you how I was > configuring it in the POM itself

Re: Can't figure out how to filter resources

2012-06-09 Thread Patrick
Sorry, but I must be missing something. I'd already read through that many times, and that's how I got this. I thought I showed you how I was configuring it in the POM itself. I would assume the confusion is caused by all those "..." sections which REALLY make the example unclear. On Jun 9,

Re: Can't figure out how to filter resources

2012-06-09 Thread Brian Topping
On Jun 9, 2012, at 9:53 PM, Jason van Zyl wrote: > Note that filtering resources is one of the special plugins that is > configured in the POM itself. As an academic question, what is the reason for the "special plugins" like this? I was teaching a 3-day Maven class a few weeks ago and I cou

Re: Can't figure out how to filter resources

2012-06-09 Thread Jason van Zyl
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html Note that filtering resources is one of the special plugins that is configured in the POM itself. On Jun 9, 2012, at 9:11 PM, Patrick wrote: > I can't get the Maven resources plugin to filter. Any advice? I've looked

Can't figure out how to filter resources

2012-06-09 Thread Patrick
I can't get the Maven resources plugin to filter. Any advice? I've looked through the documentation, but I can't find any complete examples. Below it what I've managed to piece together, but it doesn't work. ./pom.xml: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XML