You can check the maven users guide for info on how to layout the directories. Then add the following to your project.properties
maven.repo.remote = http://yourHost/path/to/repo, http://www.ibiblio.org/maven
Paulo Silveira wrote:
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:projec.properties:
<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
maven.jar.mail = ${basedir}/resource/nonRepositoryLibs/mail.jarrepository instance.
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
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]
--
Alex Arnell
Bravenet Web Services (www.bravenet.com)
Software Engineer
(Java Guru)
(250) 954-0856
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
