It is *strongly* suggested that you do not utilize scope system. This
is available for the rare use case which actually requires it.

In general, you should add dependencies to your local repo (or a
corporate repo, if you are using one) and use <dependency> in the
normal manner.

Wayne

On 4/24/06, Kristian Nordal <[EMAIL PROTECTED]> wrote:
> On 4/24/06, Brandon Goodin <[EMAIL PROTECTED]> wrote:
> >
> > Is it a requirement that i use the remote repository for jars? Is
> > there a way to reference jars that are distributed with the code when
> > checked out from the code repository?
>
>
> Take a look at the "system" scope:
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
>
> e.g:
>    <dependency>
>      <groupId>foo</groupId>
>      <artifactId>foo</artifactId>
>      <version>1.0.0</version>
>      <scope>system</scope>
>      <systemPath>${basedir}/foo/foo/1.0.0/foo-1.0.0.jar</systemPath>
>    </dependency>
>
> --
> Cheers,
> Kristian
>
>

Reply via email to