|
@@ -1,67 +1,128 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<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">
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
- <groupId>com.example</groupId>
|
|
|
- <artifactId>raoyin</artifactId>
|
|
|
- <version>1.0-SNAPSHOT</version>
|
|
|
- <packaging>war</packaging>
|
|
|
+ <groupId>com.example</groupId>
|
|
|
+ <artifactId>raoyin</artifactId>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+ <packaging>war</packaging>
|
|
|
|
|
|
- <name>raoyin Maven Webapp</name>
|
|
|
- <!-- FIXME change it to the project's website -->
|
|
|
- <url>http://www.example.com</url>
|
|
|
+ <name>raoyin Maven Webapp</name>
|
|
|
+ <!-- FIXME change it to the project's website -->
|
|
|
+ <!-- <url>http://www.example.com</url> -->
|
|
|
|
|
|
- <properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <maven.compiler.source>1.7</maven.compiler.source>
|
|
|
- <maven.compiler.target>1.7</maven.compiler.target>
|
|
|
- </properties>
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <maven.compiler.source>1.8</maven.compiler.source>
|
|
|
+ <maven.compiler.target>1.8</maven.compiler.target>
|
|
|
+ </properties>
|
|
|
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>junit</groupId>
|
|
|
- <artifactId>junit</artifactId>
|
|
|
- <version>4.11</version>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context</artifactId>
|
|
|
+ <version>5.1.5.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-jdbc</artifactId>
|
|
|
+ <version>5.1.16.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-tx</artifactId>
|
|
|
+ <version>5.1.16.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
+ <artifactId>aspectjweaver</artifactId>
|
|
|
+ <version>1.9.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>8.0.27</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid</artifactId>
|
|
|
+ <version>1.2.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis</groupId>
|
|
|
+ <artifactId>mybatis</artifactId>
|
|
|
+ <version>3.5.7</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis</groupId>
|
|
|
+ <artifactId>mybatis-spring</artifactId>
|
|
|
+ <version>1.3.3</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <version>4.13</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.junit.jupiter</groupId>
|
|
|
+ <artifactId>junit-jupiter</artifactId>
|
|
|
+ <version>RELEASE</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-web</artifactId>
|
|
|
+ <version>5.1.5.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
+ <version>5.1.5.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>servlet-api</artifactId>
|
|
|
+ <version>2.5</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-annotations</artifactId>
|
|
|
+ <version>2.9.4</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-core</artifactId>
|
|
|
+ <version>2.9.8</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-databind</artifactId>
|
|
|
+ <version>2.9.8</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-fileupload</groupId>
|
|
|
+ <artifactId>commons-fileupload</artifactId>
|
|
|
+ <version>1.4</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-io</groupId>
|
|
|
+ <artifactId>commons-io</artifactId>
|
|
|
+ <version>2.11.0</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <build>
|
|
|
- <finalName>raoyin</finalName>
|
|
|
- <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-clean-plugin</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
- </plugin>
|
|
|
- <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-resources-plugin</artifactId>
|
|
|
- <version>3.0.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.8.0</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>2.22.1</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
|
- <version>3.2.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-install-plugin</artifactId>
|
|
|
- <version>2.5.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-deploy-plugin</artifactId>
|
|
|
- <version>2.8.2</version>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
- </build>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.mybatis.generator</groupId>
|
|
|
+ <artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
|
+ <version>1.3.2</version>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
</project>
|