title: Generate archetype using ant build file
body: <p>I am trying to write an ant build file which I want to generate the archetype from a remote repository.</p>
  
  <p>How this can be achieved. I have read the ant tasks for maven and all it talks is about dependencies and installing deploying etc. How can we generate the archetype to our local machine from the remote repository.</p>