我在 TeamCity 中配置了一个 Maven Webapp 作为项目。我的第一个构建步骤是构建 Webapp
clean package -P release -Dmaven.test.skip=true
在工件路径中构建后我可以获取资源文件%teamcity.build.checkoutDir%/src/main/resources/*.* => build_res.zip
但是,我没有得到目标目录,更不用说.war
可以在 Artificats 中使用的文件了
%teamcity.build.checkoutDir%/ target/*.* => bin
我没有收到错误,并且构建成功。如果他们以前有过这种经历,任何人都可以发光吗?