[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [m2e-dev] [m2eclipse-dev] Ensuring that an m2e BuildContext is correctly injected into a Maven plugin
- From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
- Date: Mon, 08 Nov 2010 11:00:39 -0500
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:184.108.40.206) Gecko/20101027 Thunderbird/3.1.6
Sounds reasonable. Do you think you can propose a fix?
PS: please use m2e-dev@xxxxxxxxxxx for future m2e-dev questions/discussions
On 10-11-08 05:46 AM, Christopher Hunt wrote:
I've actually now tackled this another way - my plugin now does its
own filtering using the Maven shared components (as per the resources
plugin). This actually simplifies things.
Still, on reflection, my intuition was by calling a BuildContext's
refresh method, that would have an impact on the scanners produced. I
see now that the BuildContext interface contract is being conformed
to correctly and so technically there's no issue. At the end of the
day though, there's no means of telling a BuildContext that things
have changed and that these changes should effect the scanners
produced by it.
Any thoughts on that?
Kind regards, Christopher