zoukankan      html  css  js  c++  java
  • 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/xsd/maven-4.0.0.xsd">
    <!-- pom版本号 -->

    <modelVersion>4.0.0</modelVersion>

    <groupId>反写公司网址+项目名</groupId>
    <artifactId>项目名+模块名</artifactId>

     <!-- 第一个0表示大版本号,第二个0表示分支版本号,第三个0表示小版本号 -->

      <!--snapshot快照,alpha内部测试,beta公测,Release稳定,GA正式发布 -->
    <version>0.0.1-SNAPSHOT</version>
      <!-- 打包方式,默认jar -->
    <packaging>war</packaging>

      <!-- 项目描述名-->

    <name>Medical</name> 

      <!-- 项目项目地址-->

    <url>http://maven.apache.org</url>

    <!-- 项目描述-->

    <description></description>

    <!-- 开发人员列表-->

    <developers></developers> 

    <licenses></licenses> 

    <organization></organization> 

    <dependencies>

    <dependency> 

    <groupId>junit</groupId>

    <artifactId>junit</artifactId>

    <version>3.8.1</version>

    <scope>test</scope>

     <!-- 设置依赖是否可选,默认false-->

    <optional></optional>

    <!-- 排除依赖传递列表-->

    <exclusions>

     <exclusion></exclusion>

    </exclusions>

    </dependency>

    </dependencies> 

     <!-- 排除以来传递列表-->

      <dependencyManagement>

    <dependencies> 
      <dependency>
    </dependency>

     </dependencies> 

    </dependencyManagement>

    <build> 

     <!-- 插件列表-->

    <plugins>  

    <plugin>
    <groupId>org.mybatis.generator</groupId>
    <artifactId>mybatis-generator-maven-plugin</artifactId>
    <version>1.3.2</version>
    <configuration>
    <verbose>true</verbose>
    <overwrite>true</overwrite>
    </configuration>
    <executions>
    <execution>
    <id>Generate MyBatis Artifacts</id>
    <goals>
    <goal>generate</goal>
    </goals>
    </execution>
    </executions>
    </plugin>

    </pluagins>

    </build>

    <!-- --> 

    <parent></parent> 

    <modules>

     <module></module> 

    </modules> 

  • 相关阅读:
    TSYS2.0 碎片工作原理
    回旋。悲哉、哀哉
    Sql高级操作
    你是我最愛的人
    TSYS2.0标签说明
    TSYS:Tkl_TemplateClass 类调用详解
    CMS设计和CMS选型(内容管理系统)
    TSYS2.0 Beta与Tsys 1.1等众多版本下载
    TsysV1.1 系统文件清单介绍
    伪装成Google Bot突破收费页面
  • 原文地址:https://www.cnblogs.com/vincent4code/p/5749193.html
Copyright © 2011-2022 走看看