Hi,

On Feb 10, 12:31 am, Brian Schlining <bschlin...@gmail.com> wrote:

> > > That's exactly what Debian does. For every Java package also provide
> > > the maven xml file and the jar is discoverable from maven. The
> > > installed packages on the local system acts as a local maven repo.
>
> > >  <http://wiki.debian.org/Java/MavenRepoSpec>
>
> > I see they also solved the problem of not downloading during build.
>
> Just FYI, with Maven, the first time you run a build it downloads all the
> needed dependencies. If you've specified version numbers for ALL the
> dependencies it will never try to download  them again and just use the ones
> in your local repo (i.e. ~/.m2/repositories). You can also disable
> dependency updates with the '-o' flag (o stands for offline); for example:
> 'maven clean install -o'

I would also think, that you can construct a local maven repository
via the packaging system (deb in this case) before the build. Then
tell maven just to use this repository. Then no download at package
build time would be necessary, no?

Sincerely
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to