This is an automated email from the ASF dual-hosted git repository. jinrongtong pushed a commit to branch pre-release-0.0.2 in repository https://gitbox.apache.org/repos/asf/rocketmq-exporter.git
The following commit(s) were added to refs/heads/pre-release-0.0.2 by this push: new 3859e4f Replace parent with Apache 3859e4f is described below commit 3859e4fe54fef92126850381575e942c18f721d3 Author: RongtongJin <jinrongton...@mails.ucas.ac.cn> AuthorDate: Wed Jan 24 20:38:23 2024 +0800 Replace parent with Apache --- pom.xml | 42 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index e8b3ace..0fcfa18 100644 --- a/pom.xml +++ b/pom.xml @@ -2,12 +2,18 @@ <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"> <modelVersion>4.0.0</modelVersion> + <!-- <parent>--> + <!-- <groupId>org.springframework.boot</groupId>--> + <!-- <artifactId>spring-boot-starter-parent</artifactId>--> + <!-- <version>2.7.11</version>--> + <!-- <relativePath/> <!– lookup parent from repository –>--> + <!-- </parent>--> <parent> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-parent</artifactId> - <version>2.7.11</version> - <relativePath/> <!-- lookup parent from repository --> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>31</version> </parent> + <groupId>org.apache</groupId> <artifactId>rocketmq-exporter</artifactId> <version>0.0.2-SNAPSHOT</version> @@ -22,11 +28,29 @@ <tag>HEAD</tag> </scm> + <properties> <rocketmq.version>4.9.4</rocketmq.version> <docker.image.prefix>docker.io</docker.image.prefix> + <java.version>1.8</java.version> + <resource.delimiter>@</resource.delimiter> + <maven.compiler.source>${java.version}</maven.compiler.source> + <maven.compiler.target>${java.version}</maven.compiler.target> + <spring-boot.version>2.7.11</spring-boot.version> </properties> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-dependencies</artifactId> + <version>${spring-boot.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + </dependencies> + </dependencyManagement> + <dependencies> <dependency> <groupId>com.google.guava</groupId> @@ -93,9 +117,17 @@ <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> + <version>${spring-boot.version}</version> <configuration> <classifier>exec</classifier> </configuration> + <executions> + <execution> + <goals> + <goal>repackage</goal> + </goals> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -187,4 +219,4 @@ </build> -</project> +</project> \ No newline at end of file