|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>scut.legend</groupId> |
| 5 | + <artifactId>cg</artifactId> |
| 6 | + <packaging>war</packaging> |
| 7 | + <version>0.0.1-SNAPSHOT</version> |
| 8 | + <name>cg Maven Webapp</name> |
| 9 | + <url>http://maven.apache.org</url> |
| 10 | + |
| 11 | + <properties> |
| 12 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 | + <spring.version>4.1.6.RELEASE</spring.version> |
| 14 | + <shiro.version>1.2.2</shiro.version> |
| 15 | + </properties> |
| 16 | + |
| 17 | + |
| 18 | + <dependencies> |
| 19 | + <!-- junit依赖 --> |
| 20 | + <dependency> |
| 21 | + <groupId>junit</groupId> |
| 22 | + <artifactId>junit</artifactId> |
| 23 | + <version>4.12</version> |
| 24 | + <scope>test</scope> |
| 25 | + </dependency> |
| 26 | + <!-- 日志依赖slf4j+logback --> |
| 27 | + <dependency> |
| 28 | + <groupId>ch.qos.logback</groupId> |
| 29 | + <artifactId>logback-classic</artifactId> |
| 30 | + <version>1.1.7</version> |
| 31 | + </dependency> |
| 32 | + <dependency> |
| 33 | + <groupId>org.logback-extensions</groupId> |
| 34 | + <artifactId>logback-ext-spring</artifactId> |
| 35 | + <version>0.1.1</version> |
| 36 | + </dependency> |
| 37 | + <!-- spring相关依赖 --> |
| 38 | + <dependency> |
| 39 | + <groupId>org.springframework</groupId> |
| 40 | + <artifactId>spring-context</artifactId> |
| 41 | + <version>${spring.version}</version> |
| 42 | + </dependency> |
| 43 | + <!-- springMVC --> |
| 44 | + <dependency> |
| 45 | + <groupId>org.springframework</groupId> |
| 46 | + <artifactId>spring-webmvc</artifactId> |
| 47 | + <version>${spring.version}</version> |
| 48 | + </dependency> |
| 49 | + |
| 50 | + <dependency> |
| 51 | + <groupId>org.springframework</groupId> |
| 52 | + <artifactId>spring-jdbc</artifactId> |
| 53 | + <version>${spring.version}</version> |
| 54 | + </dependency> |
| 55 | + <!-- 数据库相关依赖 --> |
| 56 | + <!-- 数据库连接池 --> |
| 57 | + <dependency> |
| 58 | + <groupId>com.alibaba</groupId> |
| 59 | + <artifactId>druid</artifactId> |
| 60 | + <version>1.0.18</version> |
| 61 | + </dependency> |
| 62 | + <!-- mysql驱动 --> |
| 63 | + <dependency> |
| 64 | + <groupId>mysql</groupId> |
| 65 | + <artifactId>mysql-connector-java</artifactId> |
| 66 | + <version>5.1.38</version> |
| 67 | + </dependency> |
| 68 | + <!-- mybatis相关 --> |
| 69 | + <dependency> |
| 70 | + <groupId>org.mybatis</groupId> |
| 71 | + <artifactId>mybatis</artifactId> |
| 72 | + <version>3.4.1</version> |
| 73 | + </dependency> |
| 74 | + |
| 75 | + <dependency> |
| 76 | + <groupId>org.mybatis</groupId> |
| 77 | + <artifactId>mybatis-spring</artifactId> |
| 78 | + <version>1.3.0</version> |
| 79 | + </dependency> |
| 80 | + |
| 81 | + <!-- servlet API --> |
| 82 | + <dependency> |
| 83 | + <groupId>javax.servlet</groupId> |
| 84 | + <artifactId>javax.servlet-api</artifactId> |
| 85 | + <version>3.1.0</version> |
| 86 | + <scope>provided</scope> |
| 87 | + </dependency> |
| 88 | + <dependency> |
| 89 | + <groupId>jstl</groupId> |
| 90 | + <artifactId>jstl</artifactId> |
| 91 | + <version>1.2</version> |
| 92 | + <scope>provided</scope> |
| 93 | + </dependency> |
| 94 | + <!-- fastjson --> |
| 95 | + <dependency> |
| 96 | + <groupId>com.alibaba</groupId> |
| 97 | + <artifactId>fastjson</artifactId> |
| 98 | + <version>1.2.23</version> |
| 99 | + </dependency> |
| 100 | + |
| 101 | + <!-- Shiro相关依赖 --> |
| 102 | + <dependency> |
| 103 | + <groupId>org.apache.shiro</groupId> |
| 104 | + <artifactId>shiro-core</artifactId> |
| 105 | + <version>${shiro.version}</version> |
| 106 | + </dependency> |
| 107 | + <dependency> |
| 108 | + <groupId>org.apache.shiro</groupId> |
| 109 | + <artifactId>shiro-web</artifactId> |
| 110 | + <version>${shiro.version}</version> |
| 111 | + </dependency> |
| 112 | + <dependency> |
| 113 | + <groupId>org.apache.shiro</groupId> |
| 114 | + <artifactId>shiro-spring</artifactId> |
| 115 | + <version>${shiro.version}</version> |
| 116 | + </dependency> |
| 117 | + <dependency> |
| 118 | + <groupId>org.apache.shiro</groupId> |
| 119 | + <artifactId>shiro-quartz</artifactId> |
| 120 | + <version>${shiro.version}</version> |
| 121 | + </dependency> |
| 122 | + <dependency> |
| 123 | + <groupId>org.apache.shiro</groupId> |
| 124 | + <artifactId>shiro-ehcache</artifactId> |
| 125 | + <version>${shiro.version}</version> |
| 126 | + </dependency> |
| 127 | + <dependency> |
| 128 | + <groupId>commons-fileupload</groupId> |
| 129 | + <artifactId>commons-fileupload</artifactId> |
| 130 | + <version>1.3.1</version> |
| 131 | + </dependency> |
| 132 | + <dependency> |
| 133 | + <groupId>commons-io</groupId> |
| 134 | + <artifactId>commons-io</artifactId> |
| 135 | + <version>2.2</version> |
| 136 | + </dependency> |
| 137 | + <dependency> |
| 138 | + <groupId>commons-logging</groupId> |
| 139 | + <artifactId>commons-logging</artifactId> |
| 140 | + <version>1.1.3</version> |
| 141 | + </dependency> |
| 142 | + <dependency> |
| 143 | + <groupId>org.apache.commons</groupId> |
| 144 | + <artifactId>commons-lang3</artifactId> |
| 145 | + <version>3.1</version> |
| 146 | + </dependency> |
| 147 | + |
| 148 | + <dependency> |
| 149 | + <groupId>commons-collections</groupId> |
| 150 | + <artifactId>commons-collections</artifactId> |
| 151 | + <version>3.2.1</version> |
| 152 | + </dependency> |
| 153 | + <!-- @ResponseBody 转成json数据时要用到 --> |
| 154 | + <dependency> |
| 155 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 156 | + <artifactId>jackson-databind</artifactId> |
| 157 | + <version>2.2.3</version> |
| 158 | + </dependency> |
| 159 | + </dependencies> |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + <build> |
| 165 | + <finalName>cg</finalName> |
| 166 | + </build> |
| 167 | +</project> |
0 commit comments