Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

basedirectory

The default directory layout of Maven is as follows.

No Format
 
basedirectory
|
+- pom.xml                   //Project descriptor

...


+- LICENSE.txt

...


+- README.txt

...


|
+- src/

...

 

...

+- 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

...

                      //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