Eugene, it does work.  I had the mojo project pulled into eclipse, but I
didn't have it configured so Eclipse couldn't see the source.   (i.e. mvn
eclipse:eclipse)

I did that and voila, it popped right up.

Thanks.

Brian


bkbonner wrote:
> 
> I'm running:  0.0.11.20070603-1200.
> 
> I looked through my local maven repo.  and none of my maven mojos have
> sources in the same directory.
> 
> Maybe I'm not clear on what you're asking.  Can you rephrase it?
> 
> 
> Eugene Kuleshov wrote:
>> 
>> 
>>   Which version you are running? mojo project should either have sources 
>> in maven repository or better be in the Eclipse workspace (runtime 
>> version should match).
>> 
>> 
>> bkbonner wrote:
>>> Yeah, I've tried that.
>>>
>>> It does correctly find the breakpoint, but I can't get to the source for
>>> the
>>> mojo inside Eclipse.  I also can't find a way to associate it with any
>>> source tree.
>>>
>>> Any thoughts or ideas on this?
>>>
>>>
>>> Eugene Kuleshov wrote:
>>>   
>>>>   Interesting that you've asked. I been planning to blog about it for 
>>>> quite some time. Anyways, just set a breakpoint in your mojo...
>>>>
>>>>   regards,
>>>>   Eugene
>>>>     
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>> 
>>     http://xircles.codehaus.org/manage_email
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Is-there-a-way-to-Debug-a-Mojo-when-running-a-POM-via-m2eclipse--tf4105320s177.html#a11676422
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to