Excluding from an import is done by just adding an <exclude> tag in the
import definition. That should prevent maven from pulling in the
excluded resource.

<exclude>
        <groupId>[groupId here]</groupId>
        <artifactId>[artifactid here]</artifactId>
</exclude>

-atle

On Thu, 2010-03-25 at 10:14 +1100, Bob Schellink wrote:
> Hi Hans,
> 
> Velocity is backward compatible so you only need to include 1.6.3. I'm not 
> familiar with maven so 
> can you tell it to "exclude" velocity 1.3?
> 
> kind regards
> 
> bob
> 
> 
> On 25/03/2010 10:01 AM, [email protected] wrote:
> > Hi,
> >
> > I'm new to maven and i'm trying to refactor an old ant project to maven2.
> >
> > I've noticed that Click nodeps depends on Velocity 1.6.3, but latest 
> > cayenne release Cayenne Server 3.0RC2 depends on velocity 1.3.
> >
> > I've been with various problems giving class not found when running on 
> > tomcat 6, i figured out this could be some of the problems..
> >
> > ¿ Can anyone give some advise ?
> >
> > Thanks
> > Hans
> >
> 

Reply via email to