Hi, Can anybody help me with understanding how archetypes are loaded by m2eclipse? Is there a better forum that I should be asking?
Thanks! ----- Original Message ----- From: sdoca sdoca <[email protected]> Date: Tuesday, August 16, 2011 4:25 pm Subject: [m2e-users] Archetype Selection Using m2eclipse To: [email protected] > Hi, > > I would like to create a new Maven project in Eclipse using an > archetype using the New Maven Project wizard. At the > "Select an Archetype" step, I > have three catalogs to choose from: Nexus Indexer, > Internal and Default Local. > I don't understand where the content for these catalogs > should be > coming from. If I click on the "Configure" button, they > are all greyed > out and I can't modify them. > > Only the Internal catalog has any archetypes listed in > it. Where are these archetypes coming from? It's not > from my local > Maven repository because the group/artifacts are not in it (and > archetypes in the repo are not listed). > > Why is the Nexus Indexer list empty? I've read some > posts that the Nexus index needs to be updated, but not how to > do this. > Is this different than the repository indexes (which are > scheduled to > be updated daily). > > As you can see, I'm a little confused about the whole catalog > business and how Maven, m2eclipse and Nexus interact. Any > clarification > is most welcome! > > My setup: > > Eclipse: Helios Service Release 2 (Build id: 20110218-0911) > Apache Maven 3.0.3 m2eclipse: 0.12.1.20110112-1712 (set up to > use external Maven install) Sonatype Nexus™ Open Source Edition, > Version: 1.9.0.2 > > My local Maven settings.xml looks like this: > > <settings> > <mirrors> > <mirror> > <!--This sends everything else to /public --> > <id>nexus</id> > <mirrorOf>*</mirrorOf> > > <url>http://myserver:8080/nexus/content/groups/public</url> </mirror> > </mirrors> > <profiles> > <profile> > <id>nexus</id> > <!--Enable snapshots for the built in central repo to > direct --> > <!--all requests to nexus via the mirror --> > <repositories> > <repository> > <id>central</id> > <url>http://central</url> > <releases><enabled>true</enabled></releases> > <snapshots><enabled>true</enabled></snapshots> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <id>central</id> > <url>http://central</url> > <releases><enabled>true</enabled></releases> > <snapshots><enabled>true</enabled></snapshots> > </pluginRepository> > </pluginRepositories> > </profile> > </profiles> > <activeProfiles> > <!--make the profile active all the time --> > <activeProfile>nexus > > <servers> > <server> > <id>my-snapshots</id> > <username>user</username> > <password>password</password> > </server> > <server> > <id>my-releases</id> > <username>user</username> > <password>password</password> > </server> > </servers> > </settings> >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
