maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: How to avoid unzip of large test data on each "mvn test"
Date Thu, 31 Jul 2014 13:00:18 GMT
On 31 Jul 2014, at 2:55 PM, Francois MAROT <> wrote:

> I'm in the process of switching to Maven for a large ANT project and have a
> question regarding my test data.
> I'd like those data to be versionned and stored in the Maven repo. But
> currently those data are huge (let's say a 1-2 gigabytes once zipped). So I
> imagine that if stored in the repo, each time I will run "mvn test" Maven
> will have to unzip this big zip. It will take a lot of time...
> Is there a best practise about it ?
> Is there a way to store the data already unzipped somewhere and have mvn
> test unzip the archive only if the version has changed ?
> Any idea ?
> François
> PS: currently, the existing test code rely on the data being manually
> unzipped once and for all at a hardcoded location on the disk :/ . Those
> test data are currently not versionned (with all the related problems).

Sounds like you want to treat this set of tests as integration tests, and then run them as
required, rather than on every build.

Any way to make these files smaller?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message