Explorar o código

maven插件增加version

郭志波 %!s(int64=6) %!d(string=hai) anos
pai
achega
81b8255013
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pom.xml

+ 1 - 1
pom.xml

@@ -5,7 +5,6 @@
 	<groupId>com.leanwo.gateway</groupId>
 	<artifactId>GatewayServer</artifactId>
 	<version>0.0.1</version>
-
 	<!--指定父级依赖 -->
 	<parent>
 		<groupId>org.springframework.boot</groupId>
@@ -111,6 +110,7 @@
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-jar-plugin</artifactId>
+				<version>3.1.1</version>
 				<configuration>
 					<!-- 指定打包的jar包输出路径 -->
 					<outputDirectory>${project.build.directory}/${project.version}</outputDirectory>