good morning from foggy berkeley... [also cc'ing nexus-users to see if anyone has ideas on that side.]
I've tried several clean installs, with clean/not clean repos with no joy. I'm on mac snow-leopard and the 64bit version seems to work better. I note that some versions (32 bit) do not create create repository indices on startup, even though this is selected in user-prefs. I have also tried a juno install. Is there some sort of secret m2e initialization going on behind the scenes before repository queries can work? I believe that when it was working, I had built a project already. I'm trying now the following steps: 1) remove old eclipse install, including working dir and m2/repository 2) create new eclipse install. 3) file->import->materialize maven projects from SCM->Add Dependency->(type in query). At one point I was able to query "commons*" and it answered! However, the answer was garbled, for example the group was "avn-xx" instead of "maven-xx". Interesting. I have also reindexed nexus and re-published indexes, and verified all queries from the nexus repository manager (ref: http://www.sonatype.com/people/2009/09/nexus-scheduled-tasks/ ) best, /r P.S. Sorry to be a pest, preparing for a demo to show-off this feature! At 12:55 PM -0800 2/7/12, Russ Tremain wrote: >I'm not seeing any indexing, and the sizes look okay to me: > >du -ak .m2/repository/.cache >0 .m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/.lock >0 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/chunks.lst >239888 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/_k.cfs >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/_k_1.del >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/_l.cfs >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/_l_1.del >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/_m.cfs >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/nexus-maven-repository-index.properties >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/segments.gen >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/segments_7 >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min/timestamp >239920 .m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/min >43232 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/nexus-maven-repository-index.gz >4 >.m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1/nexus-maven-repository-index.properties >283156 .m2/repository/.cache/m2e/1.0.100/6dfe856695f0657e85aa095e78e529d1 >0 .m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/.lock >0 >.m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/chunks.lst >239888 >.m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/min/_k.cfs >4 >.m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/min/nexus-maven-repository-index.properties >4 >.m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/min/segments.gen >4 >.m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/min/segments_5 >4 >.m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/min/timestamp >239904 .m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/min >43232 >.m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/nexus-maven-repository-index.gz >4 >.m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77/nexus-maven-repository-index.properties >283140 .m2/repository/.cache/m2e/1.0.100/ced31cb44c54419ba5724f4add69be77 >0 .m2/repository/.cache/m2e/1.0.100/d9d714e11cb097b3ffcec91cccc65d3e/.lock >35384 >.m2/repository/.cache/m2e/1.0.100/d9d714e11cb097b3ffcec91cccc65d3e/nexus-maven-repository-index.gz >35384 .m2/repository/.cache/m2e/1.0.100/d9d714e11cb097b3ffcec91cccc65d3e >601680 .m2/repository/.cache/m2e/1.0.100 >601680 .m2/repository/.cache/m2e >601680 .m2/repository/.cache > >Settings doc: > ><settings> > <mirrors> > <mirror> > <!--This sends everything else to /public --> > <id>nexus-mirror</id> > <mirrorOf>external:*</mirrorOf> > <url>http://localhost:4407/nexus/content/groups/public</url> > </mirror> > </mirrors> > <profiles> > <profile> > <id>nexus</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > <!--Enable snapshots for the built in central repo to direct --> > <repositories> > <repository> > <id>central</id> > <url>http://central</url> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > <updatePolicy>never</updatePolicy> > </snapshots> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <id>central</id> > <url>http://central</url> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > <updatePolicy>never</updatePolicy> > </snapshots> > </pluginRepository> > </pluginRepositories> > <!--all requests to nexus via the mirror --> > </profile> > </profiles> > <activeProfiles> > <!--make the profile active all the time --> > <activeProfile>nexus</activeProfile> > </activeProfiles> ></settings> > >Is there a problem with using nexus here? I could have sworn that this has >worked before, but I did update eclipse recently. > >thanks, >-Russ > >At 3:37 PM -0500 2/7/12, Igor Fedorenko wrote: >>Check if index download job is still in the background. It takes very >>long time to finish download of Central repository index first time you >>start m2e, took me something like 15 minutes last time I measured that. >> >>-- >>Regards, >>Igor >> >>On 12-02-07 2:52 PM, Russ Tremain wrote: >>>Hi, >>> >>>I'm perplexed by a problem in the "Add Dependency" search dialog when I >>>try to import a maven project via materialize from pom. >>> >>>No matter what I type in the search box, I get no results. For example, >>>if I type "args4j", it will say "Results for 'args4j' (0)". Same for any >>>string I enter, including "*", "maven", etc. >>> >>>I'm using a nexus repository, and when I go to the maven repository >>>view, I see all the objects I expect. >>> >>>Any ideas? I believe that this worked for me at one time. >>> >>>Here is my version info: >>> >>>Version: Indigo Service Release 1 >>>Build id: 20110916-0149 >>> >>>org.eclipse.m2e.feature (1.0.100.20110804-1717) "Maven Integration for >>>Eclipse" >>> >>> >>>thanks! >>>-Russ >>>_______________________________________________ >>>m2e-users mailing list >>>[email protected] >>>https://dev.eclipse.org/mailman/listinfo/m2e-users >>_______________________________________________ >>m2e-users mailing list >>[email protected] >>https://dev.eclipse.org/mailman/listinfo/m2e-users > >_______________________________________________ >m2e-users mailing list >[email protected] >https://dev.eclipse.org/mailman/listinfo/m2e-users _______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
