Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Deploying and resolving compressed artifacts

Hi Shahim,

can you please explain what your underlying problem is? Is it server
storage space? Or is it network bandwidth? Or something else entirely.

If it is just network bandwidth, good ol' HTTP's "Content-Encoding:
gzip" header is your friend. For artifact resolution, you need to make
sure that Apache HttpComponent sends an Accept-Encoding header for gzip
(or deflate) and that the repository can oblige that request (e.g., by
performing on the fly compression). As far as I know, that should even
work out-of-the-box on HttpComponent's side (and is easy enough to
configure on the server side)

If you want on-the-fly compression for artifact deployment, though, you
may need to configure the HttpClient that Aether uses to do so. That may
require a bit more work.

Hope that helps.

Andreas

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top