maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <>
Subject [jira] Updated: (WAGON-44) Add support for downloading and uploading JARDiff-ed Maven artifacts
Date Wed, 14 May 2008 07:54:28 GMT


Brett Porter updated WAGON-44:

    Fix Version/s: 1.x
      Component/s: New Wagons

> Add support for downloading and uploading JARDiff-ed Maven artifacts
> --------------------------------------------------------------------
>                 Key: WAGON-44
>                 URL:
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: New Wagons
>            Reporter: C├ędric Vidal
>             Fix For: 1.x
> I originally posted this idea in the MRM project but realized that it could nicely be
applied to all wagons.
> It would save bandwith, accelerate artifact downloading and enhance the maven 2 experience
to use the same JARDiff algorithm as the one used in the JnlpDownloadServlet which is fully
documented here:
> The idea is to download (or upload) the incremental updates to a JAR instead of the full
> There is already support for this algorithm in the maven community in the JNLP related
Maven Webstart Plugin:
> Here a possible scenario for upload and download:
> - UPLOAD: Given that version 1.1 of my-artifact-1.1.jar is already deployed and that
I deploy version 1.2 of that same artifact:
>     - upload my-artifact-1.2.jar
>     - download my-artifact-1.1.jar
>     - compute JARDiff between my-artifact-1.1.jar and my-artifact-1.2.jar
>     - upload the jardiff
> - DOWNLOAD: Given that I already have version 1.1 of my artifact locally and that I want
version 1.2 and that the JARDiff between versions 1.1 and 1.2 exists on the remote repository:
>     - download JARDiff between my-artifact-1.1.jar and my-artifact-1.2.jar
>     - generate my-artifact-1.2.jar locally  by applying the JARDiff to my-artifact-1.1.jar
> If the JARDiff doesn't exist, no problem, just download the whole my-artifact-1.2.jar
> Today's repositories stay valid, the JARDiffs informations are used only when available.
The drawback for static maven 2 repositories is the increase in disk storage required to store
the JARDiffs. In MRM repositories, the JARDiff could be dynamically generated on demand.
> Cheers

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message