Thanks a lot for ur valuable guidelines (Rademacher Tobias and Andy)

Following entries solved my problems:

maven.proxy.host 
maven.proxy.port 
maven.proxy.username 
maven.proxy.password 

BUT

I have one doubt:

\repository directory present under Maven installation is EMPTY and all the downloaded 
files are present under 
\User Documents and Settings\.Maven\repository directory. They are not downloaded 
under maven installation's
repository directory.

Am I missing some settings ?

Lastly, I had gone through the complete documentation of Maven but found that many of 
the tags under project.xml remained 
un expalined. Can anyone has consolidated list/meaning of the tags used in Project.xml.

I know I am asking too much but just in case anybody has it, it will be of great help 
:-)

Thanks a lot,
Regards
Yogesh








-----Original Message-----
From: Andy Jefferson [mailto:[EMAIL PROTECTED]
Sent: Thursday, 18 September 2003 8:44 PM
To: Maven Users List
Subject: Re: Need Help: First day with Maven


> This is my first day with Maven :)

Welcome :-)

> I am trying to use it for a very basic application, say, to make jar from a
> simple java class. I did the following:
> 1) Installed and set up Maven
> 2) D:\SampleMaven\com\src contains Test.java which I need to include in Jar
> 3) Set up JAVA_HOME and MAVEN_HOME.

> Attempting to download maven-SNAPSHOT.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/maven/jars/maven-SN APSHOT.jar]:
> java.net.ConnectException: Connection refused: connect WARNING: Failed to
> download maven-SNAPSHOT.jar.

Maven needs to populate its repository with various bits of software to run. 
It assumes you have a connection to go to "www.ibiblio.org/maven" to get 
these. If you haven't got internet access, or are behind a firewall (are you 
in this situation ?) you will need to set up your repository manually ... in 
the Maven install it has a repository directory, and under this are the 
various package directories

repository/"package"/jars/...

so you need to get hold of those jars mentioned below yourself (go to 
http://www.ibiblio.org/maven/ and you will find them in a similar directory 
layout), and copy them into the various package places in your Maven 
repository.

e.g
repository/commons-io/jars/commons-io-20030203.000550.jar
repository/commons-net/jars/commons-net-1.0.0.jar
etc

> maven-SNAPSHOT.jar
> commons-io-20030203.000550.jar
> commons-net-1.0.0.jar
> commons-httpclient-2.0-beta1.jar
> commons-lang-1.0.jar
> jsch-0.1.5.jar
> commons-jelly-20030310.073407.jar
> commons-jelly-tags-velocity-20030303.205659.jar
> velocity-1.3.jar


HTH
-- 
Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to