For maven goal build-latest the content of
tells which sailfin-image that should be downloaded. However when running that
target behind ericsson http proxy an old version is returned from the proxy
server. This may be a bug or a setting in the http proxy used. A workaround for
the problem is to include the
header in the GET request.
To prove mu point I did the following
A. run maven bootstrap-latest (I do unfortunately not have a trace for this)
=>An old version of the snapshot is used.
B. browse to http://220.127.116.11/snapshot/WINNT/windows.timestamp
=> Since I had a cached version in my browser cache that one is displayed
C. Hit CTRL-SHIFT + reload in the browser
=> This issues a GET request with Pragma: no-cache that the proxy server seems
to respect. A new version of the timestamp is downloaded and as a side
effect the cached item in the proxy server is replaced.
D. run maven bootstrap-latest
Now a new version of the time stamp is downloaded and used.
B and C are captured in the 'browser.pcap' attachment
D is captured in the 'second_bootstrap_latest.pcap' attachment
In the build system send a GET request with "Pragma: no-cache" to
http://18.104.22.168/snapshot/WINNT/windows.timestamp, either as part of fetching
the timestamp file, or before doing that just to refresh the proxy caches
between the build system and the origin server.
This problem is a real problem when rebuilding inside Ericsson. We don't want
to develop and test agains an old snapshot. The only reason for me not to set
this to a P2 is that there is a workaround: hit CTRL+SHIFT in the browser when
surfed to 'http://22.214.171.124/snapshot/WINNT/windows.timestamp'.