Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] example of tests for m2e plugin based on BuildContext

On Oct 18, 2012, at 8:26 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
> On 12-10-16 5:00 PM, Steven Bethard wrote:
>> On Oct 16, 2012, at 2:53 PM, Vlad Tatavu <vtatavu@xxxxxxxxxxxx> wrote:
>>> I haven't worked with the BuildContext (and related) in quite a while
>>> now, but IIRC, in pure maven world, the BuildContext is a noop.   So I
>>> would say u need tycho in order to test this.
>> 
>> So is the idea to have just the Maven plugin project, and then a single Tycho "eclipse-test-plugin" project?
> 
> 
> Yes, this seems to be the easiest way to test maven plugin behaviour
> inside m2e workspace.

Thanks! This is the route I've gone. The one downside is that you always have to `mvn install` the plugin before you run the tests. Other than that though, it works fine.

Steve

Back to the top