you might be getting POI from somewhere else. Check your dependency tree by 
running "mvn dependency:tree". This will show you what transitive dependency 
POI is coming from.
---
Nayan Hajratwala
http://agileshrugged.com
http://twitter.com/nhajratw
734.658.6032

On Sep 16, 2010, at 3:06 PM, Pradnya Gawade wrote:

> Thanks Antonio. I have tried following but it still it download POI 2.5
> when compile my project. Is following correct for what I want to do? Is
> version needs to be mentioned some where?
> 
> <dependency>            
>            <groupId>org.jbpm.jbpm3</groupId>
>               <artifactId>jbpm-jpdl</artifactId>
>               <version>3.3.1.GA</version>
>            <scope>compile</scope>
>            <exclusions>
>                       <exclusion>
>                               <groupId>org.apache.poi</groupId> <!--
> Exclude apache poi -->
>                           <artifactId>poi</artifactId>
>                               </exclusion>
>               </exclusions>
>        </dependency>
> 
> 
> 
> - Pradnya
> 
> -----Original Message-----
> From: Antonio Petrelli [mailto:[email protected]] 
> Sent: Thursday, September 16, 2010 2:28 PM
> To: Maven Users List
> Subject: Re: Maven dependency library versioning issue
> 
> 2010/9/16 Pradnya Gawade <[email protected]>:
>> How can I make
>> JBPM not to download POI 2.5 or how can make my application to use POI
>> 3.5.6 and not POI 2.5?
> 
> Use dependency exclusion:
> http://maven.apache.org/guides/introduction/introduction-to-optional-and
> -excludes-dependencies.html
> 
> Antonio
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to