if you put the jar in $M2_HOME/lib then in your pom.xml you can pull the jar 
via declared dependency e.g.

  <artifactId>ArtifactID</artifactId>
  <name>ArtifactName</name>
  <packaging>jar</packaging>
  <dependencies>    
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>bootstrap</artifactId>
    </dependency>

HTH
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Fri, 17 Oct 2008 20:54:53 +0530
> From: [EMAIL PROTECTED]
> Subject: how to add jars from bootstrap to classpath in pom.xml
> To: [email protected]
> 
> hi all
> 
> I want to add all the jars from the bootstrap jars directory to the classpath.
> 
> How can i do it in pom.
> 
> can anyone specify me.
> 
> 
> Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download 
> Now! http://messenger.yahoo.com/download.php

_________________________________________________________________
Store, manage and share up to 5GB with Windows Live SkyDrive.
http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_102008

Reply via email to