TeamCity 7 Maven Problems

I recently upgraded to TeamCity 7 from TeamCity 6.5 and now all of my maven projects say that they have a "Problem with Maven Snapshot Dependencies..." with the following error message:
An error occurred during collecting Maven project information: Failed to activate local (project-level) build profiles: Cannot read profiles.xml resource from directory: D:\TeamCity\temp\teamcity1800244505880033694maven for project <groupId>:<artifactId>.

A check of D:\TeamCity\temp reveals that there is no teamcity1800244505880033694maven directory.  Does anyone have any idea what's going on?

3 comments
Comment actions Permalink

Update: It appears to be looking for profiles.xml in the top level directory of each of my maven projects.

2012-03-15 15:25:50,039]   WARN [rio executor 24] -      jetbrains.buildServer.VCS - Unable to obtain content of the file: nut_viewer-core/profiles.xml
[2012-03-15 15:25:51,364]   WARN [prio executor 7] -      jetbrains.buildServer.VCS - Error output produced by: hg cat -o D:\TeamCity\temp\mercurial7447385790189743367catresult\%p -r 088109d92716 profiles.xml
[2012-03-15 15:25:51,364]   WARN [prio executor 7] -      jetbrains.buildServer.VCS - profiles.xml: no such file in rev 088109d92716

0
Comment actions Permalink

I'd also like to note that we are using maven 3 and the compatibilty notes indicate that profiles.xml is no longer supported.
https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-profiles.xml

0
Comment actions Permalink

Please, make sure there are no empty profiles.xml files in your repository.

0

Please sign in to leave a comment.