how do you try to generated the project: interactive (simple "mvn 
archetype:generate" then interactive choice) or batch ("mvn archetype:generate 
-D....." [1]) ?

Can you give us the command laynched, then resulting output?

Regards,

Hervé

[1] http://maven.apache.org/archetype/maven-archetype-
plugin/examples/generate-batch.html

Le mardi 23 août 2011, Luk255 a écrit :
> Hello everyone!
> 
> I'm sorry, if this is a dumb question but I'm kind of in a hurry and pretty
> desperate.
> 
> I'm using Maven 2.2.1 and I created an archetype from an existing Eclipse
> Java project, just to define a default package structure for future
> projects (the project doesn't contain more then the packages and some
> empty classes). I used the maven command to generate it, then switched to
> the
> generated-sources/archetype folder and installed the archetype.
> 
> But when I now try to generate my archetype, it always says "No archetype
> defined". What did I do wrong?
> 
> I also did mvn archetype:crawl to refresh the archetype-catalog.xml file.
> But it does not work.
> 
> I would really appreciate some help on this! Thanks a lot in advance!
> 
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Create-Archetype-from-Project-tp4726929p4
> 726929.html Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to