zoukankan      html  css  js  c++  java
  • STS中poem.xml配置文件

      1 <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.0 http://maven.apache.org/maven-v4_0_0.xsd">
      4     <modelVersion>4.0.0</modelVersion>
      5     <groupId>cn.yzq.qiang</groupId>
      6     <artifactId>Login</artifactId>
      7     <packaging>war</packaging>
      8     <version>0.0.1-SNAPSHOT</version>
      9     <name>Login Maven Webapp</name>
     10     <url>http://maven.apache.org</url>
     11     <!-- 创建变量 -->
     12     <properties>
     13         <spring.version>5.1.5.RELEASE</spring.version>
     14     </properties>
     15     <dependencies>
     16         <dependency>
     17             <groupId>junit</groupId>
     18             <artifactId>junit</artifactId>
     19             <version>3.8.1</version>
     20             <scope>test</scope>
     21         </dependency>
     22         <!-- https://mvnrepository.com/artifact/org.springframework/spring-context -->
     23         <dependency>
     24             <groupId>org.springframework</groupId>
     25             <artifactId>spring-context</artifactId>
     26             <version>${spring.version}</version>
     27         </dependency>
     28         <!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
     29         <dependency>
     30             <groupId>org.springframework</groupId>
     31             <artifactId>spring-webmvc</artifactId>
     32             <version>${spring.version}</version>
     33         </dependency>
     34         <dependency>
     35             <groupId>ch.qos.logback</groupId>
     36             <artifactId>logback-classic</artifactId>
     37             <version>1.2.3</version>
     38         </dependency>
     39         <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
     40         <dependency>
     41             <groupId>org.slf4j</groupId>
     42             <artifactId>slf4j-api</artifactId>
     43             <version>1.7.25</version>
     44         </dependency>
     45         <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
     46         <dependency>
     47             <groupId>javax.servlet</groupId>
     48             <artifactId>javax.servlet-api</artifactId>
     49             <version>3.1.0</version>
     50             <scope>provided</scope>
     51         </dependency>
     52         <!-- https://mvnrepository.com/artifact/javax.servlet/jstl -->
     53         <dependency>
     54             <groupId>javax.servlet</groupId>
     55             <artifactId>jstl</artifactId>
     56             <version>1.2</version>
     57         </dependency>
     58         <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
     59         <dependency>
     60             <groupId>mysql</groupId>
     61             <artifactId>mysql-connector-java</artifactId>
     62             <version>5.1.38</version>
     63         </dependency>
     64         <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
     65         <dependency>
     66             <groupId>com.alibaba</groupId>
     67             <artifactId>druid</artifactId>
     68             <version>1.1.10</version>
     69         </dependency>
     70         
     71         <!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
     72         <!-- 支持时间格式自动转化 -->
     73         <dependency>
     74             <groupId>joda-time</groupId>
     75             <artifactId>joda-time</artifactId>
     76             <version>2.10.1</version>
     77         </dependency>
     78         <!-- 对象转json -->
     79         <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
     80         <dependency>
     81             <groupId>com.fasterxml.jackson.core</groupId>
     82             <artifactId>jackson-databind</artifactId>
     83             <version>2.9.8</version>
     84         </dependency>
     85         <!-- <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> 
     86             <version>1.2.3</version> </dependency> -->
     87         <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
     88         <!-- <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> 
     89             <version>1.7.25</version> </dependency> -->
     90     </dependencies>
     91     <build>
     92         <finalName>classBeforeTest</finalName>
     93         <plugins>
     94             <!-- war包的编译插件 -->
     95             <plugin>
     96                 <groupId>org.apache.maven.plugins</groupId>
     97                 <artifactId>maven-war-plugin</artifactId>
     98                 <version>2.6</version>
     99             </plugin>
    100             <plugin>
    101                 <groupId>org.apache.maven.plugins</groupId>
    102                 <artifactId>maven-compiler-plugin</artifactId>
    103                 <version>3.7.0</version>
    104                 <configuration>
    105                     <source>1.8</source>
    106                     <target>1.8</target>
    107                 </configuration>
    108             </plugin>
    109         </plugins>
    110     </build>
    111 </project>
  • 相关阅读:
    jQuery插件之jquery editable plugin点击编辑文字插件
    firefox与ie的javascript兼容性编程汇编【转载】
    css前端制作 经验总结
    非常棒的jqChart图表插件
    WPF Image Source设置文件路径后 在编辑状态下显示图片,运行时不显示
    WPF RadioButton 绑定枚举
    WPF MVVM实现数据增删改查逻辑全流程详细解析demo
    bigNumber.js的简单使用
    PHP程序的“Missing argument 3”的错误提示解决方法
    PHP判断0和空的方法
  • 原文地址:https://www.cnblogs.com/Fisherman13/p/10708771.html
Copyright © 2011-2022 走看看