2022-10-10 13:41:39 +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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>system-setting-parent</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>system-setting</artifactId>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>sdk</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>xpack-interface</artifactId>
|
|
|
|
<version>${revision}</version>
|
2022-11-11 17:29:24 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<artifactId>metersphere-platform-plugin-sdk</artifactId>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<version>${platform-plugin-sdk.version}</version>
|
2022-11-18 10:54:15 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>domain</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-10-10 13:41:39 +08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
<include>**/*.json</include>
|
|
|
|
<include>**/*.tpl</include>
|
|
|
|
<include>**/*.js</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
|
|
|
</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/public</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>main-class-placement</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skipAntRunForJenkins}</skip>
|
|
|
|
<target>
|
|
|
|
<copy todir="src/main/resources/static">
|
|
|
|
<fileset dir="../frontend/dist">
|
|
|
|
<exclude name="*.html"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
<copy todir="src/main/resources/public">
|
|
|
|
<fileset dir="../frontend/dist">
|
|
|
|
<include name="*.html"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
2023-04-23 20:14:44 +08:00
|
|
|
|
2022-10-10 13:41:39 +08:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-12-07 18:48:29 +08:00
|
|
|
|
2022-10-10 13:41:39 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|