TeamCity 4.5 is released

Build 8944 is the official 4.5 release.

What's New

Thank you all for helping us improve TeamCity!
Feel free to send us more feedback and suggestions for future TeamCity features.


Release looks nice so far - however I'm noticing my additional maven options settings are no longer being passed into maven, so builds are failing as profiles are not being enabled.  Known issue?


No, it's not a known problem. Could you please describe it in more details? Do you mean "Additional Maven command line parameters" field?


After investigating more it looks like the upgrade of 4.5 brought to light some brokenness in our builds which can now be reproduced outside of Team City.  I suspect the version of maven in TC4.5 has been updated causing some changes in behaviour (I've not checked what maven version is now bundled thou).


When attempting to download using the new Download All (.zip) option, I am having more Cache issues using Internet Explorer/HTTPS/Tomcat

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Test: test
Set-Cookie: RememberMe=-448235702^2#487448105303957472; Expires=Sat, 09-May-2009 00:12:13 GMT; Path=/
Cache-Control: no-store
Content-disposition: attachment;
Content-Type: application/zip
Transfer-Encoding: chunked
Date: Sat, 25 Apr 2009 00:12:13 GMT

I am still using the cache filter I setup to attempt to resolve this problem, while it still works for normal downloads, it does not work for the Download All method.

I've tried disabling the following page https redirect in Tomcat to see if that was the sole cause of the caching issue but it isn't.

   <web-resource-name>Automatic SSL Forwarding</web-resource-name>


The current filter I'm using which is modified since the last thread I was discussing this.

public class KillCacheFilter implements Filter
public void doFilter(ServletRequest arg0, ServletResponse arg1,
   FilterChain arg2) throws IOException, ServletException
  HttpServletResponse httpResp = (HttpServletResponse)arg1;
  HttpServletRequest httpreq = (HttpServletRequest)arg0;
  long today = new Date().getTime();
  httpResp.setHeader("Cache-Control", "private,must-revalidate"); 
  httpResp.setHeader("Pragma", "private");
   System.out.println(httpreq.getRequestURI() + " - " + ((httpResp.isCommitted()) ? "is commited" : "is not commited"));
   httpResp.setHeader("Test", "test");
  arg2.doFilter(arg0, arg1);
public void destroy()

public void init(FilterConfig arg0) throws ServletException


Turns out the bundled version of Apache Maven (2.1.0) in Team City 4.5 has a regression when using profiles:


Please sign in to leave a comment.