Kotlin DSL: dsl-plugins-repository not available (HTTP 404)

Hi,

we have switched one of our projects to Kotlin DSL, but we have problem opening this project (.teamcity/pom.xml) in IntelliJ Idea. POM file contains reference to teamcity-server repository (https://{our.teamcity.server}/app/dsl-plugins-repository), but I get HTTP 404 error when accessing this. 

We have tried solve problem as in https://teamcity-support.jetbrains.com/hc/en-us/community/posts/115000013824/comments/115000084784 but without success.

Startup of TC server ok without errors in logs...

TeamCity: 2017.1

Idea: 2017.1

 

1
1 comment
Avatar
Permanently deleted user

Finally a found the solution. Problem was in .m2/settings.xml where I had <mirrorOf>*</mirrorOf> to our corporate maven repository. I changed this to <mirrorOf>*,!teamcity-server</mirrorOf>.

The reason of HTTP 404 error is discussed in ticket https://youtrack.jetbrains.com/issue/TW-49010

Internal maven repository in TC doesn't provide metadata and our corporate maven repo server (Nexus) can't do proxy for it.

1

Please sign in to leave a comment.