I second Wendy's or Michael's suggestions - avoid system scope at all costs. Moreover, it may be removed in future versions of Maven, so don't depend on it being there forever. May as well make preperations now :)
-- Eric Redmond http://blog.propellors.net On 7/30/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > 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] > >