build: 输出jar名称带上metersphere前缀

This commit is contained in:
CaptainB 2023-04-13 17:15:15 +08:00
parent 49159ba53a
commit 283317bc07
13 changed files with 69 additions and 75 deletions

View File

@ -15,48 +15,48 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>api-test</artifactId>
<artifactId>metersphere-api-test</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>load-test</artifactId>
<artifactId>metersphere-load-test</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>project-management</artifactId>
<artifactId>metersphere-project-management</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>system-setting</artifactId>
<artifactId>metersphere-system-setting</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>test-plan</artifactId>
<artifactId>metersphere-test-plan</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>test-track</artifactId>
<artifactId>metersphere-test-track</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>ui-test</artifactId>
<artifactId>metersphere-ui-test</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>workstation</artifactId>
<artifactId>metersphere-workstation</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>

View File

@ -7,35 +7,9 @@
<artifactId>framework</artifactId>
<version>${revision}</version>
</parent>
<artifactId>domain</artifactId>
<artifactId>metersphere-domain</artifactId>
<version>${revision}</version>
<name>domain</name>
<description>domain</description>
<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>
</plugins>
</build>
</project>

View File

@ -10,7 +10,7 @@
<version>${revision}</version>
</parent>
<artifactId>jmeter</artifactId>
<artifactId>metersphere-jmeter-core</artifactId>
<version>${revision}</version>
<name>jmeter</name>
<properties>

View File

@ -7,7 +7,7 @@
<artifactId>framework</artifactId>
<version>${revision}</version>
</parent>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
<name>sdk</name>
<description>sdk</description>
@ -16,9 +16,29 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>domain</artifactId>
<artifactId>metersphere-domain</artifactId>
<version>${revision}</version>
</dependency>
<!-- jmeter -->
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-jmeter-core</artifactId>
<version>${revision}</version>
<exclusions>
<exclusion>
<artifactId>netty</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>mail</artifactId>
<groupId>javax.mail</groupId>
</exclusion>
<exclusion>
<artifactId>javax.activation</artifactId>
<groupId>com.sun.activation</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
@ -193,26 +213,6 @@
</exclusions>
</dependency>
<!-- jmeter -->
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>jmeter</artifactId>
<version>${revision}</version>
<exclusions>
<exclusion>
<artifactId>netty</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>mail</artifactId>
<groupId>javax.mail</groupId>
</exclusion>
<exclusion>
<artifactId>javax.activation</artifactId>
<groupId>com.sun.activation</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>

View File

@ -7,7 +7,7 @@
<artifactId>services</artifactId>
<version>${revision}</version>
</parent>
<artifactId>api-test</artifactId>
<artifactId>metersphere-api-test</artifactId>
<version>${revision}</version>
<name>api-test</name>
<properties>
@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>

View File

@ -7,7 +7,7 @@
<artifactId>services</artifactId>
<version>${revision}</version>
</parent>
<artifactId>load-test</artifactId>
<artifactId>metersphere-load-test</artifactId>
<version>${revision}</version>
<name>load-test</name>
<properties>
@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>

View File

@ -7,7 +7,7 @@
<artifactId>services</artifactId>
<version>${revision}</version>
</parent>
<artifactId>project-management</artifactId>
<artifactId>metersphere-project-management</artifactId>
<version>${revision}</version>
<name>project-management</name>
<properties>
@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>

View File

@ -7,7 +7,7 @@
<artifactId>services</artifactId>
<version>${revision}</version>
</parent>
<artifactId>system-setting</artifactId>
<artifactId>metersphere-system-setting</artifactId>
<version>${revision}</version>
<name>system-setting</name>
<properties>
@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>

View File

@ -7,7 +7,7 @@
<artifactId>services</artifactId>
<version>${revision}</version>
</parent>
<artifactId>test-plan</artifactId>
<artifactId>metersphere-test-plan</artifactId>
<version>${revision}</version>
<name>test-plan</name>
<properties>
@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>

View File

@ -7,7 +7,7 @@
<artifactId>services</artifactId>
<version>${revision}</version>
</parent>
<artifactId>test-track</artifactId>
<artifactId>metersphere-test-track</artifactId>
<version>${revision}</version>
<name>test-track</name>
<properties>
@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>

View File

@ -7,7 +7,7 @@
<artifactId>services</artifactId>
<version>${revision}</version>
</parent>
<artifactId>ui-test</artifactId>
<artifactId>metersphere-ui-test</artifactId>
<version>${revision}</version>
<name>ui-test</name>
<properties>
@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>

View File

@ -7,7 +7,7 @@
<artifactId>services</artifactId>
<version>${revision}</version>
</parent>
<artifactId>workstation</artifactId>
<artifactId>metersphere-workstation</artifactId>
<version>${revision}</version>
<name>workstation</name>
<properties>
@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId>
<artifactId>metersphere-sdk</artifactId>
<version>${revision}</version>
</dependency>

20
pom.xml
View File

@ -122,6 +122,26 @@
</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.apache.maven.plugins</groupId>