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