oms-erp/skyer-channel/pom.xml
2022-06-20 18:51:34 +08:00

312 lines
11 KiB
XML

<?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>org.skyer</groupId>
<artifactId>skyer-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>skyer-channel</artifactId>
<dependencies>
<!-- skyer starter -->
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-core</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-mybatis-mapper</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-export</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-feign-replay</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-config-client</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-metric</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-keyencrypt</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.starter</groupId>
<artifactId>skyer-starter-saga</artifactId>
</dependency>
<!-- skyer boot -->
<dependency>
<groupId>org.skyer.boot</groupId>
<artifactId>skyer-boot-iam</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.boot</groupId>
<artifactId>skyer-boot-platform</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.boot</groupId>
<artifactId>skyer-boot-message</artifactId>
</dependency>
<dependency>
<groupId>org.skyer.boot</groupId>
<artifactId>skyer-boot-scheduler</artifactId>
</dependency>
<!-- 个性化插件boot-->
<dependency>
<groupId>org.skyer.boot</groupId>
<artifactId>skyer-boot-customize</artifactId>
</dependency>
<!-- api 客制化 -->
<dependency>
<groupId>org.skyer.boot</groupId>
<artifactId>skyer-boot-api-customize</artifactId>
</dependency>
<!-- 使用 api 客制化时,依赖的项目必须自行引入 tools.jar 热部署时用到,同时,需要在打包时将其打包进去 includeSystemScope=true -->
<!-- <dependency>-->
<!-- <groupId>jdk.tools</groupId>-->
<!-- <artifactId>jdk.tools</artifactId>-->
<!-- <version>1.8</version>-->
<!-- <scope>system</scope>-->
<!-- <systemPath>${env.JAVA_HOME}/lib/tools.jar</systemPath>-->
<!-- </dependency>-->
<!-- db -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc7</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<optional>true</optional>
</dependency>
<!-- spring-boot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-jackson</artifactId>
</dependency>
<!-- commons -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
</dependency>
<!-- jsr310 时间支持 -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-typehandlers-jsr310</artifactId>
<version>1.0.2</version>
</dependency>
<!-- test -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- spock测试相关依赖 -->
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-spring</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
</dependency>
<!-- register and config -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
<optional>true</optional>
</dependency>
<!-- lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<finalName>app</finalName>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/**</include>
</includes>
<excludes>
<exclude>saml/*.jks</exclude>
</excludes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src</directory>
<includes>
<include>**/*.sh</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
<nonFilteredFileExtension>ttc</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>${maven.javadoc.skip}</skip>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalOptions>
<additionalOption>
-Xdoclint:none
</additionalOption>
</additionalOptions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Test.java</include>
<include>**/*Spec.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</project>