Hello Dion

I am not sure if I should  raise it on jira. If I make my own
repository, it works fine.

And I dont need even to have a web server, i can do like this:

maven.repo.remote = file://${basedir}/resource/localRepository ,...

This is a VERY good solution, it is also better than overriding jars in
project.properties.

What do you think?

------------------------
Paulo Silveira
http://www.paulo.com.br/
http://www.guj.com.br/
 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: segunda-feira, 24 de mar�o de 2003 21:03
> To: Maven Users List
> Subject: RE: war plugin does not work well with overriden 
> jars (non repository ones)?
> 
> 
> It would be nice if you could just list your dependencies, 
> and we (Maven 
> team) had resolved the licensing issues with Sun, but at this 
> point, it's 
> not a reality. We're still legally bound to not distribute those jars.
> 
> The issue you've got below sounds like a problem with the war plugin. 
> Raise it in Jira and make it a priority for us.
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://www.freeroller.net/page/dion/Weblog
> Work:      http://www.multitask.com.au
> 
> 
> "Paulo Silveira" <[EMAIL PROTECTED]> wrote on 24/03/2003 08:06:03 PM:
> 
> > Yep, I can do it manually
> > 
> > But it would be VERY nice that anyone could checkout my 
> project form 
> > the cvsrepo and war:war without ANY manual, modifications.  
> a lot of 
> > manually copies reminds me ant :)
> > 
> > Do you think that we should do this or it would be a better 
> solution 
> > if the war plugin also check the overriden jars?
> > 
> > ------------------------
> > Paulo Silveira
> > http://www.paulo.com.br/
> > http://www.guj.com.br/
> > 
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: segunda-feira, 24 de mar�o de 2003 19:25
> > > To: Maven Users List
> > > Subject: Re: war plugin does not work well with overriden 
> > > jars (non repository ones)?
> > > 
> > > 
> > > 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" <[EMAIL PROTECTED]> 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: [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]
> > 
> 
> 
> ---------------------------------------------------------------------
> 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