[英]How to specify Maven settings.xml for Kotlin DSL project in TeamCity
So you can have settings.xml
for Maven projects in TeamCity, Administration -> Project -> Maven Settings
.因此,您可以在 TeamCity 中为 Maven 项目
settings.xml
, Administration -> Project -> Maven Settings
。
You can also store project configuration as Kotlin DSL, which is basically a Maven project stored under .teamcity
in VCSROOT.您还可以将项目配置存储为 Kotlin DSL,它基本上是存储在
.teamcity
中的 .teamcity 下的 Maven 项目。 It may even use external libraries as dependencies.它甚至可以使用外部库作为依赖项。
However, this Maven project will not use any settings.xml
described above, so it can't go into HTTP auth-protected internal Maven repositories. However, this Maven project will not use any
settings.xml
described above, so it can't go into HTTP auth-protected internal Maven repositories. Is there a way to specify settings.xml
file for Kotlin DSL configuration project?有没有办法为 Kotlin DSL 配置项目指定
settings.xml
文件? Is it possible to have that file alongside pom.xml maybe?是否可以将该文件与 pom.xml 放在一起? In this case, will it pick up Tokens from corresponding TeamCity tab?
在这种情况下,它会从相应的 TeamCity 选项卡中获取代币吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.