2022-09-17 17:28:21 +08:00
|
|
|
<?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>
|
2022-09-17 20:53:03 +08:00
|
|
|
<mysql.version>8.0.28</mysql.version>
|
2022-09-18 13:21:08 +08:00
|
|
|
<h2.version>2.1.214</h2.version>
|
|
|
|
<findbugs.version>3.0.1</findbugs.version>
|
2022-09-18 15:17:13 +08:00
|
|
|
<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>
|
2022-09-17 17:28:21 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
2022-09-17 20:53:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
2022-09-18 13:21:08 +08:00
|
|
|
<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>
|
2022-09-17 20:53:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>${mysql.version}</version>
|
|
|
|
</dependency>
|
2022-09-18 13:21:08 +08:00
|
|
|
<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.google.code.findbugs</groupId>
|
|
|
|
<artifactId>findbugs</artifactId>
|
|
|
|
<version>${findbugs.version}</version>
|
|
|
|
</dependency>
|
2022-09-19 00:13:33 +08:00
|
|
|
<dependency>
|
2022-09-20 15:00:10 +08:00
|
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
|
|
<artifactId>datacap-plugin-jdbc-mysql</artifactId>
|
2022-09-19 00:13:33 +08:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-09-22 22:56:16 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
|
|
|
|
<artifactId>datacap-plugin-jdbc-clickhouse</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-09-17 17:28:21 +08:00
|
|
|
</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>
|
2022-09-18 15:17:13 +08:00
|
|
|
<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>
|
2022-09-22 22:56:16 +08:00
|
|
|
<arguments>--legacy-peer-deps install</arguments>
|
2022-09-18 15:17:13 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>npm run build</id>
|
|
|
|
<goals>
|
|
|
|
<goal>npm</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>run build</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-09-17 17:28:21 +08:00
|
|
|
</plugins>
|
2022-09-18 15:17:13 +08:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>../web/console-fe/dist</directory>
|
|
|
|
<targetPath>resources</targetPath>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2022-09-17 17:28:21 +08:00
|
|
|
</build>
|
|
|
|
</project>
|