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> <dependencies>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>sdk</artifactId> <artifactId>metersphere-sdk</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>api-test</artifactId> <artifactId>metersphere-api-test</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>load-test</artifactId> <artifactId>metersphere-load-test</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>project-management</artifactId> <artifactId>metersphere-project-management</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>system-setting</artifactId> <artifactId>metersphere-system-setting</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>test-plan</artifactId> <artifactId>metersphere-test-plan</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>test-track</artifactId> <artifactId>metersphere-test-track</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>ui-test</artifactId> <artifactId>metersphere-ui-test</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>workstation</artifactId> <artifactId>metersphere-workstation</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

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

View File

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

View File

@ -7,7 +7,7 @@
<artifactId>framework</artifactId> <artifactId>framework</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
<artifactId>sdk</artifactId> <artifactId>metersphere-sdk</artifactId>
<version>${revision}</version> <version>${revision}</version>
<name>sdk</name> <name>sdk</name>
<description>sdk</description> <description>sdk</description>
@ -16,9 +16,29 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>domain</artifactId> <artifactId>metersphere-domain</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </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> <dependency>
<groupId>org.mybatis.spring.boot</groupId> <groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId> <artifactId>mybatis-spring-boot-starter</artifactId>
@ -193,26 +213,6 @@
</exclusions> </exclusions>
</dependency> </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> <dependency>
<groupId>org.dom4j</groupId> <groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId> <artifactId>dom4j</artifactId>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

20
pom.xml
View File

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