Maven Pom文件标签详解

史上最全的Maven Pom文件标签详解

  1. <span style="padding:0px; margin:0px"><project xmlns="http://maven.apache.org/POM/4.0.0"     
  2.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd">     
  4.         
  5.     <parent>    
  6.          
  7.      <artifactId/>    
  8.          
  9.      <groupId/>    
  10.          
  11.      <version/>    
  12.          
  13.      <relativePath/>    
  14.  parent>    
  15.         
  16.     <modelVersion>4.0.0modelVersion>     
  17.          
  18.     <groupId>asia.banseongroupId>     
  19.          
  20.     <artifactId>banseon-maven2artifactId>     
  21.          
  22.     <packaging>jarpackaging>     
  23.          
  24.     <version>1.0-SNAPSHOTversion>     
  25.          
  26.     <name>banseon-mavenname>     
  27.          
  28.     <url>http://www.baidu.com/banseonurl>     
  29.          
  30.     <description>A maven project to study maven.description>     
  31.         
  32.  <prerequisites>    
  33.       
  34.     <maven/>    
  35.  prerequisites>    
  36.       
  37.     <issueManagement>    
  38.           
  39.         <system>jirasystem>     
  40.             
  41.         <url>http://jira.baidu.com/banseonurl>     
  42.     issueManagement>     
  43.         
  44.  <ciManagement>    
  45.       
  46.   <system/>    
  47.       
  48.   <url/>    
  49.       
  50.   <notifiers>    
  51.        
  52.    <notifier>    
  53.         
  54.     <type/>    
  55.         
  56.     <sendOnError/>    
  57.         
  58.     <sendOnFailure/>    
  59.         
  60.     <sendOnSuccess/>    
  61.         
  62.     <sendOnWarning/>    
  63.         
  64.     <address/>    
  65.         
  66.     <configuration/>    
  67.    notifier>    
  68.   notifiers>    
  69.  ciManagement>    
  70.      
  71.     <inceptionYear/>    
  72.          
  73.     <mailingLists>    
  74.           
  75.         <mailingList>     
  76.              
  77.             <name>Demoname>     
  78.                  
  79.             <post>[email protected]post>     
  80.                  
  81.             <subscribe>[email protected]subscribe>     
  82.                  
  83.             <unsubscribe>[email protected]unsubscribe>     
  84.                 
  85.             <archive>http:/hi.baidu.com/banseon/demo/dev/archive>     
  86.         mailingList>     
  87.     mailingLists>     
  88.          
  89.     <developers>     
  90.          
  91.         <developer>     
  92.              
  93.             <id>HELLO WORLDid>     
  94.                 
  95.             <name>banseonname>     
  96.                 
  97.             <email>[email protected]email>     
  98.                 
  99.             <url/>    
  100.                 
  101.             <roles>     
  102.                 <role>Project Managerrole>     
  103.                 <role>Architectrole>     
  104.             roles>    
  105.                 
  106.             <organization>demoorganization>     
  107.                 
  108.             <organizationUrl>http://hi.baidu.com/banseonorganizationUrl>     
  109.                 
  110.             <properties>     
  111.                 <dept>Nodept>     
  112.             properties>    
  113.                 
  114.             <timezone>-5timezone>     
  115.         developer>     
  116.     developers>     
  117.          
  118.     <contributors>    
  119.          
  120.      <contributor>    
  121.    <name/><email/><url/><organization/><organizationUrl/><roles/><timezone/><properties/>    
  122.      contributor>         
  123.     contributors>       
  124.          
  125.     <licenses>    
  126.           
  127.         <license>    
  128.              
  129.             <name>Apache 2name>     
  130.                 
  131.             <url>http://www.baidu.com/banseon/LICENSE-2.0.txturl>     
  132.                 
  133.             <comments>A business-friendly OSS licensecomments>     
  134.         license>     
  135.     licenses>     
  136.          
  137.     <scm>     
  138.              
  139.         <connection>     
  140.             scm:svn:http://svn.baidu.com/banseon/maven/banseon/banseon-maven2-trunk(dao-trunk)      
  141.         connection>     
  142.             
  143.         <developerConnection>     
  144.             scm:svn:http://svn.baidu.com/banseon/maven/banseon/dao-trunk      
  145.         developerConnection>    
  146.             
  147.         <tag/>           
  148.              
  149.         <url>http://svn.baidu.com/banseonurl>     
  150.     scm>     
  151.          
  152.     <organization>     
  153.          
  154.         <name>demoname>     
  155.             
  156.         <url>http://www.baidu.com/banseonurl>     
  157.     organization>    
  158.         
  159.     <build>    
  160.          
  161.   <sourceDirectory/>    
  162.       
  163.   <scriptSourceDirectory/>    
  164.       
  165.   <testSourceDirectory/>    
  166.       
  167.   <outputDirectory/>    
  168.       
  169.   <testOutputDirectory/>    
  170.       
  171.   <extensions>    
  172.        
  173.    <extension>    
  174.         
  175.     <groupId/>    
  176.         
  177.     <artifactId/>    
  178.         
  179.     <version/>    
  180.    extension>    
  181.   extensions>    
  182.       
  183.   <defaultGoal/>    
  184.       
  185.   <resources>    
  186.        
  187.    <resource>    
  188.         
  189.     <targetPath/>    
  190.         
  191.     <filtering/>    
  192.         
  193.     <directory/>    
  194.         
  195.     <includes/>    
  196.         
  197.     <excludes/>    
  198.    resource>    
  199.   resources>    
  200.       
  201.   <testResources>    
  202.        
  203.    <testResource>    
  204.     <targetPath/><filtering/><directory/><includes/><excludes/>    
  205.    testResource>    
  206.   testResources>    
  207.       
  208.   <directory/>    
  209.       
  210.   <finalName/>    
  211.       
  212.   <filters/>    
  213.       
  214.   <pluginManagement>    
  215.        
  216.    <plugins>    
  217.         
  218.     <plugin>    
  219.          
  220.      <groupId/>    
  221.          
  222.      <artifactId/>    
  223.          
  224.      <version/>    
  225.          
  226.      <extensions/>    
  227.          
  228.      <executions>    
  229.           
  230.       <execution>    
  231.            
  232.        <id/>    
  233.            
  234.        <phase/>    
  235.            
  236.        <goals/>    
  237.            
  238.        <inherited/>    
  239.            
  240.        <configuration/>    
  241.       execution>    
  242.      executions>    
  243.          
  244.      <dependencies>    
  245.           
  246.       <dependency>    
  247.        ......    
  248.       dependency>    
  249.      dependencies>         
  250.          
  251.      <inherited/>    
  252.          
  253.      <configuration/>    
  254.     plugin>    
  255.    plugins>    
  256.   pluginManagement>    
  257.       
  258.   <plugins>    
  259.        
  260.    <plugin>    
  261.     <groupId/><artifactId/><version/><extensions/>    
  262.     <executions>    
  263.      <execution>    
  264.       <id/><phase/><goals/><inherited/><configuration/>    
  265.      execution>    
  266.     executions>    
  267.     <dependencies>    
  268.          
  269.      <dependency>

你可能感兴趣的:(Maven Pom文件标签详解)