You use the pom elements that tell Maven that you have a different structure. You don't use an archetype. You create a pom from scratch.
http://maven.apache.org/pom.html is the reference. You need resources, testResources, sourceDirectory and testSourceDirectory. On Thu, May 19, 2011 at 10:14 AM, uday shankar <[email protected]> wrote: > Hi Karl, > I understand that you are asking me to stick to the default folder structure > created by maven. > This(sticking to the default folder structure) works fine when we are using > maven right from the beginning of the project.But what if say, > Scenario 1: we have started the project in eclipse, and in the middle of the > development process I want to use maven. And maven commands seem to be using > the default folder structure. How can we use maven with a different folder > structure(because a simple web application created using maven commands have > different structure when compared to a web application created in eclipse)?? > > Scenario 2: If say initially we were using Ant as the building tool for a > project. Now we want to use Maven as the tool , how do we implement that? > What is the process of migration from ant to maven? > > If there is ambiguity anywhere, I will try explaining again. > Thanks, > Uday > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Maven-folder-structure-tp4409276p4409835.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
