maven project directory (II)

- Project Directory 
  all the resources --src project 
     --main store development code and resources 
       --java project java source code 
       resource files --resources projects, files other than the source code 
    --test store and test code resource 
       --java project test and test code class 
       test resources --resources items 
  --target package outputting directory 
    --classes compiler output directory 
    --test-classes test code compiler output directory 
    resources output --generated-sources automatically generated Catalog 
    --generated-test-sources test resource output directory 
  --pom.xml document object model description file 

as follows: 
$ {basedir} pom.xml store and all subdirectories 
$ {basedir} / src / main / java project java source code 
$ {basedir} resources / src / main / resources projects, such property file, springmvc.xml 
$ {basedir} / the src / test / java program test class, for example, the code Junit 
$ {basedir} / src / test / resources testing with resources
$ {basedir} / src / main / webapp / WEB-INF web application directory, web project information, such as store web.xml, local pictures, jsp page views 
$ {basedir} / target package output directory 
$ {basedir} / target / classes compiled output directory 
$ {basedir} / target / test -classes test output directory compiled

In particular: There are two main views in eclipse "Java EE" and "Java", to see the difference between these two views maven project directory slightly.

 

Guess you like

Origin www.cnblogs.com/myitnews/p/11455682.html