bocloud.sms/bocloud.sms.booter/pom.xml

210 lines
9.8 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">
<parent>
<artifactId>bocloud.sms</artifactId>
<groupId>com.bocloud</groupId>
<version>5.5.0-RELEASE</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>bocloud.sms.booter</artifactId>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
</dependency>
<!-- Spring boot Redis -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>com.spring4all</groupId>
<artifactId>swagger-spring-boot-starter</artifactId>
<version>1.9.0.RELEASE</version>
</dependency>
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>swagger-bootstrap-ui</artifactId>
<version>1.9.5</version>
</dependency>
<!-- &lt;!&ndash; https://mvnrepository.com/artifact/javax.validation/validation-api &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>javax.validation</groupId>-->
<!-- <artifactId>validation-api</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/com.auth0/java-jwt -->
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>3.10.2</version>
</dependency>
<!-- Bocloud相关配置 -->
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.sms.service</artifactId>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.boot.common</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-messaging</artifactId>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.sms.storage</artifactId>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.5</version>
</dependency>
<!-- 不添加此依赖会抛com.google.common.util.concurrent.SimpleTimeLimiter.create异常-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>22.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<exclusions>
<exclusion>
<groupId>com.vaadin.external.google</groupId>
<artifactId>android-json</artifactId>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<!-- <plugin> -->
<!-- <groupId>com.github.wvengen</groupId> -->
<!-- <artifactId>proguard-maven-plugin</artifactId> -->
<!-- <version>2.2.0</version> -->
<!-- <executions> -->
<!-- <execution> -->
<!-- <phase>package</phase> -->
<!-- <goals> -->
<!-- <goal>proguard</goal> -->
<!-- </goals> -->
<!-- </execution> -->
<!-- </executions> -->
<!-- <configuration> -->
<!-- <proguardVersion>6.2.2</proguardVersion> -->
<!-- <injar>${project.build.finalName}.jar</injar> -->
<!-- <outjar>${project.build.finalName}.jar</outjar> -->
<!-- <obfuscate>true</obfuscate> -->
<!-- <proguardInclude>./proguard.cfg</proguardInclude> -->
<!-- <options> -->
<!-- 不做收缩(删除注释、未被引用代码) -->
<!-- <option>-dontshrink</option> -->
<!-- 不做优化(变更代码实现逻辑) -->
<!-- <option>-dontoptimize</option> -->
<!-- <option>-adaptclassstrings</option> -->
<!-- 不混淆所有特殊的类 -->
<!-- <option>-keepattributes Exceptions,InnerClasses,Signature,Deprecated, -->
<!-- SourceFile,LineNumberTable,*Annotation*,EnclosingMethod -->
<!-- </option> -->
<!-- <option>-keepnames interface **</option> -->
<!-- <option>-keepparameternames</option> -->
<!-- <option>-keep class com.bocloud.*.booter.*.* { *; }</option> -->
<!-- <option>-keep class io.netty.** { *; }</option> -->
<!-- <option>-keep class javax.** { *; }</option> -->
<!-- <option>-keep interface * extends * { *; }</option> -->
<!-- <option>-keepclassmembers class * { -->
<!-- @org.springframework.beans.factory.annotation.Autowired *; -->
<!-- @org.springframework.beans.factory.annotation.Value *; -->
<!-- @org.springframework.web.bind.annotation.PostMapping *; -->
<!-- @org.springframework.web.bind.annotation.DeleteMapping *; -->
<!-- @org.springframework.web.bind.annotation.GetMapping *; -->
<!-- @org.springframework.web.bind.annotation.PutMapping *; -->
<!-- } -->
<!-- </option> -->
<!-- </options> -->
<!-- <libs> -->
<!-- <lib>${java.home}/lib/rt.jar</lib> -->
<!-- <lib>${java.home}/lib/jce.jar</lib> -->
<!-- </libs> -->
<!-- </configuration> -->
<!-- <dependencies> -->
<!-- <dependency> -->
<!-- <groupId>net.sf.proguard</groupId> -->
<!-- <artifactId>proguard-base</artifactId> -->
<!-- <version>6.2.2</version> -->
<!-- <scope>runtime</scope> -->
<!-- </dependency> -->
<!-- </dependencies> -->
<!-- </plugin> -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.1.8.RELEASE</version>
<configuration>
<mainClass>com.bocloud.sms.booter.Application</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>