mirror of
https://github.com/qiurunze123/miaosha.git
synced 2023-11-19 22:41:03 +08:00
294 lines
9.1 KiB
XML
294 lines
9.1 KiB
XML
<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>
|
|
<groupId>com.geekq</groupId>
|
|
<artifactId>miaosha-admin</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<!-- 集中定义依赖版本号 -->
|
|
<properties>
|
|
<spring.version>4.3.13.RELEASE</spring.version>
|
|
<spring-data-redis.version>1.8.7.RELEASE</spring-data-redis.version>
|
|
<apache-commons-pool2>2.4.2</apache-commons-pool2>
|
|
<mybatis.version>3.2.8</mybatis.version>
|
|
<mybatis.spring.version>1.2.2</mybatis.spring.version>
|
|
<mybatis.paginator.version>1.2.15</mybatis.paginator.version>
|
|
<mysql.version>5.1.41</mysql.version>
|
|
<slf4j.version>1.7.21</slf4j.version>
|
|
<jackson.version>2.7.4</jackson.version>
|
|
<druid.version>1.1.0</druid.version>
|
|
<httpclient.version>4.3.5</httpclient.version>
|
|
<jstl.version>1.2</jstl.version>
|
|
<servlet-api.version>2.5</servlet-api.version>
|
|
<jsp-api.version>2.0</jsp-api.version>
|
|
<commons-lang3.version>3.3.2</commons-lang3.version>
|
|
<commons-io.version>1.3.2</commons-io.version>
|
|
<commons-net.version>3.3</commons-net.version>
|
|
<pagehelper.version>4.1.3</pagehelper.version>
|
|
<jsqlparser.version>0.9.1</jsqlparser.version>
|
|
<!-- 使用redisTamplate结合jedisPoolConifg 必须使用jedis版本2.9.0 -->
|
|
<jedis.version>2.9.0</jedis.version>
|
|
<commons.httpclient.version>3.1</commons.httpclient.version>
|
|
<dubbo.version>2.5.3</dubbo.version>
|
|
<zookeeper.version>3.4.11</zookeeper.version>
|
|
<zkclient.version>0.1</zkclient.version>
|
|
<apache.curator.version>4.0.0</apache.curator.version>
|
|
</properties>
|
|
|
|
<!-- 只定义依赖的版本,不会实际依赖 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.springframework</groupId>-->
|
|
<!--<artifactId>spring-jms</artifactId>-->
|
|
<!--<version>${spring.version}</version>-->
|
|
<!--</dependency>-->
|
|
|
|
<!-- Apache工具组件 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commons-lang3.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons-io.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-net</groupId>
|
|
<artifactId>commons-net</artifactId>
|
|
<version>${commons-net.version}</version>
|
|
</dependency>
|
|
<!-- Jackson Json处理工具包 -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<!-- httpclient -->
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>${httpclient.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Mybatis -->
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis</artifactId>
|
|
<version>${mybatis.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis-spring</artifactId>
|
|
<version>${mybatis.spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.miemiedev</groupId>
|
|
<artifactId>mybatis-paginator</artifactId>
|
|
<version>${mybatis.paginator.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper</artifactId>
|
|
<version>${pagehelper.version}</version>
|
|
</dependency>
|
|
<!-- MySql -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 连接池 阿里巴巴数据源 全世界最牛逼的data source 没有之一 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>${druid.version}</version>
|
|
</dependency>
|
|
<!-- Spring -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aspects</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.springframework.data</groupId>-->
|
|
<!--<artifactId>spring-data-redis</artifactId>-->
|
|
<!--<version>${spring-data-redis.version}</version>-->
|
|
<!--</dependency>-->
|
|
<!-- 用于jedis-spring-data redisTemplate -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>${apache-commons-pool2}</version>
|
|
</dependency>
|
|
<!-- JSP相关 -->
|
|
<dependency>
|
|
<groupId>jstl</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
<version>${jstl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>${servlet-api.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>jsp-api</artifactId>
|
|
<version>${jsp-api.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Redis客户端 -->
|
|
<dependency>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
<version>${jedis.version}</version>
|
|
</dependency>
|
|
|
|
<!-- httpclient -->
|
|
<dependency>
|
|
<groupId>commons-httpclient</groupId>
|
|
<artifactId>commons-httpclient</artifactId>
|
|
<version>${commons.httpclient.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 日志处理 -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 引入dubbo -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>dubbo</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
<artifactId>zookeeper</artifactId>
|
|
<version>${zookeeper.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.sgroschupf</groupId>
|
|
<artifactId>zkclient</artifactId>
|
|
<version>${zkclient.version}</version>
|
|
</dependency>
|
|
|
|
<!-- zk 客户端依赖 -->
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-framework</artifactId>
|
|
<version>${apache.curator.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-recipes</artifactId>
|
|
<version>${apache.curator.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<!-- 资源文件拷贝插件 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- java编译插件 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.2</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!-- 配置Tomcat插件 -->
|
|
<plugin>
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
<version>2.2</version>
|
|
</plugin>
|
|
|
|
<!-- 配置sts插件 -->
|
|
<plugin>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<version>2.9</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<modules>
|
|
<module>miaosha-common</module>
|
|
<module>miaosha-admin-api</module>
|
|
<module>miaosha-admin-service</module>
|
|
<module>miaosha-admin-web</module>
|
|
</modules>
|
|
</project> |