[EMAIL PROTECTED] wrote:

 mvn archetype:generate -Darchetype.interactive=false
 -DarchetypeCatalog=local

do you know that "local" mean that catalog is located in ~/.m2/archetype-catalog.xml ?

 -DarchetypeGroupId=au.com.aami.archetypes
 -DarchetypeArtifactId=basic-jar -DarchetypeVersion=1.0
 -DgroupId=au.com.aami.test -DartifactId=Test2 -Dversion=1.0-SNAPSHOT

 Works.

 nice. so we have an issue in m2eclipse...

 I had added a local entry in the list of archetype catalogs, pointing
 directly to it's source workspace directory (not ~/.m2/...). But I've
 removed all of them.

 Sorry, I don't understand what you mean here.

 I've copied the archetype-catalog.xml to ~/.m2/archetype-catalog.xml.

 I still get the error below, when I attempt to create a project
 using:
[skip]
 This is in the console log: 15/06/08 08:59:05 PM: [ERROR] The desired
 archetype does not exist (au.com.aami.archetypes:basic-jar:1.0) The
 desired archetype does not exist (au.com.aami.archetypes:basic-jar:1.0)

By the way, do you have stacktrace for that in the Eclipse log at <workspace>/.metadata/.log or in the "Error Log" view? Though your stack traces without the line numbers aren't very helpful, so you may want to enable debug info in your RSA's Java configuration.

 regards,
 Eugene



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to