wlcb-smart-city-usercenter/pom.xml

234 lines
8.4 KiB
XML
Raw Normal View History

2021-10-21 23:46:29 +08:00
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>cn.com.tenlion</groupId>
<artifactId>smart-city-usercenter</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>smart-city-usercenter</name>
<description>智慧城市统一用户</description>
<properties>
<java.version>1.8</java.version>
<spring-mybatis.version>2.1.4</spring-mybatis.version>
2022-05-05 17:42:33 +08:00
<mysql.version>8.0.27</mysql.version>
2021-10-21 23:46:29 +08:00
<druid.version>1.1.9</druid.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${spring-mybatis.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>${druid.version}</version>
</dependency>
2021-11-30 14:36:49 +08:00
<!-- mongodb start -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
<!-- mongodb end -->
<!-- redis start -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- redis end -->
<!-- session share start -->
2021-11-30 14:56:44 +08:00
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
</dependency>
2021-11-30 14:36:49 +08:00
<!-- session share end -->
2021-12-23 19:49:31 +08:00
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
</dependency>
2021-10-21 23:46:29 +08:00
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>basic-app</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
2021-10-22 18:42:36 +08:00
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>login-app</artifactId>
<version>1.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>ink.wgink</groupId>
<artifactId>module-dictionary</artifactId>
</exclusion>
</exclusions>
2021-10-22 18:42:36 +08:00
</dependency>
<dependency>
<groupId>ink.wgink</groupId>
2023-05-16 18:17:39 +08:00
<artifactId>service-core</artifactId>
2021-10-21 23:46:29 +08:00
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>module-map</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
2021-10-22 18:42:36 +08:00
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>module-instant-message</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>module-sms</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
2021-10-21 23:46:29 +08:00
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>login-oauth2-server</artifactId>
<version>1.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>ink.wgink</groupId>
<artifactId>login-base</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>mongo-module-dictionary</artifactId>
<version>1.0-SNAPSHOT</version>
2021-10-21 23:46:29 +08:00
</dependency>
2021-11-01 11:27:20 +08:00
2021-12-12 23:07:37 +08:00
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>mongo-module-file</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
2021-11-30 14:56:44 +08:00
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>redis-cache</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
2022-07-14 15:50:05 +08:00
<dependency>
<groupId>ink.wgink</groupId>
<artifactId>module-wechat-miniapp</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
2023-05-18 22:00:44 +08:00
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
</dependency>
2021-10-21 23:46:29 +08:00
</dependencies>
<build>
<plugins>
<plugin>
2023-05-16 18:17:39 +08:00
<!-- 打包时去除第三方依赖 -->
2021-10-21 23:46:29 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
2023-05-16 18:17:39 +08:00
<configuration>
<layout>ZIP</layout>
<includes>
<include>
<groupId>non-exists</groupId>
<artifactId>non-exists</artifactId>
</include>
</includes>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<!-- 拷贝第三方依赖文件到指定目录 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<!-- target/lib 是依赖jar包的输出目录根据自己喜好配置 -->
<outputDirectory>target/lib</outputDirectory>
<excludeTransitive>false</excludeTransitive>
<stripVersion>false</stripVersion>
<includeScope>runtime</includeScope>
</configuration>
</execution>
</executions>
</plugin>
<!-- 排除静态资源,静态资源自行拷贝 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*.properties</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/*.yml</exclude>
<exclude>static/**</exclude>
<exclude>templates/**</exclude>
<exclude>mybatis/**</exclude>
</excludes>
</configuration>
2021-10-21 23:46:29 +08:00
</plugin>
</plugins>
</build>
</project>