You can also use the file:// protocol in the url:

    <repositories>
        <repository>
            <id>my_repo</id>
            <name>My Repository</name>
            <url>file://path/to/file/based/repository</url>
        </repository>
    </repositories>


Binoy K. Shah wrote:
Thanks,

But I want it to retrieve it from my local machine and not a http based
server


-Binoy

-----Original Message-----
From: Peter van de Hoef [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 5:17 PM
To: Maven Users List
Subject: Re: M2: Multiple repositories for dependencies


You can specify something like this in your POM:

        <repositories>
                <repository>
                        <id>my_repo</id>
                        <name>My Repository</name>
                        <url>http://repository.myorganization.org</url>
                </repository>
        </repositories>

Maven will automatically try to download from ibiblio first and then try
your own repository when it is not present on ibiblio.


- Peter

Binoy K. Shah wrote:

Hi,

My project uses lot of custom or commercial libraries which I can not
publish to ibiblio.org

Is it possible to configure maven 2 such that it pulls the available
dependencies from ibiblio.org and when ever some custom jar is

required

it pulls it from my local repository.

Regards,
-Binoy



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to