| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524 |
- <?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>
- <groupId>platform</groupId>
- <artifactId>snd-escloud</artifactId>
- <packaging>war</packaging>
- <version>1.0-SNAPSHOT</version>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>1.5.4.RELEASE</version>
- </parent>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <thymeleaf.version>3.0.0.RELEASE</thymeleaf.version>
- <thymeleaf-layout-dialect.version>2.0.0</thymeleaf-layout-dialect.version>
- <shiro.version>1.3.2</shiro.version>
- <poi.version>3.17</poi.version>
- <thymeleaf-shiro.version>2.0.0</thymeleaf-shiro.version>
- <hutool.version>2.16.0</hutool.version>
- <commons-io.version>2.4</commons-io.version>
- <commons-lang3.version>3.5</commons-lang3.version>
- <commons-fileupload.version>1.3.2</commons-fileupload.version>
- <commons-codec.version>1.10</commons-codec.version>
- <commons-collections4.version>4.1</commons-collections4.version>
- <quartz.version>2.3.0</quartz.version>
- <lombok.version>1.18.14</lombok.version>
- <mybatis-spring-boot.version>1.3.0</mybatis-spring-boot.version>
- <pagehelper-spring-boot.version>1.1.2</pagehelper-spring-boot.version>
- <mapper-spring-boot.version>1.1.3</mapper-spring-boot.version>
- <java.version>1.8</java.version>
- <springfox.version>2.9.2</springfox.version>
- <httpclient.version>4.3.5</httpclient.version>
- <okhttp.version>3.8.0</okhttp.version>
- <druid-spring-boot.version>1.1.2</druid-spring-boot.version>
- <!--<feilong-platform.version>1.10.5</feilong-platform.version>-->
- <jwt.version>0.7.0</jwt.version>
- </properties>
- <!--<repositories>
- <repository>
- <id>feilong-repository</id>
- <url>https://raw.github.com/venusdrogon/feilong-platform/repository</url>
- </repository>
- </repositories>-->
- <dependencies>
- <!--<dependency>-->
- <!--<groupId>org.flywaydb</groupId>-->
- <!--<artifactId>flyway-core</artifactId>-->
- <!--<version>5.0.3</version>-->
- <!--</dependency>-->
- <!--web支持-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- <!--<scope>complie</scope>-->
- </dependency>
- <!--<dependency>-->
- <!--<groupId>org.springframework.boot</groupId>-->
- <!--<artifactId>spring-boot-starter-security</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-aop</artifactId>
- </dependency>
- <!-- Junit 单元测试 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- 支持 @ConfigurationProperties 注解 -->
- <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-actuator</artifactId>
- </dependency>
- <dependency>
- <groupId>com.github.timpeeters</groupId>
- <artifactId>spring-boot-graceful-shutdown</artifactId>
- <version>1.0.5</version>
- </dependency>
- <dependency>
- <groupId>io.prometheus</groupId>
- <artifactId>simpleclient_spring_boot</artifactId>
- <version>0.0.26</version>
- </dependency>
- <!-- Email -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-mail</artifactId>
- </dependency>
- <!-- 添加redis支持-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <!--<dependency>-->
- <!--<groupId>org.springframework.boot</groupId>-->
- <!--<artifactId>spring-boot-starter-cache</artifactId>-->
- <!--</dependency>-->
- <!--mybatis-->
- <dependency>
- <groupId>org.mybatis.spring.boot</groupId>
- <artifactId>mybatis-spring-boot-starter</artifactId>
- <version>${mybatis-spring-boot.version}</version>
- </dependency>
- <!--daopper-->
- <dependency>
- <groupId>tk.mybatis</groupId>
- <artifactId>mapper-spring-boot-starter</artifactId>
- <version>${mapper-spring-boot.version}</version>
- </dependency>
- <!--pagehelper-->
- <dependency>
- <groupId>com.github.pagehelper</groupId>
- <artifactId>pagehelper-spring-boot-starter</artifactId>
- <version>${pagehelper-spring-boot.version}</version>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <scope>runtime</scope>
- </dependency>
- <!-- 数据库连接池 -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid-spring-boot-starter</artifactId>
- <version>${druid-spring-boot.version}</version>
- </dependency>
- <!-- 只需引入spring-boot-devtools 即可实现热部署 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-devtools</artifactId>
- <optional>true</optional>
- </dependency>
- <!--thymeleaf模版支持-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-thymeleaf</artifactId>
- </dependency>
- <!-- shiro spring. -->
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-spring</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <!-- shiro 页面标签库 -->
- <dependency>
- <groupId>com.github.theborakompanioni</groupId>
- <artifactId>thymeleaf-extras-shiro</artifactId>
- <version>${thymeleaf-shiro.version}</version>
- </dependency>
- <!-- shiro ehcache -->
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-ehcache</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <!--
- 包含支持UI模版(Velocity,FreeMarker,JasperReports),
- 邮件服务,
- 脚本服务(JRuby),
- 缓存Cache(EHCache),
- 任务计划Scheduling(quartz)。
- -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>${commons-fileupload.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-collections4</artifactId>
- <version>${commons-collections4.version}</version>
- </dependency>
- <dependency>
- <groupId>com.xiaoleilu</groupId>
- <artifactId>hutool</artifactId>
- <version>${hutool.version}</version>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>com.feilong.platform</groupId>-->
- <!-- <artifactId>feilong-core</artifactId>-->
- <!-- <version>${feilong-platform.version}</version>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${commons-codec.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>1.2.44</version>
- </dependency>
- <!-- poi office -->
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml-schemas</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- </dependency>
- <!-- Swagger2核心包-->
- <dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-swagger2</artifactId>
- <version>${springfox.version}</version>
- </dependency>
- <!-- Swagger2 UI包,前端展示API文档 -->
- <dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-swagger-ui</artifactId>
- <version>${springfox.version}</version>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- <version>1.63</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.5.2</version>
- </dependency>
- <!-- httpclient -->
- <!--<dependency>-->
- <!--<groupId>org.apache.httpcomponents</groupId>-->
- <!--<artifactId>httpclient</artifactId>-->
- <!--<version>${httpclient.version}</version>-->
- <!--</dependency>-->
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>okhttp</artifactId>
- <version>${okhttp.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>springloaded</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.7</version>
- </dependency>
- <!-- httpclient 上传文件至文件服务器 -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpmime</artifactId>
- <version>4.5.2</version>
- </dependency>
- <!-- 阿里大鱼短信 -->
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>aliyun-java-sdk-core</artifactId>
- <version>3.2.8</version>
- </dependency>
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
- <version>1.1.0</version>
- </dependency>
- <!-- json web token -->
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt</artifactId>
- <version>${jwt.version}</version>
- </dependency>
- <!--<!– https://mvnrepository.com/artifact/com.google.gwt/gwt-user –>-->
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-user</artifactId>
- <version>2.8.2</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.jxls/jxls -->
- <dependency>
- <groupId>org.jxls</groupId>
- <artifactId>jxls</artifactId>
- <version>2.4.7</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>easyexcel</artifactId>
- <version>2.1.6</version>
- </dependency>
- <!-- ETL -->
- <dependency>
- <groupId>com.javaforge.scriptella</groupId>
- <artifactId>scriptella-core</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>com.javaforge.scriptella</groupId>
- <artifactId>scriptella-drivers</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>com.javaforge.scriptella</groupId>
- <artifactId>scriptella-tools</artifactId>
- <version>1.1</version>
- </dependency>
- </dependencies>
- <!--配置方案-->
- <profiles>
- <profile>
- <id>local</id>
- <properties>
- <environment.env>local</environment.env>
- </properties>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <profile>
- <id>test</id>
- <properties>
- <environment.env>test</environment.env>
- </properties>
- </profile>
- <profile>
- <id>aliyun</id>
- <properties>
- <environment.env>aliyun</environment.env>
- </properties>
- </profile>
- <profile>
- <id>prodin</id>
- <properties>
- <environment.env>prodin</environment.env>
- </properties>
- </profile>
- <profile>
- <id>prodout</id>
- <properties>
- <environment.env>prodout</environment.env>
- </properties>
- </profile>
- </profiles>
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <excludes>
- <exclude>**/*.yml</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.xml</include>
- </includes>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>application.yml</include>
- <include>bootstrap.yml</include>
- <include>application-${environment.env}.yml</include>
- <include>**/*.yml</include>
- <include>**/*.xml</include>
- </includes>
- </resource>
- </resources>
- <finalName>${artifactId}</finalName>
- <plugins>
- <!-- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <!–排除对二进制文件的过滤,解决字体图标无法显示–>
- <configuration>
- <nonFilteredFileExtensions>
- <!– fonts –>
- <nonFilteredFileExtension>eot</nonFilteredFileExtension>
- <nonFilteredFileExtension>svg</nonFilteredFileExtension>
- <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
- <nonFilteredFileExtension>woff</nonFilteredFileExtension>
- <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
- </nonFilteredFileExtensions>
- </configuration>
- </plugin>-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.5.1</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- <testFailureIgnore>true</testFailureIgnore> -->
- <skip>true</skip>
- </configuration>
- <version>2.19.1</version>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <mainClass>platform.RootApplication</mainClass>
- <jvmArguments>-Dfile.encoding=UTF-8 -Xdebug
- -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
- </jvmArguments>
- <executable>true</executable>
- <fork>true</fork>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <distributionManagement>
- <repository>
- <!--这里的id与settings.xml中的servers节点配置的用户ID一直,这样才能使用配置的用户去上传到maven私有仓库 -->
- <!--此仓库对应的为RELEASE版本的jar-->
- <id>public</id>
- <url>http://221.224.91.21:9019/repository/maven-releases/</url>
- </repository>
- <snapshotRepository>
- <!--这里的id与settings.xml中的servers节点配置的用户ID一直,这样才能使用配置的用户去上传到maven私有仓库 -->
- <!--此仓库对应的为SNAPSHOT版本的jar-->
- <id>public</id>
- <url>http://221.224.91.21:9019/repository/maven-snapshots/</url>
- </snapshotRepository>
- </distributionManagement>
- </project>
|