forked from github/dataease
545 lines
20 KiB
XML
545 lines
20 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.15.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>
|
|
<buji.version>4.0.0</buji.version>
|
|
<pac4j.version>3.3.0</pac4j.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>31.0.1-jre</version>
|
|
</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>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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.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>
|
|
<version>8.0.28</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper</artifactId>
|
|
<version>5.3.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.shiro</groupId>
|
|
<artifactId>shiro-spring</artifactId>
|
|
<version>${shiro.version}</version>
|
|
</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.83</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>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-recipes</artifactId>
|
|
<version>4.0.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fit2cloud</groupId>
|
|
<artifactId>quartz-spring-boot-starter</artifactId>
|
|
<version>0.0.7</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.dataease</groupId>
|
|
<artifactId>dataease-plugin-interface</artifactId>
|
|
<version>1.15.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.dataease</groupId>
|
|
<artifactId>dataease-plugin-view</artifactId>
|
|
<version>1.15.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.dataease</groupId>
|
|
<artifactId>dataease-plugin-datasource</artifactId>
|
|
<version>1.15.0</version>
|
|
</dependency>
|
|
<!-- kettle及数据源依赖 -->
|
|
<dependency>
|
|
<groupId>pentaho-kettle</groupId>
|
|
<artifactId>kettle-core</artifactId>
|
|
<version>8.3.0.18-1112</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-io</artifactId>
|
|
<groupId>commons-io</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>pentaho-kettle</groupId>
|
|
<artifactId>kettle-engine</artifactId>
|
|
<version>8.3.0.18-1112</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-io</artifactId>
|
|
<groupId>commons-io</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>pentaho</groupId>
|
|
<artifactId>metastore</artifactId>
|
|
<version>8.3.0.18-1112</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-io</artifactId>
|
|
<groupId>commons-io</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ru.yandex.qatools.ashot</groupId>
|
|
<artifactId>ashot</artifactId>
|
|
<version>1.5.4</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>
|
|
<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>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<nonFilteredFileExtensions>
|
|
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
|
</nonFilteredFileExtensions>
|
|
</configuration>
|
|
</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>
|
|
<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.28</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.itfsw</groupId>
|
|
<artifactId>mybatis-generator-plugin</artifactId>
|
|
<version>1.3.8</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>whole</id>
|
|
<properties>
|
|
<profiles.active>whole</profiles.active>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<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>
|
|
</profile>
|
|
<profile>
|
|
<id>stage</id>
|
|
<properties>
|
|
<profiles.active>stage</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<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>
|