zoukankan      html  css  js  c++  java
  • maven——pom.xml

    设置/使用 变量

    <-- 设置变量名 -->
    <properties>
        <spring.version>5.1.4.RELEASE</spring.version>
    </properties>
    
    <!-- 设置变量名 -->
    ${spring.version}
    设置变量

    Spring包

     1 <dependency>
     2     <groupId>org.springframework</groupId>
     3     <artifactId>spring-core</artifactId>
     4     <version>${spring.version}</version>
     5 </dependency>
     6 
     7 <dependency>
     8     <groupId>org.springframework</groupId>
     9     <artifactId>spring-beans</artifactId>
    10     <version>${spring.version}</version>
    11 </dependency>
    12 
    13 <dependency>
    14     <groupId>org.springframework</groupId>
    15     <artifactId>spring-context</artifactId>
    16     <version>${spring.version}</version>
    17 </dependency>
    18 
    19 <dependency>
    20     <groupId>org.springframework</groupId>
    21     <artifactId>spring-context-support</artifactId>
    22     <version>${spring.version}</version>
    23 </dependency>
    24 
    25 <dependency>
    26     <groupId>org.springframework</groupId>
    27     <artifactId>spring-aop</artifactId>
    28     <version>${spring.version}</version>
    29 </dependency>
    30 
    31 <dependency>
    32     <groupId>org.springframework</groupId>
    33     <artifactId>spring-aspects</artifactId>
    34     <version>4.0.9.RELEASE</version>
    35 </dependency>
    36 
    37 <dependency>
    38     <groupId>org.springframework</groupId>
    39     <artifactId>spring-tx</artifactId>
    40     <version>${spring.version}</version>
    41 </dependency>
    42 
    43 <dependency>
    44     <groupId>org.springframework</groupId>
    45     <artifactId>spring-web</artifactId>
    46     <version>${spring.version}</version>
    47 </dependency>
    48 
    49 <dependency>
    50     <groupId>org.springframework</groupId>
    51     <artifactId>spring-jdbc</artifactId>
    52     <version>${spring.version}</version>
    53 </dependency>
    Spring包

    SpringMVC包

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>${spring.version}</version>
    </dependency>
    SpringMVC

    MyBatis

    1 <dependency>
    2     <groupId>org.mybatis</groupId>
    3     <artifactId>mybatis</artifactId>
    4     <version>3.4.6</version>
    5 </dependency>
    MyBatis

    log4j

    1 <dependency>
    2     <groupId>log4j</groupId>
    3     <artifactId>log4j</artifactId>
    4     <version>1.2.17</version>
    5 </dependency>
    log4j

    mysql

    1 <dependency>
    2     <groupId>mysql</groupId>
    3     <artifactId>mysql-connector-java</artifactId>
    4     <version>5.1.45</version>
    5 </dependency>
    mysql

    单元测试junit

    1 <dependency>
    2     <groupId>junit</groupId>
    3     <artifactId>junit</artifactId>
    4     <version>4.12</version>
    5     <scope>test</scope>
    6 </dependency>
    junit
  • 相关阅读:
    打造基于CentOS7的xfce最简工作环境
    Linux下C程序的编辑,编译和运行以及调试
    修正 XE6 TListView 上方 SearchBok 右边的清除钮显示
    TabControl 显示彩色的图示 (XE6 Firemonkey)
    TSwitch 中文简繁显示支持(XE6 Android)
    改变 TMemo 的背景颜色 (Firemonkey)
    修正 XE5 Android 键盘三个问题
    Delphi 收藏
    展示 Popup 的使用方法
    ListView 下拉更新 (支持 Android)
  • 原文地址:https://www.cnblogs.com/xj76149095/p/10298877.html
Copyright © 2011-2022 走看看