TeamCity can't find parent pom message under 'Maven' tab

Hi,

TeamCity version: 7.1.6

Under maven tab I've got following message:

"An error occurred during collecting Maven project information: Cannot find parent: com.yyy:common for project: com.yyy.xxx.project:myProject:jar:TRUNK-0.0.0-SNAPSHOT for project com.yyy.xxx.project:myProject:jar:TRUNK-0.0.0-SNAPSHOT."

Repositories are not defined in project's pom. They defined in parent pom.
If I copying specified repositories from parent pom to child pom error disappears.

In TeamCity configuration I've got reference to settings.xml.
There is a profile "repositories" and inside this profile the same repositories defined.
Also 'repositories' profile in defined as active profile.

So my assumption is that TeamCity should read repositories info from settings.xml.
But looks like it's not happening

Can you please advise what I'm missing here?

2 comments
Comment actions Permalink

Andrey,

Your assumptions are correct. Please, enable server debug logs, force re-read maven information on Maven tab and attach resulting teamcity-server.log file here.

0

Please sign in to leave a comment.