cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <>
Subject Re: Module cocoon-forms-sample depends on JDBI that is not on Maven repo
Date Wed, 11 Jul 2007 08:29:32 GMT
Hash: SHA1

Sylvain Wallez wrote:
> 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

In Maven 2 you can actually do

      <name>Locally Provided Repository</name>

to achieve the same

- --
Giacomo Pati
Otego AG, Switzerland -
Orixo, the XML business alliance -

Version: GnuPG v2.0.4 (GNU/Linux)


View raw message