Makes sense, although it is a little different from how m-archetype-p. But it's better this way I think. The issue I saw though seems to be due to incomplete downloadable index at central, so some archetype versions are missing. It's not a problem with m2e (verified same result in Nexus). Sorry for the false alarm.
Filed as MVNCENTRAL-231 [1] at Sonatype JIRA. /Anders [1] https://issues.sonatype.org/browse/MVNCENTRAL-231 On Sat, Aug 18, 2012 at 1:35 PM, Fred Bricon <[email protected]> wrote: > internal = maven-archetype-plugin internal catalog (immutable) > default local = local, i.e. <user.home>/.m2/archetype-catalog.xml > nexus indexer ~ remote but it requires the nexus index to be downloaded from > central (and/or other defined maven repos) to be useful. > All catalogs : aggregates the results of the aforementioned catalogs > archetypes > > creating a remote catalog for central is a way to not depend on the nexus > index being downloaded. > > HIH > > Fred Bricon > > > On Sat, Aug 18, 2012 at 11:33 AM, Anders Hammar <[email protected]> wrote: >> >> How is the archetype stuff supposed to work? I kind of would expect >> m2e to similar to how the m-archetype-p does, i.e. use "remote" and >> "local" by default. I don't really know how to map the defined >> catalogs but it doesn't seem as it looks in remote. I had to create a >> central catalog for that. Is that as designed? >> >> /Anders >> >> On Fri, Aug 17, 2012 at 12:16 AM, Fred Bricon <[email protected]> wrote: >> > The latest 1.2 build (few minutes old) contain fixes wrt remote >> > archetype >> > resolution. If you had troubles using remote archetypes behind proxies >> > or >> > mirrors, I'm interested in knowing if this works for you now. >> > >> > Regards, >> > >> > Fred Bricon >> > >> > On Thu, Aug 16, 2012 at 3:18 PM, Igor Fedorenko <[email protected]> >> > wrote: >> >> >> >> We are getting close to finishing m2e 1.2, which we plan to contribute >> >> both to Kepler M1 and Juno SR1. Bugzilla query [1] shows the list of >> >> the >> >> changes in this version and the current snapshot build can be installed >> >> from [2]. >> >> >> >> As usual, please ask any questions you have on the mailing list and >> >> report any problems you find either here or through bugzilla. >> >> >> >> Remember, we can't fix problems we don't know about ;-) >> >> >> >> [1] >> >> >> >> https://bugs.eclipse.org/bugs/buglist.cgi?list_id=2636734&query_format=advanced&product=m2e&target_milestone=Kepler%20M1 >> >> [2] >> >> >> >> https://repository.sonatype.org/content/repositories/forge-sites/m2e/1.2.0/N/LATEST/ >> >> >> >> -- >> >> Regards, >> >> Igor >> >> _______________________________________________ >> >> m2e-dev mailing list >> >> [email protected] >> >> https://dev.eclipse.org/mailman/listinfo/m2e-dev >> > >> > >> > >> > >> > -- >> > "Have you tried turning it off and on again" - The IT Crowd >> > >> > _______________________________________________ >> > 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 > > > > > -- > "Have you tried turning it off and on again" - The IT Crowd > > _______________________________________________ > 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
