MeterSphere/backend/app/pom.xml

190 lines
7.8 KiB
XML
Raw Normal View History

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>
2023-04-12 10:19:57 +08:00
<artifactId>backend</artifactId>
2022-10-10 13:41:39 +08:00
<version>${revision}</version>
</parent>
2023-04-06 14:50:17 +08:00
<artifactId>app</artifactId>
<version>${revision}</version>
<name>app</name>
<properties>
</properties>
2022-10-10 13:41:39 +08:00
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-sdk</artifactId>
2022-10-10 13:41:39 +08:00
<version>${revision}</version>
</dependency>
2023-04-12 10:19:57 +08:00
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-api-test</artifactId>
2023-04-12 10:19:57 +08:00
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-load-test</artifactId>
2023-04-12 10:19:57 +08:00
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-project-management</artifactId>
2023-04-12 10:19:57 +08:00
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-system-setting</artifactId>
2023-04-12 10:19:57 +08:00
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-test-plan</artifactId>
2023-04-12 10:19:57 +08:00
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
2023-06-02 16:52:53 +08:00
<artifactId>metersphere-case-management</artifactId>
2023-04-12 10:19:57 +08:00
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-ui-test</artifactId>
2023-04-12 10:19:57 +08:00
<version>${revision}</version>
</dependency>
2023-04-06 14:50:17 +08:00
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-workstation</artifactId>
2023-04-06 14:50:17 +08:00
<version>${revision}</version>
</dependency>
2023-05-19 11:02:56 +08:00
<dependency>
<groupId>io.metersphere</groupId>
2023-06-02 16:52:53 +08:00
<artifactId>metersphere-bug-management</artifactId>
2023-05-19 11:02:56 +08:00
<version>${revision}</version>
</dependency>
2022-10-10 13:41:39 +08:00
</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>
2023-04-06 14:50:17 +08:00
<plugins>
2023-04-13 17:05:58 +08:00
<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>
</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">
2023-05-31 14:50:49 +08:00
<fileset dir="../../frontend/dist"/>
2023-08-07 16:23:49 +08:00
<fileset dir="../../frontend/src/assets"/>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
2023-04-13 17:05:58 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.jmeter</groupId>
<artifactId>ApacheJMeter_functions</artifactId>
<version>${jmeter.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
<destFileName>ApacheJMeter_functions.jar</destFileName>
</artifactItem>
<artifactItem>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-jmeter-functions</artifactId>
<version>${metersphere-jmeter-functions.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
<destFileName>metersphere-jmeter-functions.jar</destFileName>
</artifactItem>
<artifactItem>
<groupId>org.python</groupId>
<artifactId>jython-standalone</artifactId>
<version>${jython.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
<destFileName>jython-standalone.jar</destFileName>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/wars</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</plugin>
2023-04-06 14:50:17 +08:00
</plugins>
2022-10-10 13:41:39 +08:00
</build>
</project>