Maven pom.xml文件解读

实习一年过去,转正也半年,总觉得自己缺少点什么,后来用多方面感受到自己的基础底蕴还不足,研究东西,不要太浅显,深一点。不要觉得自己研究的东西low,研究深了,一通百通。先了解一波maven pom.xml文件配置各节点意思,再慢慢深究。


  4.0.0
 
 
  
  
  ...
  
  ...
  
  ...
  
  ...
  
  
    
    
      junit
      junit
      4.12
      
      jar
      
      test
      
      true
      
      
        
          org.apache.maven
          maven-core
        
      
    
  
  
  ...
  
  ...
  
  ...
  
  ...
 
  
  
  
    
    install
    
    ${basedir}/target
    
    ${artifactId}-${version}
    
    
        filters/filter1.properties
    
    
    
      
        
        META-INF/plexus
        
        false
        
        ${basedir}/src/main/plexus
        
        
          configuration.xml
        
        
        
          **/*.properties
        
      
    
    
    
      ...
    
    
    
      
        org.apache.maven.plugins
        maven-jar-plugin
        2.6
        
        false
        
        true
        
        
          test
        
        
        ...
        
        
            
            
                echodir
                
                
                  run
                
                verify
                false
               
                
                  ...
              
            
        
        
        
          
            
                org.apache.maven.plugins
                maven-jar-plugin
                2.6
                
                    
                       pre-process-classes
                       compile
                       
                          jar
                      
                      
                         pre-process
                      
                    
                
            
          
        
      
    
  
  
  
    
    ${basedir}/target/site
    
      
        maven-project-info-reports-plugin
        2.0.1
        
        
          
        
      
    
  
  
 
  
  
  ...
  
  ...
  
  ...
  
  ...
  
  
      
        Apache License, Version 2.0
        https://www.apache.org/licenses/LICENSE-2.0.txt
        repo
        A business-friendly OSS license
      
  
  
  
    Codehaus Mojo
    http://mojo.codehaus.org
  
  
  
    
      jdoe
      John Doe
      [email protected]
      http://www.example.com/jdoe
      ACME
      http://www.example.com
      
        architect
        developer
      
      America/New_York
      
        http://www.example.com/jdoe/pic
      
    
  
  
  
    
      Noelle
      [email protected]
      http://noellemarie.com
      Noelle Marie
      http://noellemarie.com
      
        tester
      
      America/Vancouver
      
        [email protected]
      
    
  
  
 
  
  
  
    
    Bugzilla
    
    http://127.0.0.1/bugzilla/
  
  
  
    continuum
    http://127.0.0.1:8080/continuum
    
    
      
        mail
        
        true
        
        true
        
        false
        
        false
        
        
[email protected]
User List [email protected] [email protected] [email protected] http://127.0.0.1/user/ http://base.google.com/base/1/127.0.0.1 scm:svn:http://127.0.0.1/svn/my-project scm:svn:https://127.0.0.1/svn/my-project HEAD http://127.0.0.1/websvn/my-project 2.0.6 false always warn true never fail codehausSnapshots Codehaus Snapshots http://snapshots.maven.codehaus.org/maven2 default ... http://mojo.codehaus.org/my-project deployed false corp1 Corporate Repository scp://repo/maven2 default true propSnap Propellors Snapshots sftp://propellers.net/maven legacy mojo.website Mojo Website scp://beaver.codehaus.org/home/projects/mojo/public_html/ org.apache my-project 1.0 We have moved the Project under Apache test false 1.5 Windows XP Windows x86 5.1.2600 sparrow-type African ${basedir}/file2.properties ${basedir}/file1.properties ... ... ... ... ... ... ... ...

你可能感兴趣的:(SSM框架)