Maven pom.xml 配置详解

什么是pom?
    pom作为项目对象模型。通过xml表示maven项目,使用pom.xml来实现。主要描述了项目:包括配置文件;开发者需要遵循的规则,缺陷管理系统,组织和licenses,项目的url,项目的依赖性,以及其他所有的项目相关因素。


pom.xml 配置文件


	
		...
	
	
	4.0.0

	
	...
	...
	...
	...
	
	
		...
	
	
	
		...
	
	
	
		...
	
	
	
		...
	
	
	
		...
	

	
	
		...
	
	
		...
	

	
	...
	...
	...
	...
	
	
	
	
	
	
	
	
	
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

maven POM.xml详解

   
      
      
       
       
       
       
       
       
       
       
   
      
    4.0.0   
       
    asia.banseon   
       
    banseon-maven2   
       
    jar   
       
    1.0-SNAPSHOT   
       
    banseon-maven   
       
    http://www.baidu.com/banseon   
       
    A maven project to study maven.   
      
   
    
      
   
    
      
        
        jira   
          
        http://jira.baidu.com/banseon   
       
      
   
    
    
    
    
    
    
     
     
      
      
      
      
      
      
      
      
      
      
      
    
Demo [email protected] [email protected] [email protected] http:/hi.baidu.com/banseon/demo/dev/ HELLO WORLD banseon [email protected] Project Manager Architect demo http://hi.baidu.com/banseon No -5 Apache 2 http://www.baidu.com/banseon/LICENSE-2.0.txt repo A business-friendly OSS license scm:svn:http://svn.baidu.com/banseon/maven/banseon/banseon-maven2-trunk(dao-trunk) scm:svn:http://svn.baidu.com/banseon/maven/banseon/dao-trunk http://svn.baidu.com/banseon demo http://www.baidu.com/banseon ...... ...... Windows XP Windows x86 5.1.2600 mavenVersion 2.0.3 /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ ...... ...... ...... ...... ...... ...... banseon-repository-proxy banseon-repository-proxy http://192.168.1.169:9999/repository/ default ...... org.apache.maven maven-artifact 3.8.1 jar test spring-core org.springframework true ...... banseon-maven2 banseon maven2 file://${basedir}/target/deploy banseon-maven2 Banseon-maven2 Snapshot Repository scp://svn.baidu.com/banseon:/usr/local/maven-snapshot banseon-site business api website scp://svn.baidu.com/banseon:/var/www/localhost/banseon-web



参考推荐:
Apache Maven(官方)

maven 配置篇 之pom.xml

maven POM.xml详解


你可能感兴趣的:(SoftWare)