|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Licensed to the Apache Software Foundation (ASF) under one |
| 4 | + or more contributor license agreements. See the NOTICE file |
| 5 | + distributed with this work for additional information |
| 6 | + regarding copyright ownership. The ASF licenses this file |
| 7 | + to you under the Apache License, Version 2.0 (the |
| 8 | + "License"); you may not use this file except in compliance |
| 9 | + with the License. You may obtain a copy of the License at |
| 10 | +
|
| 11 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | +
|
| 13 | + Unless required by applicable law or agreed to in writing, |
| 14 | + software distributed under the License is distributed on an |
| 15 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | + KIND, either express or implied. See the License for the |
| 17 | + specific language governing permissions and limitations |
| 18 | + under the License. |
| 19 | +--> |
| 20 | +<!-- $Id: pom.xml 642118 2008-03-28 08:04:16Z reinhard $ --> |
| 21 | +<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/maven-v4_0_0.xsd"> |
| 22 | + |
| 23 | + <modelVersion>4.0.0</modelVersion> |
| 24 | + <packaging>war</packaging> |
| 25 | + |
| 26 | + <name>tmall</name> |
| 27 | + <groupId>xenv</groupId> |
| 28 | + <artifactId>tmall</artifactId> |
| 29 | + <version>1.0-SNAPSHOT</version> |
| 30 | + |
| 31 | + <properties> |
| 32 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 33 | + </properties> |
| 34 | + |
| 35 | + <dependencies> |
| 36 | + <dependency> |
| 37 | + <groupId>mysql</groupId> |
| 38 | + <artifactId>mysql-connector-java</artifactId> |
| 39 | + <version>5.1.45</version> |
| 40 | + </dependency> |
| 41 | + <dependency> |
| 42 | + <groupId>javax.servlet</groupId> |
| 43 | + <artifactId>javax.servlet-api</artifactId> |
| 44 | + <version>4.0.0</version> |
| 45 | + <scope>provided</scope> |
| 46 | + </dependency> |
| 47 | + <dependency> |
| 48 | + <groupId>jstl</groupId> |
| 49 | + <artifactId>jstl</artifactId> |
| 50 | + <version>1.2</version> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>org.apache.logging.log4j</groupId> |
| 54 | + <artifactId>log4j-core</artifactId> |
| 55 | + <version>2.10.0</version> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>org.apache.logging.log4j</groupId> |
| 59 | + <artifactId>log4j-api</artifactId> |
| 60 | + <version>2.10.0</version> |
| 61 | + </dependency> |
| 62 | + |
| 63 | + <dependency> |
| 64 | + <groupId>org.apache.logging.log4j</groupId> |
| 65 | + <artifactId>log4j-web</artifactId> |
| 66 | + <version>2.10.0</version> |
| 67 | + </dependency> |
| 68 | + |
| 69 | + <dependency> |
| 70 | + <groupId>org.apache.taglibs</groupId> |
| 71 | + <artifactId>taglibs-standard-impl</artifactId> |
| 72 | + <version>1.2.5</version> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>junit</groupId> |
| 76 | + <artifactId>junit</artifactId> |
| 77 | + <version>4.12</version> |
| 78 | + </dependency> |
| 79 | + <dependency> |
| 80 | + <groupId>com.alibaba</groupId> |
| 81 | + <artifactId>druid</artifactId> |
| 82 | + <version>1.1.6</version> |
| 83 | + </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>org.mybatis</groupId> |
| 86 | + <artifactId>mybatis-spring</artifactId> |
| 87 | + <version>1.3.1</version> |
| 88 | + </dependency> |
| 89 | + <dependency> |
| 90 | + <groupId>org.mybatis</groupId> |
| 91 | + <artifactId>mybatis</artifactId> |
| 92 | + <version>3.4.1</version> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>org.springframework</groupId> |
| 96 | + <artifactId>spring-context</artifactId> |
| 97 | + <version>4.3.5.RELEASE</version> |
| 98 | + </dependency> |
| 99 | + <dependency> |
| 100 | + <groupId>org.springframework</groupId> |
| 101 | + <artifactId>spring-web</artifactId> |
| 102 | + <version>4.3.5.RELEASE</version> |
| 103 | + </dependency> |
| 104 | + <dependency> |
| 105 | + <groupId>org.springframework</groupId> |
| 106 | + <artifactId>spring-webmvc</artifactId> |
| 107 | + <version>4.3.5.RELEASE</version> |
| 108 | + </dependency> |
| 109 | + <dependency> |
| 110 | + <groupId>org.springframework</groupId> |
| 111 | + <artifactId>spring-test</artifactId> |
| 112 | + <version>4.3.5.RELEASE</version> |
| 113 | + </dependency> |
| 114 | + <dependency> |
| 115 | + <groupId>org.springframework</groupId> |
| 116 | + <artifactId>spring-jdbc</artifactId> |
| 117 | + <version>4.3.5.RELEASE</version> |
| 118 | + </dependency> |
| 119 | + <dependency> |
| 120 | + <groupId>org.springframework</groupId> |
| 121 | + <artifactId>spring-tx</artifactId> |
| 122 | + <version>4.3.5.RELEASE</version> |
| 123 | + </dependency> |
| 124 | + <dependency> |
| 125 | + <groupId>com.github.pagehelper</groupId> |
| 126 | + <artifactId>pagehelper</artifactId> |
| 127 | + <version>5.1.2</version> |
| 128 | + </dependency> |
| 129 | + <dependency> |
| 130 | + <groupId>commons-fileupload</groupId> |
| 131 | + <artifactId>commons-fileupload</artifactId> |
| 132 | + <version>1.3.3</version> |
| 133 | + </dependency> |
| 134 | + <dependency> |
| 135 | + <groupId>commons-io</groupId> |
| 136 | + <artifactId>commons-io</artifactId> |
| 137 | + <version>2.6</version> |
| 138 | + </dependency> |
| 139 | + <dependency> |
| 140 | + <groupId>org.apache.commons</groupId> |
| 141 | + <artifactId>commons-lang3</artifactId> |
| 142 | + <version>3.7</version> |
| 143 | + </dependency> |
| 144 | + <dependency> |
| 145 | + <groupId>org.mybatis.generator</groupId> |
| 146 | + <artifactId>mybatis-generator-core</artifactId> |
| 147 | + <version>1.3.6</version> |
| 148 | + </dependency> |
| 149 | + <dependency> |
| 150 | + <groupId>org.aspectj</groupId> |
| 151 | + <artifactId>aspectjrt</artifactId> |
| 152 | + <version>1.8.13</version> |
| 153 | + </dependency> |
| 154 | + <dependency> |
| 155 | + <groupId>org.aspectj</groupId> |
| 156 | + <artifactId>aspectjweaver</artifactId> |
| 157 | + <version>1.8.13</version> |
| 158 | + </dependency> |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + </dependencies> |
| 165 | + |
| 166 | + <!--配置Tomcat热部署,直接把全部网站在本地POST上服务器--> |
| 167 | + <build> |
| 168 | + <finalName>tmall</finalName> |
| 169 | + <plugins> |
| 170 | + <plugin> |
| 171 | + <groupId>org.apache.maven.plugins</groupId> |
| 172 | + <artifactId>maven-compiler-plugin</artifactId> |
| 173 | + <configuration> |
| 174 | + <source>1.8</source> |
| 175 | + <target>1.8</target> |
| 176 | + </configuration> |
| 177 | + </plugin> |
| 178 | + <plugin> |
| 179 | + <groupId>org.apache.tomcat.maven</groupId> |
| 180 | + <artifactId>tomcat7-maven-plugin</artifactId> |
| 181 | + <version>2.1</version> |
| 182 | + <configuration> |
| 183 | + <port>80</port> |
| 184 | + <!--网站路径--> |
| 185 | + <path>/</path> |
| 186 | + <url>http://localhost:80/manager/text</url> |
| 187 | + <uriEncoding>UTF-8</uriEncoding> |
| 188 | + <finalName>${project.artifactId}</finalName> |
| 189 | + <!--只有manager-script权限的管理员账号密码--> |
| 190 | + <username>admin</username> |
| 191 | + <password>admin</password> |
| 192 | + <server>tomcat8</server> |
| 193 | + <update>true</update> |
| 194 | + </configuration> |
| 195 | + </plugin> |
| 196 | + </plugins> |
| 197 | + <resources> |
| 198 | + <resource> |
| 199 | + <directory>src/main/resources</directory> |
| 200 | + <includes> |
| 201 | + <include>**/*.properties</include> |
| 202 | + <include>**/*.xml</include> |
| 203 | + <include>**/*.tld</include> |
| 204 | + </includes> |
| 205 | + <filtering>false</filtering> |
| 206 | + </resource> |
| 207 | + <resource> |
| 208 | + <directory>src/main/java</directory> |
| 209 | + <includes> |
| 210 | + <include>**/*.properties</include> |
| 211 | + <include>**/*.xml</include> |
| 212 | + </includes> |
| 213 | + <filtering>false</filtering> |
| 214 | + </resource> |
| 215 | + </resources> |
| 216 | + |
| 217 | + </build> |
| 218 | + |
| 219 | + |
| 220 | +</project> |
0 commit comments