123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367 |
- <?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>
- <groupId>com.wsm</groupId>
- <artifactId>wsm-base</artifactId>
- <version>1.0.0</version>
- <packaging>pom</packaging>
- <name>wsm-base</name>
- <description>wsm base project</description>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>1.5.12.RELEASE</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
- <!-- 模块说明:这里声明多个子模块 -->
- <modules>
- <module>wsm-application</module>
- <module>wsm-common</module>
- <module>wsm-admin-web</module>
- <module>wsm-admin-service</module>
- <module>wsm-admin-dao</module>
- </modules>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <java.version>1.8</java.version>
- <wsm.version>1.0.0</wsm.version>
- <!-- 在properties中统一控制依赖包的版本,更清晰-->
- <nekohtml.version>1.9.22</nekohtml.version>
- <thymeleaf.shiro.version>1.0.2</thymeleaf.shiro.version>
- <spring.mybatis.version>1.3.2</spring.mybatis.version>
- <tk.mybatis.version>2.0.2</tk.mybatis.version>
- <mysql.version>5.1.46</mysql.version>
- <druid.version>1.0.15</druid.version>
- <kaptcha.version>2.3.2</kaptcha.version>
- <lombok.version>1.16.20</lombok.version>
- <commons-lang3.version>3.3.2</commons-lang3.version>
- <fastjson.version>1.2.15</fastjson.version>
- <shiro.version>1.2.4</shiro.version>
- <spring.boot.version>1.5.12.RELEASE</spring.boot.version>
- <redis.version>2.0.0.RELEASE</redis.version>
- <jackson.version>2.9.2</jackson.version>
- <httpclient.version>4.5.3</httpclient.version>
- <commons.codec.version>1.10</commons.codec.version>
- <javax.servlet-api.version>3.1.0</javax.servlet-api.version>
- <jedis.version>2.9.0</jedis.version>
- <eureka.version>1.4.0.RELEASE</eureka.version>
- <feign.version>1.4.0.RELEASE</feign.version>
- <spring-cloud.version>Dalston.SR3</spring-cloud.version>
- <swagger-annotations.version>1.5.13</swagger-annotations.version>
- <feign-httpclient.version>8.18.0</feign-httpclient.version>
- <feign-jackson.version>8.18.0</feign-jackson.version>
- <joda-time.version>2.9.9</joda-time.version>
- <zxing.version>2.1</zxing.version>
- <spring-boot-starter-websocket.version>2.1.3.RELEASE</spring-boot-starter-websocket.version>
- <poi.version>3.17</poi.version>
- <!--<client.mqttv3.version>1.2.0</client.mqttv3.version>-->
- </properties>
- <!--dependencyManagement用于管理依赖版本号-->
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.wsm</groupId>
- <artifactId>wsm-application</artifactId>
- <version>${wsm.version}</version>
- </dependency>
- <dependency>
- <groupId>com.wsm</groupId>
- <artifactId>wsm-common</artifactId>
- <version>${wsm.version}</version>
- </dependency>
- <dependency>
- <groupId>com.wsm</groupId>
- <artifactId>wsm-admin-web</artifactId>
- <version>${wsm.version}</version>
- </dependency>
- <dependency>
- <groupId>com.wsm</groupId>
- <artifactId>wsm-admin-service</artifactId>
- <version>${wsm.version}</version>
- </dependency>
- <dependency>
- <groupId>com.wsm</groupId>
- <artifactId>wsm-admin-dao</artifactId>
- <version>${wsm.version}</version>
- </dependency>
- <!--spring boot -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <version>${spring.boot.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <version>${spring.boot.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot</artifactId>
- <version>${spring.boot.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-autoconfigure</artifactId>
- <version>${spring.boot.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- <version>${spring.boot.version}</version>
- <scope>provided</scope>
- </dependency>
- <!--thymeleaf -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-thymeleaf</artifactId>
- <version>${spring.boot.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.theborakompanioni</groupId>
- <artifactId>thymeleaf-extras-shiro</artifactId>
- <version>${thymeleaf.shiro.version}</version>
- </dependency>
- <!-- JPA -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- <version>${spring.boot.version}</version>
- </dependency>
- <!-- mybatis -->
- <dependency>
- <groupId>org.mybatis.spring.boot</groupId>
- <artifactId>mybatis-spring-boot-starter</artifactId>
- <version>${spring.mybatis.version}</version>
- </dependency>
- <dependency>
- <groupId>tk.mybatis</groupId>
- <artifactId>mapper-spring-boot-starter</artifactId>
- <version>${tk.mybatis.version}</version>
- </dependency>
- <!-- mysql -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>${mysql.version}</version>
- <scope>runtime</scope>
- </dependency>
- <!-- druid -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>${druid.version}</version>
- </dependency>
- <!-- shiro -->
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-core</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-spring</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-web</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <!-- redis -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- <version>${redis.version}</version>
- </dependency>
- <dependency>
- <groupId>redis.clients</groupId>
- <artifactId>jedis</artifactId>
- <version>${jedis.version}</version>
- </dependency>
- <!-- nekohtml -->
- <dependency>
- <groupId>net.sourceforge.nekohtml</groupId>
- <artifactId>nekohtml</artifactId>
- <version>${nekohtml.version}</version>
- </dependency>
- <!-- kaptcha -->
- <dependency>
- <groupId>com.github.penggle</groupId>
- <artifactId>kaptcha</artifactId>
- <version>${kaptcha.version}</version>
- </dependency>
- <!-- lombok -->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- </dependency>
- <!-- commons -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${commons.codec.version}</version>
- </dependency>
- <!-- fastjson -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <!-- httpclient -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>${httpclient.version}</version>
- </dependency>
- <!-- servlet -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>${javax.servlet-api.version}</version>
- </dependency>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-annotations</artifactId>
- <version>${swagger-annotations.version}</version>
- </dependency>
- <!-- spring cloud -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-eureka</artifactId>
- <version>${eureka.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-feign</artifactId>
- <version>${feign.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-dependencies</artifactId>
- <version>${spring-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>com.netflix.feign</groupId>
- <artifactId>feign-httpclient</artifactId>
- <version>${feign-httpclient.version}</version>
- </dependency>
- <dependency>
- <groupId>com.netflix.feign</groupId>
- <artifactId>feign-jackson</artifactId>
- <version>${feign-jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>${joda-time.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.zxing</groupId>
- <artifactId>core</artifactId>
- <version>${zxing.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.zxing</groupId>
- <artifactId>javase</artifactId>
- <version>${zxing.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml-schemas</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-websocket</artifactId>
- <version>${spring-boot-starter-websocket.version}</version>
- </dependency>
- <!--mqtt包-->
- <!-- https://mvnrepository.com/artifact/org.eclipse.paho/org.eclipse.paho.client.mqttv3 -->
- <!--<dependency>-->
- <!--<groupId>org.eclipse.paho</groupId>-->
- <!--<artifactId>org.eclipse.paho.client.mqttv3</artifactId>-->
- <!--<version>${client.mqttv3.version}}</version>-->
- <!--</dependency>-->
- </dependencies>
- </dependencyManagement>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.19.1</version>
- <configuration>
- <skipTests>true</skipTests> <!--默认关掉单元测试 -->
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|