123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510 |
- <?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.4.0</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
- <groupId>com.miniframe</groupId>
- <artifactId>miniframe</artifactId>
- <version>1.0.0</version>
- <name>miniframe</name>
- <description>miniframe</description>
- <properties>
- <java.version>1.8</java.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <timestamp>${maven.build.timestamp}</timestamp>
- <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
- <maven.resources.overwrite>true</maven.resources.overwrite>
- <spring-cloud.version>2020.0.4</spring-cloud.version>
- </properties>
- <dependencies>
- <!-- nacos 依赖 -->
- <!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-nacos-discovery -->
- <!-- <dependency>-->
- <!-- <groupId>com.alibaba.cloud</groupId>-->
- <!-- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
- <!-- <version>2.2.7.RELEASE</version>-->
- <!-- <exclusions>-->
- <!-- <exclusion>-->
- <!-- <groupId>org.springframework.cloud</groupId>-->
- <!-- <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>-->
- <!-- </exclusion>-->
- <!-- </exclusions>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>21.0</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-loadbalancer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-openfeign</artifactId>
- </dependency>
- <!-- https://mvnrepository.com/artifact/io.github.openfeign/feign-httpclient -->
- <dependency>
- <groupId>io.github.openfeign</groupId>
- <artifactId>feign-httpclient</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-autoconfigure</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</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>
- <!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</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-quartz</artifactId>
- </dependency>
- <!-- redis缓存 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <!-- ehcache缓存 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-cache</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sf.ehcache</groupId>
- <artifactId>ehcache</artifactId>
- <version>${ehcache.version}</version>
- </dependency>
- <!-- RabbitMq -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-amqp</artifactId>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>org.springframework.boot</groupId>-->
- <!-- <artifactId>spring-boot-starter-validation</artifactId>-->
- <!-- </dependency>-->
- <!-- 需要指定版本 -->
- <!-- miniframe框架 -->
- <dependency>
- <groupId>com.miniframe</groupId>
- <artifactId>miniframe-spring-boot-starter</artifactId>
- <version>2.1.0</version>
- <exclusions>
- <exclusion>
- <artifactId>poi</artifactId>
- <groupId>org.apache.poi</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.miniframe</groupId>
- <artifactId>miniframe-spring-boot-ext</artifactId>
- <version>2.1.0</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-core -->
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>aliyun-java-sdk-core</artifactId>
- <version>4.5.20</version>
- <exclusions>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-cloudauth -->
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>aliyun-java-sdk-cloudauth</artifactId>
- <version>2.0.29</version>
- <exclusions>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
- <dependency>
- <groupId>com.alipay.sdk</groupId>
- <artifactId>alipay-sdk-java</artifactId>
- <version>3.4.27.ALL</version>
- <exclusions>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- 自定义lib库 -->
- <!-- <dependency>-->
- <!-- <groupId>miniframe</groupId>-->
- <!-- <artifactId>ibatis</artifactId>-->
- <!-- <version>2.9.1</version>-->
- <!-- <scope>system</scope>-->
- <!-- <systemPath>${project.basedir}/lib/ibatis-2.9.1.jar</systemPath>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>com.taobao</groupId>
- <artifactId>taobao-sdk-java-auto</artifactId>
- <version>1.0.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/taobao-sdk-java-auto.jar</systemPath>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>com.taobao</groupId>-->
- <!-- <artifactId>taobao-sdk-java-auto</artifactId>-->
- <!-- <version>1.0.0</version>-->
- <!-- </dependency>-->
- <!--全局排除spring-boot-starter-logging内的所有依赖-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-logging</artifactId>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--热启动-->
- <!-- <dependency>-->
- <!-- <groupId>org.springframework.boot</groupId>-->
- <!-- <artifactId>spring-boot-devtools</artifactId>-->
- <!-- <optional>true</optional> <!– 这个需要为 true 热部署才有效 –>-->
- <!-- </dependency>-->
- <!-- Test-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- </exclusion>
- </exclusions>
- <scope>test</scope>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>com.aliyun</groupId>-->
- <!-- <artifactId>dysmsapi20170525</artifactId>-->
- <!-- <version>2.0.9</version>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>adi</groupId>
- <artifactId>vtk</artifactId>
- <version>1.0.0</version>
- </dependency>
- <!-- websocket -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-websocket</artifactId>
- </dependency>
- <!--添加FreeMarker的依赖 ,版本是 2.3.29-->
- <dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>2.3.29</version>
- </dependency>
- <!--报告生成-->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.deepoove</groupId>
- <artifactId>poi-tl</artifactId>
- <version>1.12.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>5.2.2</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>5.2.2</version>
- <exclusions>
- <exclusion>
- <artifactId>poi</artifactId>
- <groupId>org.apache.poi</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.github.docker-java</groupId>
- <artifactId>docker-java</artifactId>
- <version>3.2.13</version> <!-- 请检查最新版本 -->
- </dependency>
- <dependency>
- <groupId>com.github.docker-java</groupId>
- <artifactId>docker-java-transport-httpclient5</artifactId>
- <version>3.2.13</version>
- </dependency>
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>dysmsapi20170525</artifactId>
- <version>2.0.9</version>
- </dependency>
- <dependency>
- <groupId>org.hdfgroup</groupId>
- <artifactId>hdf-java</artifactId>
- <version>2.6.1</version>
- </dependency>
- </dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-dependencies</artifactId>
- <version>${spring-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <finalName>service</finalName>
- <plugins>
- <!-- 指定多个源代码目录、多个资源文件目录 -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-ext-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>modelsrc</source>
- <source>definitionsrc</source>
- <source>generated</source>
- </sources>
- </configuration>
- </execution>
- <execution>
- <id>add-ext-resouce</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>add-resource</goal>
- </goals>
- <configuration>
- <resources>
- <resource>
- <directory>modelsrc</directory>
- <exclude>**/*.java</exclude>
- </resource>
- <resource>
- <directory>commonsrc</directory>
- <exclude>**/*.java</exclude>
- </resource>
- <resource>
- <directory>generated</directory>
- <exclude>**/*.java</exclude>
- </resource>
- <resource>
- <directory>definitionsrc</directory>
- <exclude>**/*.java</exclude>
- </resource>
- <resource>
- <directory>profiles/${profiles.active}</directory>
- <exclude>**/*.java</exclude>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <fork>true</fork>
- <addResources>true</addResources>
- <includeSystemScope>true</includeSystemScope>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <!--使用默认的变量分割符即${} ,覆盖已有的resource文件-->
- <configuration>
- <useDefaultDelimiters>true</useDefaultDelimiters>
- <overwrite>true</overwrite>
- <nonFilteredFileExtensions>
- <nonFilteredFileExtension>docx</nonFilteredFileExtension>
- <nonFilteredFileExtension>doc</nonFilteredFileExtension>
- </nonFilteredFileExtensions>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <!-- 生产环境 -->
- <id>pro</id>
- <properties>
- <profiles.active>pro</profiles.active>
- </properties>
- </profile>
- <profile>
- <!-- 本地开发环境 -->
- <id>dev</id>
- <properties>
- <profiles.active>dev</profiles.active>
- </properties>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <profile>
- <!-- 测试环境 -->
- <id>test</id>
- <properties>
- <profiles.active>test</profiles.active>
- </properties>
- </profile>
- </profiles>
- <repositories>
- <repository>
- <id>aliyun</id>
- <name>aliyun</name>
- <url>https://maven.aliyun.com/repository/public</url>
- </repository>
- <repository>
- <id>spring</id>
- <url>https://maven.aliyun.com/repository/spring</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>spring-plugin</id>
- <url>https://maven.aliyun.com/repository/spring-plugin</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- </project>
|