You can have a remote repository of type "file://" which could point to a
shared filesystem. Another option is use the maven-proxy:

  http://maven-proxy.codehaus.org/

--
Trygve

On Mon, Aug 09, 2004 at 11:05:20AM -0700, Andreas Schaefer wrote:
> Hi Geeks
>  
> I just want to discuss this before adding it as an enhancement to the
> project.
>  
> Problem:
> Adding project level archives that I want to distribute with the project
> and which are not available in the remote repository like JOTM, JAXB etc
> through the POM dependencies.
>  
> Proposed Solution:
> Adding a flag telling Maven to load the archive from a given URL:
>  
> <dependencies>
>             <dependency>
>                         <groupId>test</groupId>
>                         <artifactId>mytest</artifactId>
>                         <version>1.2</version>
>                         <localCache>file:./lib</localCache>
>             </dependency>
> </dependencies>
>  
> Maven would then try to load 'mytest-1.0.jar' from './lib/test/jars/'
> directory.
>  
> So far I had to add this archives manually by using 'maven:addPath' but
> I think that declaring it in the POM would make it clearer to the user
> and would avoid to hassle for the user to place it manually into the
> local repository.
>  
> What do you think?
>  
> -Andy

Attachment: signature.asc
Description: Digital signature

Reply via email to