I had the same need and found that "system" scope could do the job.

For example, I replaced following lines in project.properties :
maven.jar.activation=${basedir}/lib/activation.jar

with following lines in pom.xml :
    <dependency>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
      <version>1.0.2</version>
      <scope>system</scope>
      <systemPath>lib/activation.jar</systemPath>
    </dependency>


- Hervé Boutemy

Le Samedi 29 Octobre 2005 07:48, Brill Pappin a écrit :
> In Maven 1 I used to be able to include project local jars and include them
> in the dependency list with an override property.
> 
> This is important to be able to do it so that a build can include "private"
> jars where a repository is *not* an option (I have several such cases).
> 
> How do I do that in m2?
> 
> - Brill Pappin
> 

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

Reply via email to