Generating maven metadata errors in teamcity-server.log

Hey guys,

These come through as warning but I would like to get rid of them:

Error generating Maven metadata for build configuration Golden - Configuration - Library :: Sonar {id=bt125876}: File not found: pom.xml

I have a settings.xml in the ~/.m2/settings.xml directory that points to our nexux server.  We also do a mix of server side and agent side checkouts for our maven projects.  If we only did server side checkouts would these errors go away?  I'm just trying to understand why these messages come through and if there is a way to turn them off.

Thanks,
Jay

4 comments
Comment actions Permalink

Hello Jason,

Sorry for delay in answer.

This error message does not depend on agent/server side checkout. Teamcity server tries to collect additional information about your maven build configuration and fails to do so.

Could you please take a look at "Maven" tab of your build configuration and look for more detailed error message (a stacktrace would be great) and attach it to this thread?

0
Comment actions Permalink

Hmm, one of the builds it was complaining about has this on the maven tab:

An error occurred during collecting Maven project information: File not found: pom.xml.

The build has never run before would this explain it?

0
Comment actions Permalink

Checking another buildtype where I see 3 warnings about the pom.xml file yesterday and the maven tab doesn't show any errors.  Not sure what is creating these then.

0
Comment actions Permalink

Jason,

Please, enable server debug logs as described here http://confluence.jetbrains.net/display/TCD7/TeamCity+Server+Logs
Wait for related messages and attach related part of teamcity-server.log to this thread.

0

Please sign in to leave a comment.