搜了好久,有人提到需要spring-boot-maven-plugin这个插件。
添加以后,有的可以了,有的不行。
最后发现是插件必须配置<skip>true</skip>这个节点。

完整来说,就是在pom文件(或者父pom中),有这样一个配置:

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
					<skip>true</skip>
				</configuration>
			</plugin>
		</plugins>
	</build>

相关文章:

  • 2021-12-13
  • 2021-07-12
  • 2022-02-13
  • 2021-05-22
猜你喜欢
  • 2021-04-09
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2021-08-27
相关资源
相似解决方案