소스 검색

maven插件增加version

郭志波 6 년 전
부모
커밋
81b8255013
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>