David Legg pisze:
Grek,

The section titled "Creating a block" gives a maven command which uses the deprecated goal "archetype:create" instead of "archetype:generate"

1. Let's switch to interactive mode and provide archetype catalog...
2. Give up interactive mode completely and stick to utterly long command...

The question is which one we prefer? What do you, dear users, think about it?

I think I prefer option 1 as well.

I don't mind the interactivity as it helps beginners get it right first time... especially if you give clear instructions in the tutorial about what to answer at each prompt and what the answers mean. The Maven manual page for this plugin [1] is more like I would expect to see in the tutorial (although I'd definitely want the responses highlighted though).

I have the same preference.

The only missing thing is the actual archetype catalog XML file. David, would you like to prepare own? I'm not sure how archetype plug-in supports this file generation but even if support is bad you could always prepare the catalog by hand (fortunately enough, the list is not long for us).

Are you going to take care of it?

I can't believe that Maven attempts to list *every* archetype. That list is going to get awfully long, very quickly.

I think it's due to fact that this plug-in is still in alpha stage and this list is more like a proof of concept.

Even if they are going to list all possible archetypes found in central repository I guess that particular projects will choose own, focused catalogs that are by far more user friendly.

--
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to