You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sutskever, Vladimir" <Vl...@jpmorgan.com> on 2011/07/22 19:35:40 UTC
Rebuilding directory structure from an existing pom.xml
Howdy All,
Is there a way to rebuild the default directory structure from an existing pom.xml
Ex:
src/main/java
src/main/webapp
src/main/resources
src/main/test
Say someone sends you just the pom.xml and you want to recreate the default folder structure.
-Vlad
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.
Re: Rebuilding directory structure from an existing pom.xml
Posted by Wayne Fay <wa...@gmail.com>.
> Is there a way to rebuild the default directory structure from an existing pom.xml
>
> Say someone sends you just the pom.xml and you want to recreate the default folder structure.
If none of the directory paths have been modified from the "default"
(convention), then you could just use an archetype to create the dirs,
then copy the pom.xml file over the one that was created by the
archetype. Short of this, no, I don't know of a way to do what you're
describing. I don't see this as being something you'd do very often.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org