Hi Eugene,

The problem seems to be that the index produced by Nexus (in some cases,
there is a work-around) can't be used my m2eclipse to find classes in the
artifacts. What is confusing for the user of m2eclipse however, is that the
index is ok for browsing in the Maven Indexes view (in Eclipse). I'm not
sure how to improve this. Possibly some note in the Open Type from Maven
functionality if m2eclipse can tell that some indexes can't be used for
searching, or some way of telling what indexes provide class search info.
There is info on how to reproduce the scenario in the Nexus jira NEXUS-844.

/Anders


Eugene Kuleshov wrote:
> 
> 
>   Anders, can you please elaborate if we need to improve anything in 
> m2eclipse?
> 
>   Thanks
> 
>   Eugene
> 
> 
> Anders Hammar wrote:
>> I finally did get this to work. The problem seems to have been with the
>> index.
>>
>> /Anders
>>
>>
>> Anders Hammar wrote:
>>   
>>> Hi,
>>>
>>> I'm trying to use the Open Type from Maven functionality to search for
>>> classes. What I have is an Maven index that I have added in Eclipse
>>> (retrieved from our Nexus repo). However, m2eclipse doesn't seem to use
>>> this index when searching. I'm using m2eclipse 0.9.6.20080905-0917 with
>>> Eclipse 3.4.
>>>
>>> In my Maven Indexes view I have several indexes listed; workspace,
>>> local,
>>> central, and corp-repo (in this order). I've updated the indexes and I
>>> can
>>> see the artifact containing the class I'm searching for in the corp-repo
>>> index. The computer does not have Internet access, thus the central
>>> index
>>> is blank (unable to update index is reported) if that could cause any
>>> problems.
>>>
>>> Anyone that could confirm that this should work?
>>>
>>> Regards,
>>> /Anders
>>>
>>>
>>>     
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Open-Type-from-Maven-doesn%27t-use-added-index-tp19665447p19683031.html
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