Hi Yes, you have to specify your proxy settings with these properties :
## ----------------------------------------------------------
## ${user.home}/build.properties
## ----------------------------------------------------------
.
.
maven.proxy.host = my.proxyserver.com
maven.proxy.port = 8080
maven.proxy.username = username
maven.proxy.password = password
.This info can be found in the user guide of maven : http://maven.apache.org/reference/user-guide.html#Properties%20Processing
Without this, maven will fail to download its required librairies to run the different plugins.
Hope this helps. Eric.
Villalba Arias, Fredy [BILBOMATICA] wrote:
Hi everybody,
I'm new to this mailing list and a newbie to MAVEN so I'll try not to make you waste much time.
I just downloaded and installed the product (as specified by the instructions on the official site) without facing any problems. However, I haven't even been able to execute the basic test, java:compile, with a single-class sample project I just created. The problem seems to be that MAVEN is not detecting certaing plugins (/components) and is trying to download them from the remote repository (HYPERLINK "http://www.ibiblio.org/"www.ibiblio.org). I believe the source of the problem (or at least part of it) relies on my machine being behind a firewall + proxy server, where the proxy is a Windows NT machine.
This is the output that I get from executing mavan java:compile
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
Intentando descargar commons-jelly-tags-antlr-20030211.143720.jar.
�ATENCION!: �Imposible descargar commons-jelly-tags-antlr-20030211.143720.jar!
Intentando descargar commons-lang-1.0.1.jar.
�ATENCION!: �Imposible descargar commons-lang-1.0.1.jar!
Intentando descargar antlr-2.7.2.jar.
�ATENCION!: �Imposible descargar antlr-2.7.2.jar!
�El proceso no puede seguir! Faltan las siguientes dependencias:
commons-jelly-tags-antlr-20030211.143720.jar (no download url specified)
commons-lang-1.0.1.jar (no download url specified)
antlr-2.7.2.jar (no download url specified)
Total time: 9 seconds
Finished at: Wed Jan 28 12:12:18 CET 2004
As you can see (sorry, it's in spanish), it tries (and fails) to download commons-jelly-tags-antlr-20030211.143720.jar, commons-lang-1.0.1.jar and antlr-2.7.2.jar.
I tried creating a build.properties file with all maven.proxy.* variables defined, but that didn't work either. I've checked all jar files that come with the installation file I just downloaded and none of them are present.
Can anyone give me a clue to what may be happening and how can I solve it? (I know there is a maven.repo.remote.enabled flag that I can turn off, but I'd still be missing some components).
Thanks in advance,
Freddy.
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
