cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Module cocoon-forms-sample depends on JDBI that is not on Maven repo
Date Mon, 09 Jul 2007 16:26:23 GMT
Grzegorz Kossakowski wrote:
> Sylvain Wallez pisze:
>> Grzegorz Kossakowski wrote:
>> Is it impossible with Maven to use a local library?
> I must admit I have not thought about this option, I guess I'm too
> accustomed to the fact that everything is on Maven's repository.
> There is a bit of information here:
> and here:
> However, such a solution helps only if one checkouts sample from svn
> and does mvn install. We can't release a pom that depend on something
> that we install manually to local repository. It's quite easy and
> quick solution but only temporary, IMHO.
> Sylvain, I know that you use Ivy, how it works there?

Well, you can do pretty much what you want with Ivy, since it is
basically used to build an Ant classpath from an ivy.xml file that
describes the project's dependencies. The dependencies are resolved
using a chain of repositories.

In this particular case, we could have a chain consisting in a local
repository (checked in in SVN), Cocoon's own repository and then the
main Maven repository.

And since this is really about building a classpath (the library path in
this case), we don't actually _need_ a local repository, and can build a
classpath that is the concatenation of artifacts pulled from a
repository and jar files in a "local-lib" directory.


Sylvain Wallez -

View raw message