Maven 2 fails to upload last artifact in multimodule build

Hi all,
  I'm using the Maven2 build process to build a project with multiple modules.  I execute the build from the parent pom.  Each module builds as expected, however the last module always fails to upload to our repository.  It simply times out.  I'm running a custom installation of maven installed at /usr/local/maven2 and have configured the build process to use it.  Specifically version 2.2.1.  If I log in as the teamcity agent's user, I can use the same maven deploy command to successfully build and deploy all the modules.  Any ideas why I can do this from the command line, but when running within Teamcity it fails?


1 comment
Comment actions Permalink

Hello Todd,

Could you please provide the full build log and the teamcity-agent.log.
Thank you.


Please sign in to leave a comment.