Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333876 - Maven Repository View will not show me contents of Nexus Repository
Summary: Maven Repository View will not show me contents of Nexus Repository
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-10 10:24 EST by Steve Cohen CLA
Modified: 2021-04-19 13:23 EDT (History)
2 users (show)

See Also:


Attachments
screen shot of maven repo view. (30.43 KB, image/jpeg)
2011-01-10 10:25 EST, Steve Cohen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Cohen CLA 2011-01-10 10:24:01 EST
Build Identifier: Version: 3.6.1 Build id: M20100909-0800

I have recently started using a Nexus Repository administered by a service arm of my organization.

All my passwords and permissions have been set up in my settings.xml and
settings-security.xml have been set up correctly, as far as I can tell.
These permit me to deploy to the repository from the maven command line
using mvn deploy, as well as, of course, to read from the repository.

However, in the m2eclipse "Maven Repositories" view, I can never see the
contents of the repository.    All I can see is as shown in the attached
screenshot.  And none of the menu options in that view such as "Update
Index", "Rebuild Index", etc. ever allows me to see any more than this.

I have spent some effort with the administrator of this Nexus repository
and she is not able to understand what is happening.  I am apparently
the only user of the Nexus repository known to have this problem.  

This problem was originally present under this configuration:

Eclipse Version: 3.6.0
Build id: I20100608-0911
M2Eclipse build: 0.10.0-20100209-0800

And continues to be present after upgrading to 
Eclipse Version: 3.6.1 Build id: M20100909-0800
M2Eclipse build 0.12.0-20101115-1102 

The problem also persists across the following Maven installations in the Eclipse Windows->Preferences->Maven->Installations:
Embedded 3.0-SNAPSHOT/0.10.0-20100209-0800
Embedded 3.0-SNAPSHOT/0.12.0-20101115-1102 
External Maven 2.2.1
External Maven 3.0.1

 




Reproducible: Always

Steps to Reproduce:
1. Simply start eclipse and expand the repository view under "global repositories"
2. Although the repository itself is seen, only a blank top level folder that cannot be expanded further is shown.
3.
Comment 1 Steve Cohen CLA 2011-01-10 10:25:18 EST
Created attachment 186395 [details]
screen shot of maven repo view.
Comment 2 Rich Seddon CLA 2011-03-03 18:11:40 EST
Try scheduling a "Publish Indexes" task under "administration/scheduled tasks" in the Nexus server.  

This task creates an index file that can be downloaded and processed by M2Eclipse.
Comment 3 Steve Cohen CLA 2011-03-04 11:02:14 EST
(In reply to comment #2)
> Try scheduling a "Publish Indexes" task under "administration/scheduled tasks"
> in the Nexus server.  
> 
> This task creates an index file that can be downloaded and processed by
> M2Eclipse.

Thanks, Rich.

I'm not sure where, i.e. in which Application's UI, this functionality is located.  I don't see it in Eclipse.  In Nexus, I connect to that either through m2eclipse or via a Web interface (Sonatype Nexus™ Professional Edition, Version: 1.8.0.1), that functionality doesn't seem to be available to me, maybe because I'm not an administrator.

Please elaborate.
Comment 4 Rich Seddon CLA 2011-03-04 11:07:12 EST
Hi Steve,

This needs to be done by a Nexus administrator.

In the Web UI, it is under "administration/scheduled tasks".  

Rich
Comment 5 Igor Fedorenko CLA 2011-08-01 01:05:16 EDT
I assume the problem was solved on the nexus side. please reopen if still does not work.
Comment 6 Denis Roy CLA 2021-04-19 13:23:40 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/