• 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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


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.

pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic