You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Anislav Atanasov <an...@gmail.com> on 2006/03/09 15:08:51 UTC
maven
Hi
I'm trying to build a web application based on velocity with Maven. I add
dependency:
<dependency>
<groupId>velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.4</version>
<scope>runtime</scope>
</dependency>
but Maven download to /WEB-INF/lib both velocity-1.4.jar and
velocity-dep-1.4.jar. Have someone the cure for this problem?
Re: maven
Posted by Anislav Atanasov <an...@gmail.com>.
Thanks a lot Charlie! It works as I want.
On 3/9/06, Charles Harvey III <ch...@alloy.com> wrote:
>
> Try this:
>
> <dependency>
> <groupId>velocity</groupId>
> <artifactId>velocity</artifactId>
> <version>1.4</version>
> <scope>runtime</scope>
> <exclusions>
> <exclusion>
> <groupId>velocity</groupId>
> <artifactId>velocity-dep</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
>
>
> Charlie
>
>
>
> Anislav Atanasov said the following on 3/9/2006 9:08 AM:
> > Hi
> > I'm trying to build a web application based on velocity with Maven. I
> add
> > dependency:
> >
> > <dependency>
> > <groupId>velocity</groupId>
> > <artifactId>velocity</artifactId>
> > <version>1.4</version>
> > <scope>runtime</scope>
> > </dependency>
> >
> > but Maven download to /WEB-INF/lib both velocity-1.4.jar and
> > velocity-dep-1.4.jar. Have someone the cure for this problem?
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
Re: maven
Posted by Charles Harvey III <ch...@alloy.com>.
Try this:
<dependency>
<groupId>velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>velocity</groupId>
<artifactId>velocity-dep</artifactId>
</exclusion>
</exclusions>
</dependency>
Charlie
Anislav Atanasov said the following on 3/9/2006 9:08 AM:
> Hi
> I'm trying to build a web application based on velocity with Maven. I add
> dependency:
>
> <dependency>
> <groupId>velocity</groupId>
> <artifactId>velocity</artifactId>
> <version>1.4</version>
> <scope>runtime</scope>
> </dependency>
>
> but Maven download to /WEB-INF/lib both velocity-1.4.jar and
> velocity-dep-1.4.jar. Have someone the cure for this problem?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: maven
Posted by Anislav Atanasov <an...@gmail.com>.
Ok in this way it is working as it adds only velocity-dep.jar. But I don't
think that putting velocity and its dependencies in one jar is good idea. So
I want separate velocity.jar and its dependencies jars. The problem I think
is in Maven repository.. but have someone solved it?
On 3/9/06, Arkadiusz Ryćkowski <ar...@aster.pl> wrote:
>
> Anislav Atanasov napisał(a):
>
> >Hi
> > I'm trying to build a web application based on velocity with Maven. I
> add
> >dependency:
> >
> > <dependency>
> > <groupId>velocity</groupId>
> > <artifactId>velocity</artifactId>
> > <version>1.4</version>
> > <scope>runtime</scope>
> > </dependency>
> >
> >
> >
> I have
> <dependency>
> <groupId>velocity</groupId>
> <artifactId>velocity-dep</artifactId>
> <version>1.5</version>
> </dependency>
>
> Best regards
> Arek
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
Re: maven
Posted by Arkadiusz Ryćkowski <ar...@aster.pl>.
Anislav Atanasov napisał(a):
>Hi
> I'm trying to build a web application based on velocity with Maven. I add
>dependency:
>
> <dependency>
> <groupId>velocity</groupId>
> <artifactId>velocity</artifactId>
> <version>1.4</version>
> <scope>runtime</scope>
> </dependency>
>
>
>
I have
<dependency>
<groupId>velocity</groupId>
<artifactId>velocity-dep</artifactId>
<version>1.5</version>
</dependency>
Best regards
Arek
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org