6.maven的pom.xml配置文件中常用的配置标签解析

6.maven的pom.xml配置文件中常用的配置标签解析

 

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  
  <modelVersion>4.0.0modelVersion>
  
  
  <groupId>反写的公司网址+项目名groupId>
  <artifactId>项目名+模块名artifactId>
  
  <version>0.0.1SNAPSHOTversion>
  
  <packaging>packaging>
  
  <name>name>
  
  <url>url>
  
  <description>description>
  
  <developers>developers>
  
  <licenses>licenses>
  
  <organization>organization>

  
  <dependencies>
      
      <dependency>
          <groupId>junitgroupId>
          <artifactId>junitartifactId>
          <version>4.10version>
          <type>type>
          
          <scope>testscope>
          
          <optional>falseoptional>
          
          <exclusions>
              
              <exclusion>exclusion>
          exclusions>
      dependency>
  dependencies>

  
  <dependencyManagement>
      <dependencies>
        <dependency>dependency>
      dependencies>
  dependencyManagement>

  
  <build>
      <plugin>
          <groupId>groupId>
          <artifactId>artifactId>
          <version>version>
      plugin>
  build>

  
  <parent>parent>

  
  
  <modules>modules>
project>

 

转载于:https://www.cnblogs.com/Nick-Hu/p/7288198.html

你可能感兴趣的:(6.maven的pom.xml配置文件中常用的配置标签解析)