Hi ,
This is my first day with Maven :)
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.
Attached is the project.xml
But I am getting the following error when I use "maven jar" :
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.
Attempting to download commons-io-20030203.000550.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven/commons-io/jars/com
mons-io-20030203.000550.jar]: java.net.ConnectException: Connection refused: con
nect
WARNING: Failed to download commons-io-20030203.000550.jar.
Attempting to download commons-net-1.0.0.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven/commons-net/jars/co
mmons-net-1.0.0.jar]: java.net.ConnectException: Connection refused: connect
WARNING: Failed to download commons-net-1.0.0.jar.
Attempting to download commons-httpclient-2.0-beta1.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven/commons-httpclient/
jars/commons-httpclient-2.0-beta1.jar]: java.net.ConnectException: Connection re
fused: connect
WARNING: Failed to download commons-httpclient-2.0-beta1.jar.
Attempting to download commons-lang-1.0.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven/commons-lang/jars/c
ommons-lang-1.0.jar]: java.net.ConnectException: Connection refused: connect
WARNING: Failed to download commons-lang-1.0.jar.
Attempting to download jsch-0.1.5.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven/jsch/jars/jsch-0.1.
5.jar]: java.net.ConnectException: Connection refused: connect
WARNING: Failed to download jsch-0.1.5.jar.
Attempting to download commons-jelly-20030310.073407.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/
commons-jelly-20030310.073407.jar]: java.net.ConnectException: Connection refuse
d: connect
WARNING: Failed to download commons-jelly-20030310.073407.jar.
Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/
commons-jelly-tags-velocity-20030303.205659.jar]: java.net.ConnectException: Con
nection refused: connect
WARNING: Failed to download commons-jelly-tags-velocity-20030303.205659.jar.
Attempting to download velocity-1.3.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven/velocity/jars/veloc
ity-1.3.jar]: java.net.ConnectException: Connection refused: connect
WARNING: Failed to download velocity-1.3.jar.
The build cannot continue because of the following unsatisfied dependencies:
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
Total time: 18 seconds
<<project.xml>>
Can anybody please respond to my very basic query !
Thanks in advance
Yogesh
<?xml version="1.0"?>
<project>
<pomVersion>3</pomVersion>
<name>SampleMaven</name>
<id>SampleMaven</id>
<currentVersion>1.0-b4-dev</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://jakarta.apache.org/</url>
</organization>
<shortDescription>Java Project Management Tools</shortDescription>
<description>
Maven is a project management and project comprehension
tool. Maven is based on the concept of a project object
model: builds, documentation creation, site publication,
and distribution publication are all controlled from the
project object model. Maven also provides tools to
create source metrics, change logs based directly on
source repository, and source cross-references.
</description>
<mailingLists>
<mailingList>
<name>Maven User List</name>
<subscribe>
[EMAIL PROTECTED]
</subscribe>
<unsubscribe>
[EMAIL PROTECTED]
</unsubscribe>
<archive>
http://www.mail-archive.com/[EMAIL PROTECTED]/
</archive>
</mailingList>
<mailingList>
<name>Maven Developer List</name>
<subscribe>
[EMAIL PROTECTED]
</subscribe>
<unsubscribe>
[EMAIL PROTECTED]
</unsubscribe>
<archive>
http://www.mail-archive.com/[EMAIL PROTECTED]/
</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<name>Juancarlo Anez</name>
<id>juanco</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
</developer>
<developer>
<name>Yogesh Joshi</name>
<id>yogesh</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
</developer>
</developers>
<build>
<nagEmailAddress>
[EMAIL PROTECTED]
</nagEmailAddress>
<sourceDirectory>D:\SampleMaven\com\src</sourceDirectory>
<aspectSourceDirectory/>
<!-- Integration unit test cases -->
<integrationUnitTest/>
<jars>
</jars>
</build>
</project>
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]
