mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-11-30 19:17:46 +08:00
199 lines
7.9 KiB
XML
199 lines
7.9 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>incubator-datacap</artifactId>
|
|
<groupId>io.edurt.datacap</groupId>
|
|
<version>1.0.0.20221015</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>datacap-server</artifactId>
|
|
<name>DataCap for server</name>
|
|
|
|
<properties>
|
|
<mysql.version>8.0.28</mysql.version>
|
|
<h2.version>2.1.214</h2.version>
|
|
<findbugs.version>3.0.1</findbugs.version>
|
|
<frontend-maven-plugin.version>1.12.1</frontend-maven-plugin.version>
|
|
<node.version>v16.10.0</node.version>
|
|
<npm.version>7.19.1</npm.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</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-validation</artifactId>
|
|
<version>${springboot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
<version>${springboot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>${h2.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.vertical-blank</groupId>
|
|
<artifactId>sql-formatter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
<artifactId>findbugs</artifactId>
|
|
<version>${findbugs.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap</groupId>
|
|
<artifactId>datacap-spi</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-mysql</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-clickhouse</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-presto</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-redis</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-trino</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-postgresql</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-elasticsearch</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-druid</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
<artifactId>datacap-plugin-jdbc-kyuubi</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${assembly-plugin.version}</version>
|
|
<configuration>
|
|
<finalName>datacap</finalName>
|
|
<descriptors>
|
|
<descriptor>../configure/assembly/assembly.xml</descriptor>
|
|
</descriptors>
|
|
<outputDirectory>../dist</outputDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>${frontend-maven-plugin.version}</version>
|
|
<configuration>
|
|
<nodeDownloadRoot>https://npm.taobao.org/mirrors/node/</nodeDownloadRoot>
|
|
<npmDownloadRoot>https://registry.npm.taobao.org/npm/-/</npmDownloadRoot>
|
|
<installDirectory>../web/console-fe/</installDirectory>
|
|
<workingDirectory>../web/console-fe/</workingDirectory>
|
|
<nodeVersion>${node.version}</nodeVersion>
|
|
<npmVersion>${npm.version}</npmVersion>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>install node and npm</id>
|
|
<goals>
|
|
<goal>install-node-and-npm</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>npm install</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<arguments>--legacy-peer-deps install</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm run build</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run build</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>../web/console-fe/dist</directory>
|
|
<targetPath>resources</targetPath>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
</project>
|