Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The default directory layout of Maven is as follows.

 
basedirectory
|
+- pom.xml                   //Project descriptor
+- LICENSE.txt
+- README.txt
|
+- src/                      //Contains all source files
|  |
|  +- main/
|  |  +- assembly/           //Assembly descriptors
|  |  |  +- assembly.xml     //Default assembly descriptor
|  |  |
|  |  +- config/             //Configuration files
|  |  +- java/               //Application/library source files
|  |  +- resources/          //Resource files
|  |  +- filters/            //Resource filter files
|  |  +- webapp/             //Webapp source files for a war project
|  |
|  +- test/
|  |  +- java/               //Test source files
|  |  +- resources/          //Test resource files
|  |  +- filters/            //Test filter files
|  |
|  +- site/
|     +- apt/                //Files written in APT format
|     |  +- index.apt
|     |
|     +- xdoc/               //Files written in XDOC format
|     |  +- other.xml
|     |
|     +- fml/                //Faq's
|     |  +- general.fml
|     |  +- faq.fml
|     |
|     +- resources/          //Resources
|     |  +- css/
|     |  |  +- site.css      //Can replace Maven's default site.css
|     |  |
|     |  +- images/          //Place your images here
|     |     +- pic1.jpg
|     |
|     +- site.xml            //Defines menu structure and logos
|
+- target/                   //Contains all target files
   +- classes/               //Generated class files
   +- site/                  //The generated site files

  • No labels