ok I overlooked the plugin version. nonFilteredFileExtensions works only with
version 2.3 and in my build 2.2 version of the resources plugin was being
picked up. Thanks for the pointer :)


Olivier Lamy wrote:
> 
> Yes please because nonFilteredFileExtensions feature was added to
> prevent such extra pom configuration.
> Have you forced the maven-resources-plugin version in your pom ?
> Is it a reactor builds ? In this case is the version in the pluginMngt
> section of your root pom ?
> 
> --
> Olivier
> 
> 2009/1/18 Mark Struberg <[email protected]>:
>>> Still I did not get to resolve why
>>> nonFilteredFileExtensions did not work.
>>
>> Can you create a really lightweight test case and attach it to a Jira?
>>
>> LieGrue,
>> strub
>>
>> --- ksangani <[email protected]> schrieb am So, 18.1.2009:
>>
>>> Von: ksangani <[email protected]>
>>> Betreff: [SOLVED] Re: exclude jars during filtering
>>> An: [email protected]
>>> Datum: Sonntag, 18. Januar 2009, 11:05
>>> I solved by following
>>> http://blog.xebia.com/2008/11/02/watch-out-when-filtering-resources-with-maven/
>>> this  approach. Declared two <resource> elements, one
>>> to copy unfiltered
>>> resources and other to copy filtered resources.
>>>
>>> Still I did not get to resolve why
>>> nonFilteredFileExtensions did not work.
>>>
>>>
>>> Wayne Fay wrote:
>>> >
>>> >> I have some jar files under src/test/resources
>>> folder. I have enabled
>>> >> filter for the test resources. Now during
>>> filtering jar files get
>>> >> corrupted. I have tried the following
>>> configuration but does not seem
>>> >
>>> > Many people use /src/main/resources/filtered and
>>> > /src/main/resources/unfiltered for this very reason
>>> (or /src/test).
>>> >
>>> > You will, of course, have to configure the resources
>>> directories
>>> > manually in the pom as a result of this, as the
>>> default configuration
>>> > (convention) will no longer apply.
>>> >
>>> > Wayne
>>> >
>>> >
>>> ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail:
>>> [email protected]
>>> > For additional commands, e-mail:
>>> [email protected]
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/exclude-jars-during-filtering-tp21492939p21525970.html
>>> Sent from the Maven - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail:
>>> [email protected]
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/exclude-jars-during-filtering-tp21492939p21530114.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to