Thanks for the quick response!
Yes, I tried to generate the archetype via mvn archetype:generate
-DarchetypeCatalog=local
this is the output I'm getting:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [archetype:generate] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart
(org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
Choose a number: :
When I use mvn archetype:crawl I get following output:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [archetype:crawl] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [archetype:crawl {execution: default-cli}]
repository C:\.m2\repository
catalogFile null
[INFO] Scanning
C:\.m2\repository\at\fhj\itm\MavenProjectQuizArchetype-archetype\1.0-SNAPSHOT\MavenProjectQuizArchetype-archetype-1.0-SNAPSHOT.jar
[INFO] Archetype
[at.fhj.itm:MavenProjectQuizArchetype-archetype:1.0-SNAPSHOT] defined by
repository path
....
So Maven obviously notices the archetype, but still I can't generate a
project out of it.
I have to say, when I tried the batch option as in the link you provided me,
it did work. But why is that?
Thnak you!
--
View this message in context:
http://maven.40175.n5.nabble.com/Create-Archetype-from-Project-tp4726929p4730011.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]