On 7/20/07, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using the following code:
>
>     <dependency>
>       <groupId>connector</groupId>
>       <artifactId>connector</artifactId
>       <version>1_0</version>
>       <scope>system</scope>
>
> <systemPath>${Build_base}/ma-jdm-tck/lib/connector_1_0.jar</systemPath>
>     </dependency>
>
> This code is working fine, but it requires everyone to define the
> "Build_base" system variable, so is there is another way, where I can
> reference the folder where this jar is located without using a system
> variable?

I would have the developers use 'mvn install:install-file' to add the
jar to their local repository, and then you can declare it as a normal
dependency.

-- 
Wendy

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

Reply via email to