• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Generating project from archetype

 
Ranch Hand
Posts: 264
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

I have a query regarding generating a project from my own developed archetype. The proj directory struture is like

Proj--->component
|-->conf
|---->sample

Currently the archetype is prompting for values like artifactId, svnURL and few more.

Till now it doing well, now what is my requirement, i require a folder to be generated dynamically under conf/samle/<artifactId>, whatever artifactId is pass to it during prompting.

Currently i am using command for running archetype as
>mvn archetype:generate -DarchetypeCatalog=local

Please give me some idea how is it possible to generate a folder dynamically under my "conf/sample" structure which is already being generated by my arcehtype.


Thanks
Pawan
 
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic