Hi all,

I am trying to build a custom archetype and faced two problems:

1) Generate a Flat Package Directory Structure
-----------------------------------------------
E.g., supposing groupId=com.acme, generate:

com.acme
       +-foo.xml
       +-goo.xml

instead of

com
  +-acme
       +-foo.xml
       +-goo.xml

2) Instantiate Many Files
--------------------------
(few hundred files in tens of folders makes it impractical to enumerate
all of them in the archetype.xml -- imagine the maintenance headaches!)



I have the following question/suggestion:

Is it possible to specify wildcards in the source/resource paths? Or, at
least, is it possible to copy the prototype directory structure as is?

Just curious about:

1) In my archetype.xml I have not declared any src/main/java files --
why is the src/main/java directory always created?

2) What is the meaning of the archetype/id field? (contrary to the
archetype-mini-guide the id value can differ from the plugin artifactId
and the archetype generation would still work)

3) Any solutions for the filtering problem? (I have few XSLT files which
contain lots of XPath expression in the form $xxxx -- this causes many
Velocity warnings)

Adrian.


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

Reply via email to