Maven在项目中使用2

Maven 相关概念以及配置文件详解

  • 坐标 GAV

    • groupId:定义当前Maven组织名称
    • artifactId:定义实际项目名称
    • version:定义当前项目的当前版本

作用 一maven资源仓库中 很多jar 包, gav 作用的目地 可以通过gav 定义的仓库中具体的资源地址

在gav test/compile/runtime/privtecd
详解


Maven在项目中使用2_第1张图片
Paste_Image.png

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

你可能感兴趣的:(Maven在项目中使用2)