maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: war plugin does not work well with overriden jars (non repository ones)?
Date Mon, 24 Mar 2003 22:24:30 GMT
Can't you just put it in the local repo?

--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"Paulo Silveira" <paulo@paulo.com.br> wrote on 24/03/2003 06:38:36 PM:

> One of my POMs dep:
> 
>     <dependency>
>       <id>mail</id>
>       <version>1.3</version>
>       <properties>
>         <war.bundle.jar>true</war.bundle.jar>
>       </properties>
>     </dependency> 
> 
> But this dep we do not have @ the repository, so in projec.properties:
> 
> maven.jar.mail = ${basedir}/resource/nonRepositoryLibs/mail.jar
> 
> When java:compile'ing, it works fine. It download the repository
> dependencies but does not download the overriden ones.
> 
> But when war:webapp'ing, or war:war'ing, it tries to download the
> artifacts from the repository, ignoring my prject.properties.
> 
> I dont know if it is just my impression, but some commits ago, it seems
> that overriding a dependency would create a repository instance. For
> example, in this case, it would create repo/mail/jars/mail-1.3.jar, even
> if it was not downloaded from the repo. Am I right?
> 
> How can I solve this?
> 
> ------------------------
> Paulo Silveira
> http://www.paulo.com.br/
> http://www.guj.com.br/
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message