Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-09 Thread Baptiste Mathus
Not sure it would do for your use case, but you might want to try the maven-remote-resources-plugin. You'd have the cacheing behavior standard with it. Cheers Le 8 nov. 2014 20:38, "Karl Heinz Marbaise" a écrit : > Hi Kevin, > > > On 11/8/14 8:19 PM, Kevin Burton wrote: > >> Nice.. it works actu

Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Karl Heinz Marbaise
Hi Kevin, On 11/8/14 8:19 PM, Kevin Burton wrote: Nice.. it works actually. the only problem is that it downloads the file every time and it’s 180MB… there’s no way to skip it if the file already exists. hm.. so this sounds like an idea for improvement Kind regards Karl Heinz Marbaise

Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
Nice.. it works actually. the only problem is that it downloads the file every time and it’s 180MB… there’s no way to skip it if the file already exists. hm.. On Sat, Nov 8, 2014 at 11:00 AM, Karl Heinz Marbaise wrote: > Hi Kevin, > > to download a an file from somewhere you could use the wago

Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Karl Heinz Marbaise
Hi Kevin, to download a an file from somewhere you could use the wagon-maven-plugin like this: org.codehaus.mojo wagon-maven-plugin 1.0-beta-5 download-test-data prepare-package download-single http://archive.apache.org/dist/abder

Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
oh .. gotcha. So I would/could take the tar.gz and put it in a maven repo. I don’t think there is one for the tar.gzs though. On Sat, Nov 8, 2014 at 10:45 AM, Bernd wrote: > You could use the dependency-plugin with copy dependencies to get the > binary artifact from a maven repo (if there is

Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Bernd
You could use the dependency-plugin with copy dependencies to get the binary artifact from a maven repo (if there is one). Am 08.11.2014 19:43 schrieb "Kevin Burton" : > I’m trying to build .debs using jdeb and maven for various projects. > > For example, there is no .deb for spark. So I’m just t

fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
I’m trying to build .debs using jdeb and maven for various projects. For example, there is no .deb for spark. So I’m just taking the tar.gz and making a deb that installs to /usr/share/apache-spark. The problem is I don’t want to put the full binary into git as it’s about 200MB. I’d rather have