forked from github/dataease
470 lines
17 KiB
XML
470 lines
17 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>dataease-server</artifactId>
|
||
<groupId>io.dataease</groupId>
|
||
<version>1.7.0</version>
|
||
</parent>
|
||
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<artifactId>backend</artifactId>
|
||
|
||
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<shiro.version>1.7.1</shiro.version>
|
||
<java.version>1.8</java.version>
|
||
<graalvm.version>20.1.0</graalvm.version>
|
||
<jwt.version>3.12.1</jwt.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<version>30.1.1-jre</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
<groupId>org.springframework.boot</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
</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-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>javax.servlet</groupId>
|
||
<artifactId>javax.servlet-api</artifactId>
|
||
<version>4.0.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-mail</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
<version>2.1.2</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-websocket</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.code.gson</groupId>
|
||
<artifactId>gson</artifactId>
|
||
</dependency>
|
||
|
||
<!-- flyway -->
|
||
<dependency>
|
||
<groupId>org.flywaydb</groupId>
|
||
<artifactId>flyway-core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.pagehelper</groupId>
|
||
<artifactId>pagehelper</artifactId>
|
||
<version>5.0.3</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.shiro</groupId>
|
||
<artifactId>shiro-spring-boot-starter</artifactId>
|
||
<version>${shiro.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-collections4</artifactId>
|
||
<version>4.4</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-text</artifactId>
|
||
<version>1.8</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-codec</groupId>
|
||
<artifactId>commons-codec</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.72</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.auth0</groupId>
|
||
<artifactId>java-jwt</artifactId>
|
||
<version>${jwt.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.curator</groupId>
|
||
<artifactId>curator-framework</artifactId>
|
||
<version>4.0.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.curator</groupId>
|
||
<artifactId>curator-recipes</artifactId>
|
||
<version>4.0.1</version>
|
||
</dependency>
|
||
<!-- easyexcel -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>easyexcel</artifactId>
|
||
<version>2.1.7</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.fit2cloud</groupId>
|
||
<artifactId>quartz-spring-boot-starter</artifactId>
|
||
<version>0.0.7</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.github.xiaoymin</groupId>
|
||
<artifactId>knife4j-spring-boot-starter</artifactId>
|
||
<version>3.0.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-compress</artifactId>
|
||
<version>1.21</version>
|
||
</dependency>
|
||
|
||
<!--xpath不加这个依赖会报错-->
|
||
<dependency>
|
||
<groupId>jaxen</groupId>
|
||
<artifactId>jaxen</artifactId>
|
||
<version>1.2.0</version>
|
||
</dependency>
|
||
<!--开启 cache 缓存 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-cache</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.testng</groupId>
|
||
<artifactId>testng</artifactId>
|
||
<version>6.8</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<!-- ehcache 缓存 -->
|
||
<dependency>
|
||
<groupId>net.sf.ehcache</groupId>
|
||
<artifactId>ehcache</artifactId>
|
||
<version>2.9.1</version>
|
||
</dependency>
|
||
|
||
<!--由于暂时插件接口未注册到公司仓库,请先down下代码安装到本地仓库
|
||
https://github.com/dataease/dataease-plugins-->
|
||
<dependency>
|
||
<groupId>io.dataease</groupId>
|
||
<artifactId>dataease-plugin-interface</artifactId>
|
||
<version>1.7</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.7.4</version>
|
||
</dependency>
|
||
<!-- kettle及数据源依赖 -->
|
||
<dependency>
|
||
<groupId>pentaho-kettle</groupId>
|
||
<artifactId>kettle-core</artifactId>
|
||
<version>8.3.0.18-1084</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>pentaho-kettle</groupId>
|
||
<artifactId>kettle-engine</artifactId>
|
||
<version>8.3.0.18-1084</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>pentaho</groupId>
|
||
<artifactId>metastore</artifactId>
|
||
<version>8.3.0.18-1084</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.pentaho.di.plugins</groupId>
|
||
<artifactId>pdi-engine-configuration-impl</artifactId>
|
||
<version>8.3.0.7-683</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid</artifactId>
|
||
<version>1.2.8</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>jconsole</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>tools</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-java</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.jsoup</groupId>
|
||
<artifactId>jsoup</artifactId>
|
||
<version>1.14.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.jayway.jsonpath</groupId>
|
||
<artifactId>json-path</artifactId>
|
||
<version>2.4.0</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/java</directory>
|
||
<includes>
|
||
<include>**/*.properties</include>
|
||
<include>**/*.xml</include>
|
||
</includes>
|
||
<filtering>false</filtering>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<!-- <includes>
|
||
<include>**/*</include>
|
||
</includes> -->
|
||
<filtering>true</filtering>
|
||
<excludes>
|
||
<exclude>static/**/*.woff</exclude>
|
||
<exclude>static/**/*.woff2</exclude>
|
||
<exclude>static/**/*.ttf</exclude>
|
||
<exclude>static/**/*.ico</exclude>
|
||
</excludes>
|
||
</resource>
|
||
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<filtering>false</filtering>
|
||
<includes>
|
||
<include>static/**/*.woff</include>
|
||
<include>static/**/*.woff2</include>
|
||
<include>static/**/*.ttf</include>
|
||
<include>static/**/*.ico</include>
|
||
</includes>
|
||
</resource>
|
||
</resources>
|
||
<plugins>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
<version>3.1.0</version>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<addResources>true</addResources>
|
||
<excludes>
|
||
<exclude>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</exclude>
|
||
<exclude>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
</exclude>
|
||
</excludes>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>2.12.4</version>
|
||
<configuration>
|
||
<skipTests>true</skipTests>
|
||
</configuration>
|
||
</plugin>
|
||
<!--<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
<version>2.4.3</version>
|
||
</plugin>-->
|
||
|
||
<plugin>
|
||
<artifactId>maven-clean-plugin</artifactId>
|
||
<configuration>
|
||
<filesets>
|
||
<fileset>
|
||
<directory>src/main/resources/static</directory>
|
||
<includes>
|
||
<include>**</include>
|
||
</includes>
|
||
<followSymlinks>false</followSymlinks>
|
||
</fileset>
|
||
<fileset>
|
||
<directory>src/main/resources/templates</directory>
|
||
<includes>
|
||
<include>**</include>
|
||
</includes>
|
||
<followSymlinks>false</followSymlinks>
|
||
</fileset>
|
||
</filesets>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<configuration>
|
||
<source>1.8</source>
|
||
<target>1.8</target>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<!-- Overlay guacamole-common-js (zip) -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-war-plugin</artifactId>
|
||
<version>2.6</version>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.mybatis.generator</groupId>
|
||
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
||
<version>1.3.7</version>
|
||
<configuration>
|
||
<verbose>true</verbose>
|
||
<overwrite>true</overwrite>
|
||
</configuration>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<version>8.0.16</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itfsw</groupId>
|
||
<artifactId>mybatis-generator-plugin</artifactId>
|
||
<version>1.3.8</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-antrun-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<?m2e execute onConfiguration?>
|
||
<id>main-class-placement</id>
|
||
<phase>generate-resources</phase>
|
||
<configuration>
|
||
<target>
|
||
<move todir="src/main/resources/static">
|
||
<fileset dir="../frontend/dist">
|
||
<exclude name="*.html"/>
|
||
</fileset>
|
||
</move>
|
||
<move todir="src/main/resources/templates">
|
||
<fileset dir="../frontend/dist">
|
||
<include name="*.html"/>
|
||
</fileset>
|
||
</move>
|
||
|
||
<copy todir="src/main/resources/static/de-app">
|
||
<fileset dir="../mobile/dist">
|
||
<exclude name="*.html"/>
|
||
</fileset>
|
||
</copy>
|
||
|
||
|
||
<copy file="../mobile/dist/index.html" tofile="src/main/resources/templates/app.html" />
|
||
|
||
|
||
</target>
|
||
</configuration>
|
||
<goals>
|
||
<goal>run</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
<repositories>
|
||
<repository>
|
||
<id>pentaho-public</id>
|
||
<name>Pentaho Public</name>
|
||
<url>https://nexus.pentaho.org/content/groups/omni</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
<updatePolicy>always</updatePolicy>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
<updatePolicy>always</updatePolicy>
|
||
</snapshots>
|
||
</repository>
|
||
</repositories>
|
||
|
||
</project>
|