| <?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> |
| |
| <parent> |
| <groupId>com.supwisdom.institute</groupId> |
| <artifactId>sw-backend-parent</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <relativePath>../../</relativePath> |
| </parent> |
| |
| <groupId>com.supwisdom.institute</groupId> |
| <artifactId>sw-backend-admin-bff</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <name>Supwisdom Backend Framework Admin Backend for Frontend</name> |
| <description>Supwisdom Backend Framework Admin Backend for Frontend project</description> |
| |
| <properties> |
| <start-class>com.supwisdom.institute.admin.bff.Application</start-class> |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter</artifactId> |
| </dependency> |
| |
| <!-- 微服务 健康监控 --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-actuator</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-webflux</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.cloud</groupId> |
| <artifactId>spring-cloud-starter-gateway</artifactId> |
| </dependency> |
| |
| |
| <!-- <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-online-doc</artifactId> |
| </dependency> --> |
| |
| |
| <!-- <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-mvc</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-object-mapper</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-i18n</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-lang</artifactId> |
| </dependency> --> |
| |
| |
| <!-- <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-security</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> --> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-security</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.jsonwebtoken</groupId> |
| <artifactId>jjwt</artifactId> |
| <version>0.9.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-cas</artifactId> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>com.supwisdom.institute</groupId> |
| <artifactId>sw-backend-common-framework</artifactId> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>com.alibaba</groupId> |
| <artifactId>fastjson</artifactId> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>io.springfox</groupId> |
| <artifactId>springfox-swagger2</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.springfox</groupId> |
| <artifactId>springfox-swagger-ui</artifactId> |
| </dependency> |
| |
| |
| <!-- 热部署,无需重启项目 --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-devtools</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| </plugin> |
| |
| |
| <!-- <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <configuration> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| </configuration> |
| <executions> |
| <execution> |
| <id>copy-doc-resources</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <encoding>utf-8</encoding> |
| <outputDirectory>${basedir}/target/doc</outputDirectory> |
| <overwrite>true</overwrite> |
| <resources> |
| <resource> |
| <directory>${basedir}/../../doc</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-certs-jwt-resources</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <encoding>utf-8</encoding> |
| <outputDirectory>${basedir}/target/certs/jwt</outputDirectory> |
| <overwrite>true</overwrite> |
| <resources> |
| <resource> |
| <directory>${basedir}/../../certs/jwt</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> --> |
| |
| |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.spotify</groupId> |
| <artifactId>dockerfile-maven-plugin</artifactId> |
| <configuration> |
| <skip>false</skip> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| |
| </build> |
| |
| </project> |