You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by C Kalyan <c....@tcs.com> on 2009/02/10 14:50:21 UTC

Issue executing the ant tasks.

Hi,

I am using the following files which are zipped for executing the maven 
tasks.

I am getting the following error:

***************************************************************************************************

C:\Test\jallure-sms-1.0\ant>call ant ear
The system cannot find the path specified.
Buildfile: build.xml
[artifact:dependencies] Downloading: 
tomcat/catalina-ant/5.0.28/catalina-ant-5.0
.28.pom
[artifact:dependencies] An error has occurred while processing the Maven 
artifac
t tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Unable to get 
dependency inf
ormation: Unable to read the metadata file for artifact 
'tomcat:catalina-ant:jar
': Error getting POM for 'tomcat:catalina-ant' from the repository: Error 
transf
erring file
[artifact:dependencies]   tomcat:catalina-ant:pom:5.0.28
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   central (http://repo1.maven.org/maven2)
[artifact:dependencies]
[artifact:dependencies]   tomcat:catalina-ant:jar:5.0.28
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   central (http://repo1.maven.org/maven2)
[artifact:dependencies] Path to dependency:
[artifact:dependencies]         1) unspecified:unspecified:jar:0.0
[artifact:dependencies]
[artifact:dependencies]
[artifact:dependencies]

BUILD FAILED
C:\Test\jallure-sms-1.0\ant\build.xml:24: The following error occurred 
while exe
cuting this line:
C:\Test\jallure-sms-1.0\ant\dependency.xml:16: Unable to resolve artifact: 
Unabl
e to get dependency information: Unable to read the metadata file for 
artifact '
tomcat:catalina-ant:jar': Error getting POM for 'tomcat:catalina-ant' from 
the r
epository: Error transferring file
  tomcat:catalina-ant:pom:5.0.28

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  tomcat:catalina-ant:jar:5.0.28

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
Path to dependency:
        1) unspecified:unspecified:jar:0.0



Total time: 18 seconds

C:\Test\jallure-sms-1.0\ant>

******************************************************************************************************

The used xml files and properties files are zipped.

Could you please help me in debugging the problem.


Thanks and regards
C. Kalyan Kumar
Tata Consultancy Services
Plot No 1, Survey No. 64/2, Software Units Layout
Serilingampally Mandal, Madhapur
Hyderabad - 500034,Andhra Pradesh
India
Mailto: c.kalyan@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you