You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Aleksey Tsalolikhin <at...@gmail.com> on 2011/10/20 17:58:53 UTC

trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Hi.  I'm trying to install Ant (binary), the fetch step is not
working, I'm getting 403 Forbidden.

I also got a warning that tools.jar was not found. Is this a critical
dependency?


# ant -f fetch.xml -Ddest=system
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
Buildfile: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml

pick-dest:
     [echo] Downloading to /home/atsaloli/opt/apache-ant-1.8.2/lib

probe-m2:

download-m2:

dont-validate-m2-checksum:

validate-m2-checksum:

checksum-mismatch:

checksum-match:

get-m2:

macros:

init:

logging:

junit:

xml:

networking:

regexp:

antlr:

bcel:

jdepend:

bsf:

debugging:

jruby:

beanshell:

rhino:

script:

javamail:

jspc:
[artifact:dependencies] Downloading:
tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from
repository remote (http://repo1.maven.org/maven2/)
[artifact:dependencies] Downloading:
tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from
repository central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading:
tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from
repository remote (http://repo1.maven.org/maven2/)
[artifact:dependencies] Downloading:
tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from
repository central (http://repo1.maven.org/maven2)

jai:
[artifact:dependencies] Downloading:
javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
[artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Unable to get
dependency information: Unable to read the metadata file for artifact
'javax.media:jai-core:jar': Error getting POM for
'javax.media:jai-core' from the repository: Error transferring file
[artifact:dependencies]   javax.media:jai-core:pom:1.1.3
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   remote (http://repository.jboss.org/maven2),
[artifact:dependencies]   central (http://repo1.maven.org/maven2)
[artifact:dependencies]
[artifact:dependencies]   javax.media:jai-core:jar:1.1.3
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   remote (http://repository.jboss.org/maven2),
[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] Server returned HTTP response code 403 for URL
http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom

BUILD FAILED
/home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:309: The following error
occurred while executing this line:
/home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:116: Unable to resolve
artifact: Unable to get dependency information: Unable to read the
metadata file for artifact 'javax.media:jai-core:jar': Error getting
POM for 'javax.media:jai-core' from the repository: Error transferring
file
  javax.media:jai-core:pom:1.1.3

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

  javax.media:jai-core:jar:1.1.3

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



Total time: 20 seconds
#
Please advise?


# ant -diagnostics
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
------- Ant diagnostics report -------
Apache Ant(TM) version 1.8.2 compiled on December 20 2010

-------------------------------------------
 Implementation Version
-------------------------------------------
core tasks     : 1.8.2 in file:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar

-------------------------------------------
 ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
ant.java.version: 1.4
Is this the Apache Harmony VM? no
Is this the Kaffe VM? no
Is this gij/gcj? yes
ant.core.lib: /home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
ant.home: /home/atsaloli/opt/apache-ant-1.8.2

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /home/atsaloli/opt/apache-ant-1.8.2
js-1.6R7.jar (813521 bytes)
ant-jmf.jar (6739 bytes)
ant-apache-bcel.jar (8746 bytes)
jasper-compiler-4.1.36.jar (184124 bytes)
ant-launcher.jar (12322 bytes)
ant-apache-bsf.jar (3931 bytes)
log4j-1.2.14.jar (367444 bytes)
ant-commons-logging.jar (3913 bytes)
xalan-2.7.1.jar (3176148 bytes)
ant-commons-net.jar (85511 bytes)
ant-junit.jar (102220 bytes)
junit-4.8.1.jar (237047 bytes)
jdepend-2.9.1.jar (57933 bytes)
ant-junit4.jar (7120 bytes)
mail-1.4.jar (388864 bytes)
xml-resolver-1.2.jar (84091 bytes)
ant-apache-log4j.jar (3059 bytes)
commons-logging-api-1.1.jar (44598 bytes)
ant-apache-resolver.jar (4084 bytes)
which-1.0.jar (17398 bytes)
bsh-core-2.0b4.jar (143992 bytes)
ant-apache-xalan2.jar (2295 bytes)
asm-2.2.3.jar (34832 bytes)
ant-antlr.jar (5748 bytes)
jsch-0.1.42.jar (185746 bytes)
ant-apache-oro.jar (39638 bytes)
jasper-runtime-4.1.36.jar (72397 bytes)
maven-artifact-ant-2.0.4-dep.jar (887507 bytes)
ant-jdepend.jar (8222 bytes)
antlr-2.7.7.jar (445288 bytes)
servlet-api-2.3.jar (77977 bytes)
asm-commons-2.2.3.jar (15114 bytes)
oro-2.0.8.jar (65261 bytes)
regexp-1.3.jar (25429 bytes)
asm-tree-2.2.3.jar (16248 bytes)
regexp-1.2.jar (29871 bytes)
bcel-5.1.jar (515920 bytes)
jruby-0.9.8.jar (1683526 bytes)
serializer-2.7.1.jar (278281 bytes)
xml-apis-1.3.04.jar (194354 bytes)
ant-swing.jar (7555 bytes)
ant-apache-regexp.jar (3761 bytes)
commons-logging-1.0.4.jar (38015 bytes)
ant-netrexx.jar (10392 bytes)
commons-net-1.4.1.jar (180792 bytes)
ant-testutil.jar (15201 bytes)
ant-jsch.jar (40175 bytes)
ant-jai.jar (22265 bytes)
ant.jar (1933743 bytes)
bsf-2.4.0.jar (113369 bytes)
bsh-2.0b4.jar (281694 bytes)
ant-javamail.jar (7960 bytes)
activation-1.1.jar (62983 bytes)

-------------------------------------------
 USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: /home/atsaloli
No such directory.

-------------------------------------------
 Tasks availability
-------------------------------------------
image : Missing dependency org.apache.tools.ant.taskdefs.optional.image.Image
wlrun : Not Available (the implementation class is not present)
ddcreator : Not Available (the implementation class is not present)
wlstop : Not Available (the implementation class is not present)
starteam : Not Available (the implementation class is not present)
stcheckin : Not Available (the implementation class is not present)
stlabel : Not Available (the implementation class is not present)
stcheckout : Not Available (the implementation class is not present)
ejbc : Not Available (the implementation class is not present)
stlist : Not Available (the implementation class is not present)
A task being missing/unavailable should only matter if you are trying to use it

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
#---- BEGIN: Which report
java.class.path=/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/clas


ses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/apa


che-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-ant-


1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1.2


.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home/a


tsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-an


t-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit


4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsaloli/


opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ap


ache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/li


b/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.ja


r:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/apac


he-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1.8


.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib


/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.3.


jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/apa


che-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bce


l-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/at


saloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-ant


-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/


lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testutil.


jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apache-


ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/home


/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
java.ext.dirs=/usr/share/java/ext
java.version=1.4.2
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
Which.error=Accessing System.getProperty(...) threw:
java.lang.NullPointerException
sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
#----   END: Which report

-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : gnu.xml.stream.SAXParser
XML Parser Location: unknown
Namespace-aware parser : gnu.xml.stream.SAXParser
Namespace-aware parser Location: unknown

-------------------------------------------
 XSLT Processor information
-------------------------------------------
XSLT Processor : org.apache.xalan.transformer.TransformerIdentityImpl
XSLT Processor Location:
file:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar

-------------------------------------------
 System properties
-------------------------------------------
ant.library.dir : /home/atsaloli/opt/apache-ant-1.8.2/lib
path.separator : :
java.vm.name : GNU libgcj
java.vm.specification.name : Java(tm) Virtual Machine Specification
java.runtime.version : 1.4.2
java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
java.vm.specification.version : 1.0
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
gnu.classpath.home.url : file:///usr/lib64
gnu.classpath.version : 0.92
gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
java.specification.version : 1.4
gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo
java.library.path : /usr/lib64/gcj-4.1.2
gnu.classpath.vm.shortname : libgcj
java.class.version : 48.0
java.specification.name : Java(tm) Platform API Specification
os.version : 2.6.18-338.9.1.el5.lve0.8.32
gnu.classpath.home : /usr
user.home : /home/atsaloli
file.encoding : UTF-8
ant.home : /home/atsaloli/opt/apache-ant-1.8.2
os.name : Linux
user.name : atsaloli
java.class.path :
/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/cl


asses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/a


pache-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-an


t-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1


.2.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home


/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-


ant-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jun


it4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsalol


i/opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/


apache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/


lib/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.


jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/ap


ache-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1


.8.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/l


ib/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.


3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/a


pache-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/b


cel-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/


atsaloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-a


nt-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.


2/lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testuti


l.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apach


e-ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/ho


me/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
java.io.tmpdir : /tmp
os.arch : x86_64
java.fullversion : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
user.language : en
java.specification.vendor : Sun Microsystems Inc.
user.dir : /home/atsaloli/opt/apache-ant-1.8.2
java.vm.info : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
java.version : 1.4.2
java.ext.dirs : /usr/share/java/ext
gnu.gcj.user.realname :
sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
java.vendor : Free Software Foundation, Inc.
java.vendor.url : http://gcc.gnu.org/java/
java.vm.vendor : Free Software Foundation, Inc.
file.separator : /
java.vm.version : 4.1.2 20080704 (Red Hat 4.1.2-51)
http.agent : gnu-classpath/0.92 (libgcj/4.1.2 20080704 (Red Hat 4.1.2-51))
gnu.cpu.endian : little
gnu.gcj.precompiled.db.path : /usr/lib64/gcj-4.1.2/classmap.db
user.region : US
gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed

-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is /tmp
Temp dir is writeable
Temp dir alignment with system clock is -306 ms

-------------------------------------------
 Locale information
-------------------------------------------
Timezone GMT-05:00 offset=-14400000

-------------------------------------------
 Proxy information
-------------------------------------------

#

Best,
-at

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by Michael Ludwig <mi...@gmx.de>.
Aleksey Tsalolikhin schrieb am 20.10.2011 um 08:58 (-0700):
> Hi.  I'm trying to install Ant (binary), the fetch step is not
> working, I'm getting 403 Forbidden.
> 
> I also got a warning that tools.jar was not found. Is this a critical
> dependency?

Only if you need something from tools.jar, like the compiler task
(javac).

> [artifact:dependencies] Server returned HTTP response code 403 for URL
> http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> 
> BUILD FAILED

It looks like a problem on the server to me. Maybe it's temporary. You
can check using an HTTP client such as curl, or even your browser.

MiLu@Dago: ~ > curl -I
http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
HTTP/1.1 403 Forbidden
Date: Thu, 20 Oct 2011 18:57:25 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1

MiLu@Dago: ~ > curl -I http://repository.jboss.org/maven2/
HTTP/1.1 403 Forbidden
Date: Thu, 20 Oct 2011 18:57:30 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1


Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by "Holman, Chris" <Ch...@bskyb.com>.
If you browse the maven repository at that location, the pom file is there but the jar file is missing. Not sure if this would give a 403 error though.

Regards,
Chris Holman
LinkedIn: http://uk.linkedin.com/in/chrisdholman

-----Original Message-----
From: Aleksey Tsalolikhin [mailto:atsaloli.tech@gmail.com] 
Sent: 20 October 2011 16:59
To: user@ant.apache.org
Subject: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Hi.  I'm trying to install Ant (binary), the fetch step is not
working, I'm getting 403 Forbidden.

I also got a warning that tools.jar was not found. Is this a critical
dependency?


# ant -f fetch.xml -Ddest=system
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
Buildfile: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml

pick-dest:
     [echo] Downloading to /home/atsaloli/opt/apache-ant-1.8.2/lib

probe-m2:

download-m2:

dont-validate-m2-checksum:

validate-m2-checksum:

checksum-mismatch:

checksum-match:

get-m2:

macros:

init:

logging:

junit:

xml:

networking:

regexp:

antlr:

bcel:

jdepend:

bsf:

debugging:

jruby:

beanshell:

rhino:

script:

javamail:

jspc:
[artifact:dependencies] Downloading:
tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from
repository remote (http://repo1.maven.org/maven2/)
[artifact:dependencies] Downloading:
tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from
repository central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading:
tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from
repository remote (http://repo1.maven.org/maven2/)
[artifact:dependencies] Downloading:
tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from
repository central (http://repo1.maven.org/maven2)

jai:
[artifact:dependencies] Downloading:
javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
[artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Unable to get
dependency information: Unable to read the metadata file for artifact
'javax.media:jai-core:jar': Error getting POM for
'javax.media:jai-core' from the repository: Error transferring file
[artifact:dependencies]   javax.media:jai-core:pom:1.1.3
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   remote (http://repository.jboss.org/maven2),
[artifact:dependencies]   central (http://repo1.maven.org/maven2)
[artifact:dependencies]
[artifact:dependencies]   javax.media:jai-core:jar:1.1.3
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   remote (http://repository.jboss.org/maven2),
[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] Server returned HTTP response code 403 for URL
http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom

BUILD FAILED
/home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:309: The following error
occurred while executing this line:
/home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:116: Unable to resolve
artifact: Unable to get dependency information: Unable to read the
metadata file for artifact 'javax.media:jai-core:jar': Error getting
POM for 'javax.media:jai-core' from the repository: Error transferring
file
  javax.media:jai-core:pom:1.1.3

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

  javax.media:jai-core:jar:1.1.3

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



Total time: 20 seconds
#
Please advise?


# ant -diagnostics
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
------- Ant diagnostics report -------
Apache Ant(TM) version 1.8.2 compiled on December 20 2010

-------------------------------------------
 Implementation Version
-------------------------------------------
core tasks     : 1.8.2 in file:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar

-------------------------------------------
 ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
ant.java.version: 1.4
Is this the Apache Harmony VM? no
Is this the Kaffe VM? no
Is this gij/gcj? yes
ant.core.lib: /home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
ant.home: /home/atsaloli/opt/apache-ant-1.8.2

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /home/atsaloli/opt/apache-ant-1.8.2
js-1.6R7.jar (813521 bytes)
ant-jmf.jar (6739 bytes)
ant-apache-bcel.jar (8746 bytes)
jasper-compiler-4.1.36.jar (184124 bytes)
ant-launcher.jar (12322 bytes)
ant-apache-bsf.jar (3931 bytes)
log4j-1.2.14.jar (367444 bytes)
ant-commons-logging.jar (3913 bytes)
xalan-2.7.1.jar (3176148 bytes)
ant-commons-net.jar (85511 bytes)
ant-junit.jar (102220 bytes)
junit-4.8.1.jar (237047 bytes)
jdepend-2.9.1.jar (57933 bytes)
ant-junit4.jar (7120 bytes)
mail-1.4.jar (388864 bytes)
xml-resolver-1.2.jar (84091 bytes)
ant-apache-log4j.jar (3059 bytes)
commons-logging-api-1.1.jar (44598 bytes)
ant-apache-resolver.jar (4084 bytes)
which-1.0.jar (17398 bytes)
bsh-core-2.0b4.jar (143992 bytes)
ant-apache-xalan2.jar (2295 bytes)
asm-2.2.3.jar (34832 bytes)
ant-antlr.jar (5748 bytes)
jsch-0.1.42.jar (185746 bytes)
ant-apache-oro.jar (39638 bytes)
jasper-runtime-4.1.36.jar (72397 bytes)
maven-artifact-ant-2.0.4-dep.jar (887507 bytes)
ant-jdepend.jar (8222 bytes)
antlr-2.7.7.jar (445288 bytes)
servlet-api-2.3.jar (77977 bytes)
asm-commons-2.2.3.jar (15114 bytes)
oro-2.0.8.jar (65261 bytes)
regexp-1.3.jar (25429 bytes)
asm-tree-2.2.3.jar (16248 bytes)
regexp-1.2.jar (29871 bytes)
bcel-5.1.jar (515920 bytes)
jruby-0.9.8.jar (1683526 bytes)
serializer-2.7.1.jar (278281 bytes)
xml-apis-1.3.04.jar (194354 bytes)
ant-swing.jar (7555 bytes)
ant-apache-regexp.jar (3761 bytes)
commons-logging-1.0.4.jar (38015 bytes)
ant-netrexx.jar (10392 bytes)
commons-net-1.4.1.jar (180792 bytes)
ant-testutil.jar (15201 bytes)
ant-jsch.jar (40175 bytes)
ant-jai.jar (22265 bytes)
ant.jar (1933743 bytes)
bsf-2.4.0.jar (113369 bytes)
bsh-2.0b4.jar (281694 bytes)
ant-javamail.jar (7960 bytes)
activation-1.1.jar (62983 bytes)

-------------------------------------------
 USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: /home/atsaloli
No such directory.

-------------------------------------------
 Tasks availability
-------------------------------------------
image : Missing dependency org.apache.tools.ant.taskdefs.optional.image.Image
wlrun : Not Available (the implementation class is not present)
ddcreator : Not Available (the implementation class is not present)
wlstop : Not Available (the implementation class is not present)
starteam : Not Available (the implementation class is not present)
stcheckin : Not Available (the implementation class is not present)
stlabel : Not Available (the implementation class is not present)
stcheckout : Not Available (the implementation class is not present)
ejbc : Not Available (the implementation class is not present)
stlist : Not Available (the implementation class is not present)
A task being missing/unavailable should only matter if you are trying to use it

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
#---- BEGIN: Which report
java.class.path=/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/clas


ses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/apa


che-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-ant-


1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1.2


.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home/a


tsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-an


t-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit


4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsaloli/


opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ap


ache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/li


b/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.ja


r:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/apac


he-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1.8


.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib


/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.3.


jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/apa


che-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bce


l-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/at


saloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-ant


-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/


lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testutil.


jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apache-


ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/home


/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
java.ext.dirs=/usr/share/java/ext
java.version=1.4.2
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
Which.error=Accessing System.getProperty(...) threw:
java.lang.NullPointerException
sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
#----   END: Which report

-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : gnu.xml.stream.SAXParser
XML Parser Location: unknown
Namespace-aware parser : gnu.xml.stream.SAXParser
Namespace-aware parser Location: unknown

-------------------------------------------
 XSLT Processor information
-------------------------------------------
XSLT Processor : org.apache.xalan.transformer.TransformerIdentityImpl
XSLT Processor Location:
file:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar

-------------------------------------------
 System properties
-------------------------------------------
ant.library.dir : /home/atsaloli/opt/apache-ant-1.8.2/lib
path.separator : :
java.vm.name : GNU libgcj
java.vm.specification.name : Java(tm) Virtual Machine Specification
java.runtime.version : 1.4.2
java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
java.vm.specification.version : 1.0
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
gnu.classpath.home.url : file:///usr/lib64
gnu.classpath.version : 0.92
gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
java.specification.version : 1.4
gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo
java.library.path : /usr/lib64/gcj-4.1.2
gnu.classpath.vm.shortname : libgcj
java.class.version : 48.0
java.specification.name : Java(tm) Platform API Specification
os.version : 2.6.18-338.9.1.el5.lve0.8.32
gnu.classpath.home : /usr
user.home : /home/atsaloli
file.encoding : UTF-8
ant.home : /home/atsaloli/opt/apache-ant-1.8.2
os.name : Linux
user.name : atsaloli
java.class.path :
/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/cl


asses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/a


pache-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-an


t-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1


.2.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home


/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-


ant-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jun


it4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsalol


i/opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/


apache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/


lib/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.


jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/ap


ache-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1


.8.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/l


ib/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.


3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/a


pache-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/b


cel-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/


atsaloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-a


nt-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.


2/lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testuti


l.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apach


e-ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/ho


me/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
java.io.tmpdir : /tmp
os.arch : x86_64
java.fullversion : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
user.language : en
java.specification.vendor : Sun Microsystems Inc.
user.dir : /home/atsaloli/opt/apache-ant-1.8.2
java.vm.info : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
java.version : 1.4.2
java.ext.dirs : /usr/share/java/ext
gnu.gcj.user.realname :
sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
java.vendor : Free Software Foundation, Inc.
java.vendor.url : http://gcc.gnu.org/java/
java.vm.vendor : Free Software Foundation, Inc.
file.separator : /
java.vm.version : 4.1.2 20080704 (Red Hat 4.1.2-51)
http.agent : gnu-classpath/0.92 (libgcj/4.1.2 20080704 (Red Hat 4.1.2-51))
gnu.cpu.endian : little
gnu.gcj.precompiled.db.path : /usr/lib64/gcj-4.1.2/classmap.db
user.region : US
gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed

-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is /tmp
Temp dir is writeable
Temp dir alignment with system clock is -306 ms

-------------------------------------------
 Locale information
-------------------------------------------
Timezone GMT-05:00 offset=-14400000

-------------------------------------------
 Proxy information
-------------------------------------------

#

Best,
-at

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by Nicolas Lalevée <ni...@hibnet.org>.
Jesse found the correct url of the jboss repository:
https://repository.jboss.org/nexus/content/groups/public/

You can fix it in the build.xml. Jesse fixed it in Ant trunk [1].

Nicolas

http://svn.apache.org/viewvc?view=revision&revision=1187945

Le 24 oct. 2011 à 11:21, Holman, Chris a écrit :

> You could install a copy of Nexus (a maven repository cache) and upload your own build of that jar to your Nexus (assuming you can still download the project source)
> 
> Regards,
> Chris Holman
> 
> -----Original Message-----
> From: Nicolas Lalevée [mailto:nicolas.lalevee@hibnet.org] 
> Sent: 21 October 2011 16:35
> To: Ant Users List
> Cc: Ant Developers List
> Subject: Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden
> 
> I have search in every maven repository I know, it seems the jai-core.jar has disappeared...
> 
> Nicolas
> 
> Le 20 oct. 2011 à 17:58, Aleksey Tsalolikhin a écrit :
> 
>> Hi.  I'm trying to install Ant (binary), the fetch step is not
>> working, I'm getting 403 Forbidden.
>> 
>> I also got a warning that tools.jar was not found. Is this a critical
>> dependency?
>> 
>> 
>> # ant -f fetch.xml -Ddest=system
>> Unable to locate tools.jar. Expected to find it in
>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
>> Buildfile: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml
>> 
>> pick-dest:
>>    [echo] Downloading to /home/atsaloli/opt/apache-ant-1.8.2/lib
>> 
>> probe-m2:
>> 
>> download-m2:
>> 
>> dont-validate-m2-checksum:
>> 
>> validate-m2-checksum:
>> 
>> checksum-mismatch:
>> 
>> checksum-match:
>> 
>> get-m2:
>> 
>> macros:
>> 
>> init:
>> 
>> logging:
>> 
>> junit:
>> 
>> xml:
>> 
>> networking:
>> 
>> regexp:
>> 
>> antlr:
>> 
>> bcel:
>> 
>> jdepend:
>> 
>> bsf:
>> 
>> debugging:
>> 
>> jruby:
>> 
>> beanshell:
>> 
>> rhino:
>> 
>> script:
>> 
>> javamail:
>> 
>> jspc:
>> [artifact:dependencies] Downloading:
>> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
>> [artifact:dependencies] [WARNING] Unable to get resource from
>> repository remote (http://repo1.maven.org/maven2/)
>> [artifact:dependencies] Downloading:
>> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
>> [artifact:dependencies] [WARNING] Unable to get resource from
>> repository central (http://repo1.maven.org/maven2)
>> [artifact:dependencies] Downloading:
>> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
>> [artifact:dependencies] [WARNING] Unable to get resource from
>> repository remote (http://repo1.maven.org/maven2/)
>> [artifact:dependencies] Downloading:
>> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
>> [artifact:dependencies] [WARNING] Unable to get resource from
>> repository central (http://repo1.maven.org/maven2)
>> 
>> jai:
>> [artifact:dependencies] Downloading:
>> javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
>> [artifact:dependencies] An error has occurred while processing the
>> Maven artifact tasks.
>> [artifact:dependencies]  Diagnosis:
>> [artifact:dependencies]
>> [artifact:dependencies] Unable to resolve artifact: Unable to get
>> dependency information: Unable to read the metadata file for artifact
>> 'javax.media:jai-core:jar': Error getting POM for
>> 'javax.media:jai-core' from the repository: Error transferring file
>> [artifact:dependencies]   javax.media:jai-core:pom:1.1.3
>> [artifact:dependencies]
>> [artifact:dependencies] from the specified remote repositories:
>> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
>> [artifact:dependencies]   central (http://repo1.maven.org/maven2)
>> [artifact:dependencies]
>> [artifact:dependencies]   javax.media:jai-core:jar:1.1.3
>> [artifact:dependencies]
>> [artifact:dependencies] from the specified remote repositories:
>> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
>> [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] Server returned HTTP response code 403 for URL
>> http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
>> 
>> BUILD FAILED
>> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:309: The following error
>> occurred while executing this line:
>> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:116: Unable to resolve
>> artifact: Unable to get dependency information: Unable to read the
>> metadata file for artifact 'javax.media:jai-core:jar': Error getting
>> POM for 'javax.media:jai-core' from the repository: Error transferring
>> file
>> javax.media:jai-core:pom:1.1.3
>> 
>> from the specified remote repositories:
>> remote (http://repository.jboss.org/maven2),
>> central (http://repo1.maven.org/maven2)
>> 
>> javax.media:jai-core:jar:1.1.3
>> 
>> from the specified remote repositories:
>> remote (http://repository.jboss.org/maven2),
>> central (http://repo1.maven.org/maven2)
>> Path to dependency:
>>       1) unspecified:unspecified:jar:0.0
>> 
>> 
>> 
>> Total time: 20 seconds
>> #
>> Please advise?
>> 
>> 
>> # ant -diagnostics
>> Unable to locate tools.jar. Expected to find it in
>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
>> ------- Ant diagnostics report -------
>> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
>> 
>> -------------------------------------------
>> Implementation Version
>> -------------------------------------------
>> core tasks     : 1.8.2 in file:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
>> 
>> -------------------------------------------
>> ANT PROPERTIES
>> -------------------------------------------
>> ant.version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
>> ant.java.version: 1.4
>> Is this the Apache Harmony VM? no
>> Is this the Kaffe VM? no
>> Is this gij/gcj? yes
>> ant.core.lib: /home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
>> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
>> 
>> -------------------------------------------
>> ANT_HOME/lib jar listing
>> -------------------------------------------
>> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
>> js-1.6R7.jar (813521 bytes)
>> ant-jmf.jar (6739 bytes)
>> ant-apache-bcel.jar (8746 bytes)
>> jasper-compiler-4.1.36.jar (184124 bytes)
>> ant-launcher.jar (12322 bytes)
>> ant-apache-bsf.jar (3931 bytes)
>> log4j-1.2.14.jar (367444 bytes)
>> ant-commons-logging.jar (3913 bytes)
>> xalan-2.7.1.jar (3176148 bytes)
>> ant-commons-net.jar (85511 bytes)
>> ant-junit.jar (102220 bytes)
>> junit-4.8.1.jar (237047 bytes)
>> jdepend-2.9.1.jar (57933 bytes)
>> ant-junit4.jar (7120 bytes)
>> mail-1.4.jar (388864 bytes)
>> xml-resolver-1.2.jar (84091 bytes)
>> ant-apache-log4j.jar (3059 bytes)
>> commons-logging-api-1.1.jar (44598 bytes)
>> ant-apache-resolver.jar (4084 bytes)
>> which-1.0.jar (17398 bytes)
>> bsh-core-2.0b4.jar (143992 bytes)
>> ant-apache-xalan2.jar (2295 bytes)
>> asm-2.2.3.jar (34832 bytes)
>> ant-antlr.jar (5748 bytes)
>> jsch-0.1.42.jar (185746 bytes)
>> ant-apache-oro.jar (39638 bytes)
>> jasper-runtime-4.1.36.jar (72397 bytes)
>> maven-artifact-ant-2.0.4-dep.jar (887507 bytes)
>> ant-jdepend.jar (8222 bytes)
>> antlr-2.7.7.jar (445288 bytes)
>> servlet-api-2.3.jar (77977 bytes)
>> asm-commons-2.2.3.jar (15114 bytes)
>> oro-2.0.8.jar (65261 bytes)
>> regexp-1.3.jar (25429 bytes)
>> asm-tree-2.2.3.jar (16248 bytes)
>> regexp-1.2.jar (29871 bytes)
>> bcel-5.1.jar (515920 bytes)
>> jruby-0.9.8.jar (1683526 bytes)
>> serializer-2.7.1.jar (278281 bytes)
>> xml-apis-1.3.04.jar (194354 bytes)
>> ant-swing.jar (7555 bytes)
>> ant-apache-regexp.jar (3761 bytes)
>> commons-logging-1.0.4.jar (38015 bytes)
>> ant-netrexx.jar (10392 bytes)
>> commons-net-1.4.1.jar (180792 bytes)
>> ant-testutil.jar (15201 bytes)
>> ant-jsch.jar (40175 bytes)
>> ant-jai.jar (22265 bytes)
>> ant.jar (1933743 bytes)
>> bsf-2.4.0.jar (113369 bytes)
>> bsh-2.0b4.jar (281694 bytes)
>> ant-javamail.jar (7960 bytes)
>> activation-1.1.jar (62983 bytes)
>> 
>> -------------------------------------------
>> USER_HOME/.ant/lib jar listing
>> -------------------------------------------
>> user.home: /home/atsaloli
>> No such directory.
>> 
>> -------------------------------------------
>> Tasks availability
>> -------------------------------------------
>> image : Missing dependency org.apache.tools.ant.taskdefs.optional.image.Image
>> wlrun : Not Available (the implementation class is not present)
>> ddcreator : Not Available (the implementation class is not present)
>> wlstop : Not Available (the implementation class is not present)
>> starteam : Not Available (the implementation class is not present)
>> stcheckin : Not Available (the implementation class is not present)
>> stlabel : Not Available (the implementation class is not present)
>> stcheckout : Not Available (the implementation class is not present)
>> ejbc : Not Available (the implementation class is not present)
>> stlist : Not Available (the implementation class is not present)
>> A task being missing/unavailable should only matter if you are trying to use it
>> 
>> -------------------------------------------
>> org.apache.env.Which diagnostics
>> -------------------------------------------
>> #---- BEGIN: Which report
>> java.class.path=/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/clas
>> 
>> 
>> ses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/apa
>> 
>> 
>> che-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-ant-
>> 
>> 
>> 1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1.2
>> 
>> 
>> .14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home/a
>> 
>> 
>> tsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-an
>> 
>> 
>> t-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit
>> 
>> 
>> 4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsaloli/
>> 
>> 
>> opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ap
>> 
>> 
>> ache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/li
>> 
>> 
>> b/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.ja
>> 
>> 
>> r:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/apac
>> 
>> 
>> he-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1.8
>> 
>> 
>> .2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib
>> 
>> 
>> /antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.3.
>> 
>> 
>> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/apa
>> 
>> 
>> che-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bce
>> 
>> 
>> l-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/at
>> 
>> 
>> saloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-ant
>> 
>> 
>> -1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/
>> 
>> 
>> lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testutil.
>> 
>> 
>> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apache-
>> 
>> 
>> ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/home
>> 
>> 
>> /atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
>> java.ext.dirs=/usr/share/java/ext
>> java.version=1.4.2
>> Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
>> Which.error=Accessing System.getProperty(...) threw:
>> java.lang.NullPointerException
>> sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
>> #----   END: Which report
>> 
>> -------------------------------------------
>> XML Parser information
>> -------------------------------------------
>> XML Parser : gnu.xml.stream.SAXParser
>> XML Parser Location: unknown
>> Namespace-aware parser : gnu.xml.stream.SAXParser
>> Namespace-aware parser Location: unknown
>> 
>> -------------------------------------------
>> XSLT Processor information
>> -------------------------------------------
>> XSLT Processor : org.apache.xalan.transformer.TransformerIdentityImpl
>> XSLT Processor Location:
>> file:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar
>> 
>> -------------------------------------------
>> System properties
>> -------------------------------------------
>> ant.library.dir : /home/atsaloli/opt/apache-ant-1.8.2/lib
>> path.separator : :
>> java.vm.name : GNU libgcj
>> java.vm.specification.name : Java(tm) Virtual Machine Specification
>> java.runtime.version : 1.4.2
>> java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
>> java.vm.specification.version : 1.0
>> line.separator :
>> 
>> java.vm.specification.vendor : Sun Microsystems Inc.
>> gnu.classpath.home.url : file:///usr/lib64
>> gnu.classpath.version : 0.92
>> gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
>> java.specification.version : 1.4
>> gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo
>> java.library.path : /usr/lib64/gcj-4.1.2
>> gnu.classpath.vm.shortname : libgcj
>> java.class.version : 48.0
>> java.specification.name : Java(tm) Platform API Specification
>> os.version : 2.6.18-338.9.1.el5.lve0.8.32
>> gnu.classpath.home : /usr
>> user.home : /home/atsaloli
>> file.encoding : UTF-8
>> ant.home : /home/atsaloli/opt/apache-ant-1.8.2
>> os.name : Linux
>> user.name : atsaloli
>> java.class.path :
>> /home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/cl
>> 
>> 
>> asses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/a
>> 
>> 
>> pache-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-an
>> 
>> 
>> t-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1
>> 
>> 
>> .2.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home
>> 
>> 
>> /atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-
>> 
>> 
>> ant-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jun
>> 
>> 
>> it4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsalol
>> 
>> 
>> i/opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/
>> 
>> 
>> apache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/
>> 
>> 
>> lib/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.
>> 
>> 
>> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/ap
>> 
>> 
>> ache-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1
>> 
>> 
>> .8.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/l
>> 
>> 
>> ib/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.
>> 
>> 
>> 3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/a
>> 
>> 
>> pache-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/b
>> 
>> 
>> cel-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/
>> 
>> 
>> atsaloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-a
>> 
>> 
>> nt-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.
>> 
>> 
>> 2/lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testuti
>> 
>> 
>> l.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apach
>> 
>> 
>> e-ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/ho
>> 
>> 
>> me/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
>> java.io.tmpdir : /tmp
>> os.arch : x86_64
>> java.fullversion : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
>> user.language : en
>> java.specification.vendor : Sun Microsystems Inc.
>> user.dir : /home/atsaloli/opt/apache-ant-1.8.2
>> java.vm.info : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
>> java.version : 1.4.2
>> java.ext.dirs : /usr/share/java/ext
>> gnu.gcj.user.realname :
>> sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
>> java.vendor : Free Software Foundation, Inc.
>> java.vendor.url : http://gcc.gnu.org/java/
>> java.vm.vendor : Free Software Foundation, Inc.
>> file.separator : /
>> java.vm.version : 4.1.2 20080704 (Red Hat 4.1.2-51)
>> http.agent : gnu-classpath/0.92 (libgcj/4.1.2 20080704 (Red Hat 4.1.2-51))
>> gnu.cpu.endian : little
>> gnu.gcj.precompiled.db.path : /usr/lib64/gcj-4.1.2/classmap.db
>> user.region : US
>> gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed
>> 
>> -------------------------------------------
>> Temp dir
>> -------------------------------------------
>> Temp dir is /tmp
>> Temp dir is writeable
>> Temp dir alignment with system clock is -306 ms
>> 
>> -------------------------------------------
>> Locale information
>> -------------------------------------------
>> Timezone GMT-05:00 offset=-14400000
>> 
>> -------------------------------------------
>> Proxy information
>> -------------------------------------------
>> 
>> #
>> 
>> Best,
>> -at
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by "Holman, Chris" <Ch...@bskyb.com>.
You could install a copy of Nexus (a maven repository cache) and upload your own build of that jar to your Nexus (assuming you can still download the project source)

Regards,
Chris Holman

-----Original Message-----
From: Nicolas Lalevée [mailto:nicolas.lalevee@hibnet.org] 
Sent: 21 October 2011 16:35
To: Ant Users List
Cc: Ant Developers List
Subject: Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

I have search in every maven repository I know, it seems the jai-core.jar has disappeared...

Nicolas

Le 20 oct. 2011 à 17:58, Aleksey Tsalolikhin a écrit :

> Hi.  I'm trying to install Ant (binary), the fetch step is not
> working, I'm getting 403 Forbidden.
> 
> I also got a warning that tools.jar was not found. Is this a critical
> dependency?
> 
> 
> # ant -f fetch.xml -Ddest=system
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
> Buildfile: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml
> 
> pick-dest:
>     [echo] Downloading to /home/atsaloli/opt/apache-ant-1.8.2/lib
> 
> probe-m2:
> 
> download-m2:
> 
> dont-validate-m2-checksum:
> 
> validate-m2-checksum:
> 
> checksum-mismatch:
> 
> checksum-match:
> 
> get-m2:
> 
> macros:
> 
> init:
> 
> logging:
> 
> junit:
> 
> xml:
> 
> networking:
> 
> regexp:
> 
> antlr:
> 
> bcel:
> 
> jdepend:
> 
> bsf:
> 
> debugging:
> 
> jruby:
> 
> beanshell:
> 
> rhino:
> 
> script:
> 
> javamail:
> 
> jspc:
> [artifact:dependencies] Downloading:
> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository remote (http://repo1.maven.org/maven2/)
> [artifact:dependencies] Downloading:
> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> [artifact:dependencies] Downloading:
> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository remote (http://repo1.maven.org/maven2/)
> [artifact:dependencies] Downloading:
> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> 
> jai:
> [artifact:dependencies] Downloading:
> javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> [artifact:dependencies] An error has occurred while processing the
> Maven artifact tasks.
> [artifact:dependencies]  Diagnosis:
> [artifact:dependencies]
> [artifact:dependencies] Unable to resolve artifact: Unable to get
> dependency information: Unable to read the metadata file for artifact
> 'javax.media:jai-core:jar': Error getting POM for
> 'javax.media:jai-core' from the repository: Error transferring file
> [artifact:dependencies]   javax.media:jai-core:pom:1.1.3
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
> [artifact:dependencies]   central (http://repo1.maven.org/maven2)
> [artifact:dependencies]
> [artifact:dependencies]   javax.media:jai-core:jar:1.1.3
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
> [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] Server returned HTTP response code 403 for URL
> http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> 
> BUILD FAILED
> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:309: The following error
> occurred while executing this line:
> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:116: Unable to resolve
> artifact: Unable to get dependency information: Unable to read the
> metadata file for artifact 'javax.media:jai-core:jar': Error getting
> POM for 'javax.media:jai-core' from the repository: Error transferring
> file
>  javax.media:jai-core:pom:1.1.3
> 
> from the specified remote repositories:
>  remote (http://repository.jboss.org/maven2),
>  central (http://repo1.maven.org/maven2)
> 
>  javax.media:jai-core:jar:1.1.3
> 
> from the specified remote repositories:
>  remote (http://repository.jboss.org/maven2),
>  central (http://repo1.maven.org/maven2)
> Path to dependency:
>        1) unspecified:unspecified:jar:0.0
> 
> 
> 
> Total time: 20 seconds
> #
> Please advise?
> 
> 
> # ant -diagnostics
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
> ------- Ant diagnostics report -------
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> 
> -------------------------------------------
> Implementation Version
> -------------------------------------------
> core tasks     : 1.8.2 in file:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
> 
> -------------------------------------------
> ANT PROPERTIES
> -------------------------------------------
> ant.version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> ant.java.version: 1.4
> Is this the Apache Harmony VM? no
> Is this the Kaffe VM? no
> Is this gij/gcj? yes
> ant.core.lib: /home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
> 
> -------------------------------------------
> ANT_HOME/lib jar listing
> -------------------------------------------
> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
> js-1.6R7.jar (813521 bytes)
> ant-jmf.jar (6739 bytes)
> ant-apache-bcel.jar (8746 bytes)
> jasper-compiler-4.1.36.jar (184124 bytes)
> ant-launcher.jar (12322 bytes)
> ant-apache-bsf.jar (3931 bytes)
> log4j-1.2.14.jar (367444 bytes)
> ant-commons-logging.jar (3913 bytes)
> xalan-2.7.1.jar (3176148 bytes)
> ant-commons-net.jar (85511 bytes)
> ant-junit.jar (102220 bytes)
> junit-4.8.1.jar (237047 bytes)
> jdepend-2.9.1.jar (57933 bytes)
> ant-junit4.jar (7120 bytes)
> mail-1.4.jar (388864 bytes)
> xml-resolver-1.2.jar (84091 bytes)
> ant-apache-log4j.jar (3059 bytes)
> commons-logging-api-1.1.jar (44598 bytes)
> ant-apache-resolver.jar (4084 bytes)
> which-1.0.jar (17398 bytes)
> bsh-core-2.0b4.jar (143992 bytes)
> ant-apache-xalan2.jar (2295 bytes)
> asm-2.2.3.jar (34832 bytes)
> ant-antlr.jar (5748 bytes)
> jsch-0.1.42.jar (185746 bytes)
> ant-apache-oro.jar (39638 bytes)
> jasper-runtime-4.1.36.jar (72397 bytes)
> maven-artifact-ant-2.0.4-dep.jar (887507 bytes)
> ant-jdepend.jar (8222 bytes)
> antlr-2.7.7.jar (445288 bytes)
> servlet-api-2.3.jar (77977 bytes)
> asm-commons-2.2.3.jar (15114 bytes)
> oro-2.0.8.jar (65261 bytes)
> regexp-1.3.jar (25429 bytes)
> asm-tree-2.2.3.jar (16248 bytes)
> regexp-1.2.jar (29871 bytes)
> bcel-5.1.jar (515920 bytes)
> jruby-0.9.8.jar (1683526 bytes)
> serializer-2.7.1.jar (278281 bytes)
> xml-apis-1.3.04.jar (194354 bytes)
> ant-swing.jar (7555 bytes)
> ant-apache-regexp.jar (3761 bytes)
> commons-logging-1.0.4.jar (38015 bytes)
> ant-netrexx.jar (10392 bytes)
> commons-net-1.4.1.jar (180792 bytes)
> ant-testutil.jar (15201 bytes)
> ant-jsch.jar (40175 bytes)
> ant-jai.jar (22265 bytes)
> ant.jar (1933743 bytes)
> bsf-2.4.0.jar (113369 bytes)
> bsh-2.0b4.jar (281694 bytes)
> ant-javamail.jar (7960 bytes)
> activation-1.1.jar (62983 bytes)
> 
> -------------------------------------------
> USER_HOME/.ant/lib jar listing
> -------------------------------------------
> user.home: /home/atsaloli
> No such directory.
> 
> -------------------------------------------
> Tasks availability
> -------------------------------------------
> image : Missing dependency org.apache.tools.ant.taskdefs.optional.image.Image
> wlrun : Not Available (the implementation class is not present)
> ddcreator : Not Available (the implementation class is not present)
> wlstop : Not Available (the implementation class is not present)
> starteam : Not Available (the implementation class is not present)
> stcheckin : Not Available (the implementation class is not present)
> stlabel : Not Available (the implementation class is not present)
> stcheckout : Not Available (the implementation class is not present)
> ejbc : Not Available (the implementation class is not present)
> stlist : Not Available (the implementation class is not present)
> A task being missing/unavailable should only matter if you are trying to use it
> 
> -------------------------------------------
> org.apache.env.Which diagnostics
> -------------------------------------------
> #---- BEGIN: Which report
> java.class.path=/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/clas
> 
> 
> ses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/apa
> 
> 
> che-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-ant-
> 
> 
> 1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1.2
> 
> 
> .14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home/a
> 
> 
> tsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-an
> 
> 
> t-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit
> 
> 
> 4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsaloli/
> 
> 
> opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ap
> 
> 
> ache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/li
> 
> 
> b/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.ja
> 
> 
> r:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/apac
> 
> 
> he-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1.8
> 
> 
> .2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib
> 
> 
> /antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.3.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/apa
> 
> 
> che-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bce
> 
> 
> l-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/at
> 
> 
> saloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-ant
> 
> 
> -1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/
> 
> 
> lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testutil.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apache-
> 
> 
> ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/home
> 
> 
> /atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
> java.ext.dirs=/usr/share/java/ext
> java.version=1.4.2
> Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
> Which.error=Accessing System.getProperty(...) threw:
> java.lang.NullPointerException
> sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> #----   END: Which report
> 
> -------------------------------------------
> XML Parser information
> -------------------------------------------
> XML Parser : gnu.xml.stream.SAXParser
> XML Parser Location: unknown
> Namespace-aware parser : gnu.xml.stream.SAXParser
> Namespace-aware parser Location: unknown
> 
> -------------------------------------------
> XSLT Processor information
> -------------------------------------------
> XSLT Processor : org.apache.xalan.transformer.TransformerIdentityImpl
> XSLT Processor Location:
> file:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar
> 
> -------------------------------------------
> System properties
> -------------------------------------------
> ant.library.dir : /home/atsaloli/opt/apache-ant-1.8.2/lib
> path.separator : :
> java.vm.name : GNU libgcj
> java.vm.specification.name : Java(tm) Virtual Machine Specification
> java.runtime.version : 1.4.2
> java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> java.vm.specification.version : 1.0
> line.separator :
> 
> java.vm.specification.vendor : Sun Microsystems Inc.
> gnu.classpath.home.url : file:///usr/lib64
> gnu.classpath.version : 0.92
> gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
> java.specification.version : 1.4
> gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo
> java.library.path : /usr/lib64/gcj-4.1.2
> gnu.classpath.vm.shortname : libgcj
> java.class.version : 48.0
> java.specification.name : Java(tm) Platform API Specification
> os.version : 2.6.18-338.9.1.el5.lve0.8.32
> gnu.classpath.home : /usr
> user.home : /home/atsaloli
> file.encoding : UTF-8
> ant.home : /home/atsaloli/opt/apache-ant-1.8.2
> os.name : Linux
> user.name : atsaloli
> java.class.path :
> /home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/cl
> 
> 
> asses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/a
> 
> 
> pache-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-an
> 
> 
> t-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1
> 
> 
> .2.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home
> 
> 
> /atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-
> 
> 
> ant-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jun
> 
> 
> it4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsalol
> 
> 
> i/opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/
> 
> 
> apache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/
> 
> 
> lib/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/ap
> 
> 
> ache-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1
> 
> 
> .8.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/l
> 
> 
> ib/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.
> 
> 
> 3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/a
> 
> 
> pache-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/b
> 
> 
> cel-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/
> 
> 
> atsaloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-a
> 
> 
> nt-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.
> 
> 
> 2/lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testuti
> 
> 
> l.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apach
> 
> 
> e-ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/ho
> 
> 
> me/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
> java.io.tmpdir : /tmp
> os.arch : x86_64
> java.fullversion : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
> user.language : en
> java.specification.vendor : Sun Microsystems Inc.
> user.dir : /home/atsaloli/opt/apache-ant-1.8.2
> java.vm.info : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
> java.version : 1.4.2
> java.ext.dirs : /usr/share/java/ext
> gnu.gcj.user.realname :
> sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> java.vendor : Free Software Foundation, Inc.
> java.vendor.url : http://gcc.gnu.org/java/
> java.vm.vendor : Free Software Foundation, Inc.
> file.separator : /
> java.vm.version : 4.1.2 20080704 (Red Hat 4.1.2-51)
> http.agent : gnu-classpath/0.92 (libgcj/4.1.2 20080704 (Red Hat 4.1.2-51))
> gnu.cpu.endian : little
> gnu.gcj.precompiled.db.path : /usr/lib64/gcj-4.1.2/classmap.db
> user.region : US
> gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed
> 
> -------------------------------------------
> Temp dir
> -------------------------------------------
> Temp dir is /tmp
> Temp dir is writeable
> Temp dir alignment with system clock is -306 ms
> 
> -------------------------------------------
> Locale information
> -------------------------------------------
> Timezone GMT-05:00 offset=-14400000
> 
> -------------------------------------------
> Proxy information
> -------------------------------------------
> 
> #
> 
> Best,
> -at
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


RE: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by "Holman, Chris" <Ch...@bskyb.com>.
You could install a copy of Nexus (a maven repository cache) and upload your own build of that jar to your Nexus (assuming you can still download the project source)

Regards,
Chris Holman

-----Original Message-----
From: Nicolas Lalevée [mailto:nicolas.lalevee@hibnet.org] 
Sent: 21 October 2011 16:35
To: Ant Users List
Cc: Ant Developers List
Subject: Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

I have search in every maven repository I know, it seems the jai-core.jar has disappeared...

Nicolas

Le 20 oct. 2011 à 17:58, Aleksey Tsalolikhin a écrit :

> Hi.  I'm trying to install Ant (binary), the fetch step is not
> working, I'm getting 403 Forbidden.
> 
> I also got a warning that tools.jar was not found. Is this a critical
> dependency?
> 
> 
> # ant -f fetch.xml -Ddest=system
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
> Buildfile: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml
> 
> pick-dest:
>     [echo] Downloading to /home/atsaloli/opt/apache-ant-1.8.2/lib
> 
> probe-m2:
> 
> download-m2:
> 
> dont-validate-m2-checksum:
> 
> validate-m2-checksum:
> 
> checksum-mismatch:
> 
> checksum-match:
> 
> get-m2:
> 
> macros:
> 
> init:
> 
> logging:
> 
> junit:
> 
> xml:
> 
> networking:
> 
> regexp:
> 
> antlr:
> 
> bcel:
> 
> jdepend:
> 
> bsf:
> 
> debugging:
> 
> jruby:
> 
> beanshell:
> 
> rhino:
> 
> script:
> 
> javamail:
> 
> jspc:
> [artifact:dependencies] Downloading:
> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository remote (http://repo1.maven.org/maven2/)
> [artifact:dependencies] Downloading:
> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> [artifact:dependencies] Downloading:
> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository remote (http://repo1.maven.org/maven2/)
> [artifact:dependencies] Downloading:
> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> 
> jai:
> [artifact:dependencies] Downloading:
> javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> [artifact:dependencies] An error has occurred while processing the
> Maven artifact tasks.
> [artifact:dependencies]  Diagnosis:
> [artifact:dependencies]
> [artifact:dependencies] Unable to resolve artifact: Unable to get
> dependency information: Unable to read the metadata file for artifact
> 'javax.media:jai-core:jar': Error getting POM for
> 'javax.media:jai-core' from the repository: Error transferring file
> [artifact:dependencies]   javax.media:jai-core:pom:1.1.3
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
> [artifact:dependencies]   central (http://repo1.maven.org/maven2)
> [artifact:dependencies]
> [artifact:dependencies]   javax.media:jai-core:jar:1.1.3
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
> [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] Server returned HTTP response code 403 for URL
> http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> 
> BUILD FAILED
> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:309: The following error
> occurred while executing this line:
> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:116: Unable to resolve
> artifact: Unable to get dependency information: Unable to read the
> metadata file for artifact 'javax.media:jai-core:jar': Error getting
> POM for 'javax.media:jai-core' from the repository: Error transferring
> file
>  javax.media:jai-core:pom:1.1.3
> 
> from the specified remote repositories:
>  remote (http://repository.jboss.org/maven2),
>  central (http://repo1.maven.org/maven2)
> 
>  javax.media:jai-core:jar:1.1.3
> 
> from the specified remote repositories:
>  remote (http://repository.jboss.org/maven2),
>  central (http://repo1.maven.org/maven2)
> Path to dependency:
>        1) unspecified:unspecified:jar:0.0
> 
> 
> 
> Total time: 20 seconds
> #
> Please advise?
> 
> 
> # ant -diagnostics
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
> ------- Ant diagnostics report -------
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> 
> -------------------------------------------
> Implementation Version
> -------------------------------------------
> core tasks     : 1.8.2 in file:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
> 
> -------------------------------------------
> ANT PROPERTIES
> -------------------------------------------
> ant.version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> ant.java.version: 1.4
> Is this the Apache Harmony VM? no
> Is this the Kaffe VM? no
> Is this gij/gcj? yes
> ant.core.lib: /home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
> 
> -------------------------------------------
> ANT_HOME/lib jar listing
> -------------------------------------------
> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
> js-1.6R7.jar (813521 bytes)
> ant-jmf.jar (6739 bytes)
> ant-apache-bcel.jar (8746 bytes)
> jasper-compiler-4.1.36.jar (184124 bytes)
> ant-launcher.jar (12322 bytes)
> ant-apache-bsf.jar (3931 bytes)
> log4j-1.2.14.jar (367444 bytes)
> ant-commons-logging.jar (3913 bytes)
> xalan-2.7.1.jar (3176148 bytes)
> ant-commons-net.jar (85511 bytes)
> ant-junit.jar (102220 bytes)
> junit-4.8.1.jar (237047 bytes)
> jdepend-2.9.1.jar (57933 bytes)
> ant-junit4.jar (7120 bytes)
> mail-1.4.jar (388864 bytes)
> xml-resolver-1.2.jar (84091 bytes)
> ant-apache-log4j.jar (3059 bytes)
> commons-logging-api-1.1.jar (44598 bytes)
> ant-apache-resolver.jar (4084 bytes)
> which-1.0.jar (17398 bytes)
> bsh-core-2.0b4.jar (143992 bytes)
> ant-apache-xalan2.jar (2295 bytes)
> asm-2.2.3.jar (34832 bytes)
> ant-antlr.jar (5748 bytes)
> jsch-0.1.42.jar (185746 bytes)
> ant-apache-oro.jar (39638 bytes)
> jasper-runtime-4.1.36.jar (72397 bytes)
> maven-artifact-ant-2.0.4-dep.jar (887507 bytes)
> ant-jdepend.jar (8222 bytes)
> antlr-2.7.7.jar (445288 bytes)
> servlet-api-2.3.jar (77977 bytes)
> asm-commons-2.2.3.jar (15114 bytes)
> oro-2.0.8.jar (65261 bytes)
> regexp-1.3.jar (25429 bytes)
> asm-tree-2.2.3.jar (16248 bytes)
> regexp-1.2.jar (29871 bytes)
> bcel-5.1.jar (515920 bytes)
> jruby-0.9.8.jar (1683526 bytes)
> serializer-2.7.1.jar (278281 bytes)
> xml-apis-1.3.04.jar (194354 bytes)
> ant-swing.jar (7555 bytes)
> ant-apache-regexp.jar (3761 bytes)
> commons-logging-1.0.4.jar (38015 bytes)
> ant-netrexx.jar (10392 bytes)
> commons-net-1.4.1.jar (180792 bytes)
> ant-testutil.jar (15201 bytes)
> ant-jsch.jar (40175 bytes)
> ant-jai.jar (22265 bytes)
> ant.jar (1933743 bytes)
> bsf-2.4.0.jar (113369 bytes)
> bsh-2.0b4.jar (281694 bytes)
> ant-javamail.jar (7960 bytes)
> activation-1.1.jar (62983 bytes)
> 
> -------------------------------------------
> USER_HOME/.ant/lib jar listing
> -------------------------------------------
> user.home: /home/atsaloli
> No such directory.
> 
> -------------------------------------------
> Tasks availability
> -------------------------------------------
> image : Missing dependency org.apache.tools.ant.taskdefs.optional.image.Image
> wlrun : Not Available (the implementation class is not present)
> ddcreator : Not Available (the implementation class is not present)
> wlstop : Not Available (the implementation class is not present)
> starteam : Not Available (the implementation class is not present)
> stcheckin : Not Available (the implementation class is not present)
> stlabel : Not Available (the implementation class is not present)
> stcheckout : Not Available (the implementation class is not present)
> ejbc : Not Available (the implementation class is not present)
> stlist : Not Available (the implementation class is not present)
> A task being missing/unavailable should only matter if you are trying to use it
> 
> -------------------------------------------
> org.apache.env.Which diagnostics
> -------------------------------------------
> #---- BEGIN: Which report
> java.class.path=/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/clas
> 
> 
> ses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/apa
> 
> 
> che-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-ant-
> 
> 
> 1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1.2
> 
> 
> .14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home/a
> 
> 
> tsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-an
> 
> 
> t-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit
> 
> 
> 4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsaloli/
> 
> 
> opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ap
> 
> 
> ache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/li
> 
> 
> b/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.ja
> 
> 
> r:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/apac
> 
> 
> he-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1.8
> 
> 
> .2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib
> 
> 
> /antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.3.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/apa
> 
> 
> che-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bce
> 
> 
> l-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/at
> 
> 
> saloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-ant
> 
> 
> -1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/
> 
> 
> lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testutil.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apache-
> 
> 
> ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/home
> 
> 
> /atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
> java.ext.dirs=/usr/share/java/ext
> java.version=1.4.2
> Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
> Which.error=Accessing System.getProperty(...) threw:
> java.lang.NullPointerException
> sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> #----   END: Which report
> 
> -------------------------------------------
> XML Parser information
> -------------------------------------------
> XML Parser : gnu.xml.stream.SAXParser
> XML Parser Location: unknown
> Namespace-aware parser : gnu.xml.stream.SAXParser
> Namespace-aware parser Location: unknown
> 
> -------------------------------------------
> XSLT Processor information
> -------------------------------------------
> XSLT Processor : org.apache.xalan.transformer.TransformerIdentityImpl
> XSLT Processor Location:
> file:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar
> 
> -------------------------------------------
> System properties
> -------------------------------------------
> ant.library.dir : /home/atsaloli/opt/apache-ant-1.8.2/lib
> path.separator : :
> java.vm.name : GNU libgcj
> java.vm.specification.name : Java(tm) Virtual Machine Specification
> java.runtime.version : 1.4.2
> java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> java.vm.specification.version : 1.0
> line.separator :
> 
> java.vm.specification.vendor : Sun Microsystems Inc.
> gnu.classpath.home.url : file:///usr/lib64
> gnu.classpath.version : 0.92
> gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
> java.specification.version : 1.4
> gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo
> java.library.path : /usr/lib64/gcj-4.1.2
> gnu.classpath.vm.shortname : libgcj
> java.class.version : 48.0
> java.specification.name : Java(tm) Platform API Specification
> os.version : 2.6.18-338.9.1.el5.lve0.8.32
> gnu.classpath.home : /usr
> user.home : /home/atsaloli
> file.encoding : UTF-8
> ant.home : /home/atsaloli/opt/apache-ant-1.8.2
> os.name : Linux
> user.name : atsaloli
> java.class.path :
> /home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/cl
> 
> 
> asses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/a
> 
> 
> pache-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-an
> 
> 
> t-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1
> 
> 
> .2.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home
> 
> 
> /atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-
> 
> 
> ant-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jun
> 
> 
> it4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsalol
> 
> 
> i/opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/
> 
> 
> apache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/
> 
> 
> lib/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/ap
> 
> 
> ache-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1
> 
> 
> .8.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/l
> 
> 
> ib/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.
> 
> 
> 3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/a
> 
> 
> pache-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/b
> 
> 
> cel-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/
> 
> 
> atsaloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-a
> 
> 
> nt-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.
> 
> 
> 2/lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testuti
> 
> 
> l.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apach
> 
> 
> e-ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/ho
> 
> 
> me/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
> java.io.tmpdir : /tmp
> os.arch : x86_64
> java.fullversion : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
> user.language : en
> java.specification.vendor : Sun Microsystems Inc.
> user.dir : /home/atsaloli/opt/apache-ant-1.8.2
> java.vm.info : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
> java.version : 1.4.2
> java.ext.dirs : /usr/share/java/ext
> gnu.gcj.user.realname :
> sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> java.vendor : Free Software Foundation, Inc.
> java.vendor.url : http://gcc.gnu.org/java/
> java.vm.vendor : Free Software Foundation, Inc.
> file.separator : /
> java.vm.version : 4.1.2 20080704 (Red Hat 4.1.2-51)
> http.agent : gnu-classpath/0.92 (libgcj/4.1.2 20080704 (Red Hat 4.1.2-51))
> gnu.cpu.endian : little
> gnu.gcj.precompiled.db.path : /usr/lib64/gcj-4.1.2/classmap.db
> user.region : US
> gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed
> 
> -------------------------------------------
> Temp dir
> -------------------------------------------
> Temp dir is /tmp
> Temp dir is writeable
> Temp dir alignment with system clock is -306 ms
> 
> -------------------------------------------
> Locale information
> -------------------------------------------
> Timezone GMT-05:00 offset=-14400000
> 
> -------------------------------------------
> Proxy information
> -------------------------------------------
> 
> #
> 
> Best,
> -at
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by Nicolas Lalevée <ni...@hibnet.org>.
I have search in every maven repository I know, it seems the jai-core.jar has disappeared...

Nicolas

Le 20 oct. 2011 à 17:58, Aleksey Tsalolikhin a écrit :

> Hi.  I'm trying to install Ant (binary), the fetch step is not
> working, I'm getting 403 Forbidden.
> 
> I also got a warning that tools.jar was not found. Is this a critical
> dependency?
> 
> 
> # ant -f fetch.xml -Ddest=system
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
> Buildfile: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml
> 
> pick-dest:
>     [echo] Downloading to /home/atsaloli/opt/apache-ant-1.8.2/lib
> 
> probe-m2:
> 
> download-m2:
> 
> dont-validate-m2-checksum:
> 
> validate-m2-checksum:
> 
> checksum-mismatch:
> 
> checksum-match:
> 
> get-m2:
> 
> macros:
> 
> init:
> 
> logging:
> 
> junit:
> 
> xml:
> 
> networking:
> 
> regexp:
> 
> antlr:
> 
> bcel:
> 
> jdepend:
> 
> bsf:
> 
> debugging:
> 
> jruby:
> 
> beanshell:
> 
> rhino:
> 
> script:
> 
> javamail:
> 
> jspc:
> [artifact:dependencies] Downloading:
> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository remote (http://repo1.maven.org/maven2/)
> [artifact:dependencies] Downloading:
> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> [artifact:dependencies] Downloading:
> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository remote (http://repo1.maven.org/maven2/)
> [artifact:dependencies] Downloading:
> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> 
> jai:
> [artifact:dependencies] Downloading:
> javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> [artifact:dependencies] An error has occurred while processing the
> Maven artifact tasks.
> [artifact:dependencies]  Diagnosis:
> [artifact:dependencies]
> [artifact:dependencies] Unable to resolve artifact: Unable to get
> dependency information: Unable to read the metadata file for artifact
> 'javax.media:jai-core:jar': Error getting POM for
> 'javax.media:jai-core' from the repository: Error transferring file
> [artifact:dependencies]   javax.media:jai-core:pom:1.1.3
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
> [artifact:dependencies]   central (http://repo1.maven.org/maven2)
> [artifact:dependencies]
> [artifact:dependencies]   javax.media:jai-core:jar:1.1.3
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
> [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] Server returned HTTP response code 403 for URL
> http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> 
> BUILD FAILED
> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:309: The following error
> occurred while executing this line:
> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:116: Unable to resolve
> artifact: Unable to get dependency information: Unable to read the
> metadata file for artifact 'javax.media:jai-core:jar': Error getting
> POM for 'javax.media:jai-core' from the repository: Error transferring
> file
>  javax.media:jai-core:pom:1.1.3
> 
> from the specified remote repositories:
>  remote (http://repository.jboss.org/maven2),
>  central (http://repo1.maven.org/maven2)
> 
>  javax.media:jai-core:jar:1.1.3
> 
> from the specified remote repositories:
>  remote (http://repository.jboss.org/maven2),
>  central (http://repo1.maven.org/maven2)
> Path to dependency:
>        1) unspecified:unspecified:jar:0.0
> 
> 
> 
> Total time: 20 seconds
> #
> Please advise?
> 
> 
> # ant -diagnostics
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
> ------- Ant diagnostics report -------
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> 
> -------------------------------------------
> Implementation Version
> -------------------------------------------
> core tasks     : 1.8.2 in file:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
> 
> -------------------------------------------
> ANT PROPERTIES
> -------------------------------------------
> ant.version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> ant.java.version: 1.4
> Is this the Apache Harmony VM? no
> Is this the Kaffe VM? no
> Is this gij/gcj? yes
> ant.core.lib: /home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
> 
> -------------------------------------------
> ANT_HOME/lib jar listing
> -------------------------------------------
> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
> js-1.6R7.jar (813521 bytes)
> ant-jmf.jar (6739 bytes)
> ant-apache-bcel.jar (8746 bytes)
> jasper-compiler-4.1.36.jar (184124 bytes)
> ant-launcher.jar (12322 bytes)
> ant-apache-bsf.jar (3931 bytes)
> log4j-1.2.14.jar (367444 bytes)
> ant-commons-logging.jar (3913 bytes)
> xalan-2.7.1.jar (3176148 bytes)
> ant-commons-net.jar (85511 bytes)
> ant-junit.jar (102220 bytes)
> junit-4.8.1.jar (237047 bytes)
> jdepend-2.9.1.jar (57933 bytes)
> ant-junit4.jar (7120 bytes)
> mail-1.4.jar (388864 bytes)
> xml-resolver-1.2.jar (84091 bytes)
> ant-apache-log4j.jar (3059 bytes)
> commons-logging-api-1.1.jar (44598 bytes)
> ant-apache-resolver.jar (4084 bytes)
> which-1.0.jar (17398 bytes)
> bsh-core-2.0b4.jar (143992 bytes)
> ant-apache-xalan2.jar (2295 bytes)
> asm-2.2.3.jar (34832 bytes)
> ant-antlr.jar (5748 bytes)
> jsch-0.1.42.jar (185746 bytes)
> ant-apache-oro.jar (39638 bytes)
> jasper-runtime-4.1.36.jar (72397 bytes)
> maven-artifact-ant-2.0.4-dep.jar (887507 bytes)
> ant-jdepend.jar (8222 bytes)
> antlr-2.7.7.jar (445288 bytes)
> servlet-api-2.3.jar (77977 bytes)
> asm-commons-2.2.3.jar (15114 bytes)
> oro-2.0.8.jar (65261 bytes)
> regexp-1.3.jar (25429 bytes)
> asm-tree-2.2.3.jar (16248 bytes)
> regexp-1.2.jar (29871 bytes)
> bcel-5.1.jar (515920 bytes)
> jruby-0.9.8.jar (1683526 bytes)
> serializer-2.7.1.jar (278281 bytes)
> xml-apis-1.3.04.jar (194354 bytes)
> ant-swing.jar (7555 bytes)
> ant-apache-regexp.jar (3761 bytes)
> commons-logging-1.0.4.jar (38015 bytes)
> ant-netrexx.jar (10392 bytes)
> commons-net-1.4.1.jar (180792 bytes)
> ant-testutil.jar (15201 bytes)
> ant-jsch.jar (40175 bytes)
> ant-jai.jar (22265 bytes)
> ant.jar (1933743 bytes)
> bsf-2.4.0.jar (113369 bytes)
> bsh-2.0b4.jar (281694 bytes)
> ant-javamail.jar (7960 bytes)
> activation-1.1.jar (62983 bytes)
> 
> -------------------------------------------
> USER_HOME/.ant/lib jar listing
> -------------------------------------------
> user.home: /home/atsaloli
> No such directory.
> 
> -------------------------------------------
> Tasks availability
> -------------------------------------------
> image : Missing dependency org.apache.tools.ant.taskdefs.optional.image.Image
> wlrun : Not Available (the implementation class is not present)
> ddcreator : Not Available (the implementation class is not present)
> wlstop : Not Available (the implementation class is not present)
> starteam : Not Available (the implementation class is not present)
> stcheckin : Not Available (the implementation class is not present)
> stlabel : Not Available (the implementation class is not present)
> stcheckout : Not Available (the implementation class is not present)
> ejbc : Not Available (the implementation class is not present)
> stlist : Not Available (the implementation class is not present)
> A task being missing/unavailable should only matter if you are trying to use it
> 
> -------------------------------------------
> org.apache.env.Which diagnostics
> -------------------------------------------
> #---- BEGIN: Which report
> java.class.path=/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/clas
> 
> 
> ses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/apa
> 
> 
> che-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-ant-
> 
> 
> 1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1.2
> 
> 
> .14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home/a
> 
> 
> tsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-an
> 
> 
> t-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit
> 
> 
> 4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsaloli/
> 
> 
> opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ap
> 
> 
> ache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/li
> 
> 
> b/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.ja
> 
> 
> r:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/apac
> 
> 
> he-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1.8
> 
> 
> .2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib
> 
> 
> /antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.3.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/apa
> 
> 
> che-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bce
> 
> 
> l-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/at
> 
> 
> saloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-ant
> 
> 
> -1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/
> 
> 
> lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testutil.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apache-
> 
> 
> ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/home
> 
> 
> /atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
> java.ext.dirs=/usr/share/java/ext
> java.version=1.4.2
> Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
> Which.error=Accessing System.getProperty(...) threw:
> java.lang.NullPointerException
> sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> #----   END: Which report
> 
> -------------------------------------------
> XML Parser information
> -------------------------------------------
> XML Parser : gnu.xml.stream.SAXParser
> XML Parser Location: unknown
> Namespace-aware parser : gnu.xml.stream.SAXParser
> Namespace-aware parser Location: unknown
> 
> -------------------------------------------
> XSLT Processor information
> -------------------------------------------
> XSLT Processor : org.apache.xalan.transformer.TransformerIdentityImpl
> XSLT Processor Location:
> file:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar
> 
> -------------------------------------------
> System properties
> -------------------------------------------
> ant.library.dir : /home/atsaloli/opt/apache-ant-1.8.2/lib
> path.separator : :
> java.vm.name : GNU libgcj
> java.vm.specification.name : Java(tm) Virtual Machine Specification
> java.runtime.version : 1.4.2
> java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> java.vm.specification.version : 1.0
> line.separator :
> 
> java.vm.specification.vendor : Sun Microsystems Inc.
> gnu.classpath.home.url : file:///usr/lib64
> gnu.classpath.version : 0.92
> gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
> java.specification.version : 1.4
> gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo
> java.library.path : /usr/lib64/gcj-4.1.2
> gnu.classpath.vm.shortname : libgcj
> java.class.version : 48.0
> java.specification.name : Java(tm) Platform API Specification
> os.version : 2.6.18-338.9.1.el5.lve0.8.32
> gnu.classpath.home : /usr
> user.home : /home/atsaloli
> file.encoding : UTF-8
> ant.home : /home/atsaloli/opt/apache-ant-1.8.2
> os.name : Linux
> user.name : atsaloli
> java.class.path :
> /home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/cl
> 
> 
> asses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/a
> 
> 
> pache-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-an
> 
> 
> t-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1
> 
> 
> .2.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home
> 
> 
> /atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-
> 
> 
> ant-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jun
> 
> 
> it4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsalol
> 
> 
> i/opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/
> 
> 
> apache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/
> 
> 
> lib/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/ap
> 
> 
> ache-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1
> 
> 
> .8.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/l
> 
> 
> ib/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.
> 
> 
> 3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/a
> 
> 
> pache-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/b
> 
> 
> cel-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/
> 
> 
> atsaloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-a
> 
> 
> nt-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.
> 
> 
> 2/lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testuti
> 
> 
> l.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apach
> 
> 
> e-ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/ho
> 
> 
> me/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
> java.io.tmpdir : /tmp
> os.arch : x86_64
> java.fullversion : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
> user.language : en
> java.specification.vendor : Sun Microsystems Inc.
> user.dir : /home/atsaloli/opt/apache-ant-1.8.2
> java.vm.info : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
> java.version : 1.4.2
> java.ext.dirs : /usr/share/java/ext
> gnu.gcj.user.realname :
> sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> java.vendor : Free Software Foundation, Inc.
> java.vendor.url : http://gcc.gnu.org/java/
> java.vm.vendor : Free Software Foundation, Inc.
> file.separator : /
> java.vm.version : 4.1.2 20080704 (Red Hat 4.1.2-51)
> http.agent : gnu-classpath/0.92 (libgcj/4.1.2 20080704 (Red Hat 4.1.2-51))
> gnu.cpu.endian : little
> gnu.gcj.precompiled.db.path : /usr/lib64/gcj-4.1.2/classmap.db
> user.region : US
> gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed
> 
> -------------------------------------------
> Temp dir
> -------------------------------------------
> Temp dir is /tmp
> Temp dir is writeable
> Temp dir alignment with system clock is -306 ms
> 
> -------------------------------------------
> Locale information
> -------------------------------------------
> Timezone GMT-05:00 offset=-14400000
> 
> -------------------------------------------
> Proxy information
> -------------------------------------------
> 
> #
> 
> Best,
> -at
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by Nicolas Lalevée <ni...@hibnet.org>.
I have search in every maven repository I know, it seems the jai-core.jar has disappeared...

Nicolas

Le 20 oct. 2011 à 17:58, Aleksey Tsalolikhin a écrit :

> Hi.  I'm trying to install Ant (binary), the fetch step is not
> working, I'm getting 403 Forbidden.
> 
> I also got a warning that tools.jar was not found. Is this a critical
> dependency?
> 
> 
> # ant -f fetch.xml -Ddest=system
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
> Buildfile: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml
> 
> pick-dest:
>     [echo] Downloading to /home/atsaloli/opt/apache-ant-1.8.2/lib
> 
> probe-m2:
> 
> download-m2:
> 
> dont-validate-m2-checksum:
> 
> validate-m2-checksum:
> 
> checksum-mismatch:
> 
> checksum-match:
> 
> get-m2:
> 
> macros:
> 
> init:
> 
> logging:
> 
> junit:
> 
> xml:
> 
> networking:
> 
> regexp:
> 
> antlr:
> 
> bcel:
> 
> jdepend:
> 
> bsf:
> 
> debugging:
> 
> jruby:
> 
> beanshell:
> 
> rhino:
> 
> script:
> 
> javamail:
> 
> jspc:
> [artifact:dependencies] Downloading:
> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository remote (http://repo1.maven.org/maven2/)
> [artifact:dependencies] Downloading:
> tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> [artifact:dependencies] Downloading:
> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository remote (http://repo1.maven.org/maven2/)
> [artifact:dependencies] Downloading:
> tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> 
> jai:
> [artifact:dependencies] Downloading:
> javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> [artifact:dependencies] An error has occurred while processing the
> Maven artifact tasks.
> [artifact:dependencies]  Diagnosis:
> [artifact:dependencies]
> [artifact:dependencies] Unable to resolve artifact: Unable to get
> dependency information: Unable to read the metadata file for artifact
> 'javax.media:jai-core:jar': Error getting POM for
> 'javax.media:jai-core' from the repository: Error transferring file
> [artifact:dependencies]   javax.media:jai-core:pom:1.1.3
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
> [artifact:dependencies]   central (http://repo1.maven.org/maven2)
> [artifact:dependencies]
> [artifact:dependencies]   javax.media:jai-core:jar:1.1.3
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   remote (http://repository.jboss.org/maven2),
> [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] Server returned HTTP response code 403 for URL
> http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
> 
> BUILD FAILED
> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:309: The following error
> occurred while executing this line:
> /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:116: Unable to resolve
> artifact: Unable to get dependency information: Unable to read the
> metadata file for artifact 'javax.media:jai-core:jar': Error getting
> POM for 'javax.media:jai-core' from the repository: Error transferring
> file
>  javax.media:jai-core:pom:1.1.3
> 
> from the specified remote repositories:
>  remote (http://repository.jboss.org/maven2),
>  central (http://repo1.maven.org/maven2)
> 
>  javax.media:jai-core:jar:1.1.3
> 
> from the specified remote repositories:
>  remote (http://repository.jboss.org/maven2),
>  central (http://repo1.maven.org/maven2)
> Path to dependency:
>        1) unspecified:unspecified:jar:0.0
> 
> 
> 
> Total time: 20 seconds
> #
> Please advise?
> 
> 
> # ant -diagnostics
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
> ------- Ant diagnostics report -------
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> 
> -------------------------------------------
> Implementation Version
> -------------------------------------------
> core tasks     : 1.8.2 in file:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
> 
> -------------------------------------------
> ANT PROPERTIES
> -------------------------------------------
> ant.version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> ant.java.version: 1.4
> Is this the Apache Harmony VM? no
> Is this the Kaffe VM? no
> Is this gij/gcj? yes
> ant.core.lib: /home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar
> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
> 
> -------------------------------------------
> ANT_HOME/lib jar listing
> -------------------------------------------
> ant.home: /home/atsaloli/opt/apache-ant-1.8.2
> js-1.6R7.jar (813521 bytes)
> ant-jmf.jar (6739 bytes)
> ant-apache-bcel.jar (8746 bytes)
> jasper-compiler-4.1.36.jar (184124 bytes)
> ant-launcher.jar (12322 bytes)
> ant-apache-bsf.jar (3931 bytes)
> log4j-1.2.14.jar (367444 bytes)
> ant-commons-logging.jar (3913 bytes)
> xalan-2.7.1.jar (3176148 bytes)
> ant-commons-net.jar (85511 bytes)
> ant-junit.jar (102220 bytes)
> junit-4.8.1.jar (237047 bytes)
> jdepend-2.9.1.jar (57933 bytes)
> ant-junit4.jar (7120 bytes)
> mail-1.4.jar (388864 bytes)
> xml-resolver-1.2.jar (84091 bytes)
> ant-apache-log4j.jar (3059 bytes)
> commons-logging-api-1.1.jar (44598 bytes)
> ant-apache-resolver.jar (4084 bytes)
> which-1.0.jar (17398 bytes)
> bsh-core-2.0b4.jar (143992 bytes)
> ant-apache-xalan2.jar (2295 bytes)
> asm-2.2.3.jar (34832 bytes)
> ant-antlr.jar (5748 bytes)
> jsch-0.1.42.jar (185746 bytes)
> ant-apache-oro.jar (39638 bytes)
> jasper-runtime-4.1.36.jar (72397 bytes)
> maven-artifact-ant-2.0.4-dep.jar (887507 bytes)
> ant-jdepend.jar (8222 bytes)
> antlr-2.7.7.jar (445288 bytes)
> servlet-api-2.3.jar (77977 bytes)
> asm-commons-2.2.3.jar (15114 bytes)
> oro-2.0.8.jar (65261 bytes)
> regexp-1.3.jar (25429 bytes)
> asm-tree-2.2.3.jar (16248 bytes)
> regexp-1.2.jar (29871 bytes)
> bcel-5.1.jar (515920 bytes)
> jruby-0.9.8.jar (1683526 bytes)
> serializer-2.7.1.jar (278281 bytes)
> xml-apis-1.3.04.jar (194354 bytes)
> ant-swing.jar (7555 bytes)
> ant-apache-regexp.jar (3761 bytes)
> commons-logging-1.0.4.jar (38015 bytes)
> ant-netrexx.jar (10392 bytes)
> commons-net-1.4.1.jar (180792 bytes)
> ant-testutil.jar (15201 bytes)
> ant-jsch.jar (40175 bytes)
> ant-jai.jar (22265 bytes)
> ant.jar (1933743 bytes)
> bsf-2.4.0.jar (113369 bytes)
> bsh-2.0b4.jar (281694 bytes)
> ant-javamail.jar (7960 bytes)
> activation-1.1.jar (62983 bytes)
> 
> -------------------------------------------
> USER_HOME/.ant/lib jar listing
> -------------------------------------------
> user.home: /home/atsaloli
> No such directory.
> 
> -------------------------------------------
> Tasks availability
> -------------------------------------------
> image : Missing dependency org.apache.tools.ant.taskdefs.optional.image.Image
> wlrun : Not Available (the implementation class is not present)
> ddcreator : Not Available (the implementation class is not present)
> wlstop : Not Available (the implementation class is not present)
> starteam : Not Available (the implementation class is not present)
> stcheckin : Not Available (the implementation class is not present)
> stlabel : Not Available (the implementation class is not present)
> stcheckout : Not Available (the implementation class is not present)
> ejbc : Not Available (the implementation class is not present)
> stlist : Not Available (the implementation class is not present)
> A task being missing/unavailable should only matter if you are trying to use it
> 
> -------------------------------------------
> org.apache.env.Which diagnostics
> -------------------------------------------
> #---- BEGIN: Which report
> java.class.path=/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/clas
> 
> 
> ses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/apa
> 
> 
> che-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-ant-
> 
> 
> 1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1.2
> 
> 
> .14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home/a
> 
> 
> tsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-an
> 
> 
> t-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit
> 
> 
> 4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsaloli/
> 
> 
> opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ap
> 
> 
> ache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/li
> 
> 
> b/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.ja
> 
> 
> r:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/apac
> 
> 
> he-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1.8
> 
> 
> .2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib
> 
> 
> /antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.3.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/apa
> 
> 
> che-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bce
> 
> 
> l-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/at
> 
> 
> saloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-ant
> 
> 
> -1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/
> 
> 
> lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testutil.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apache-
> 
> 
> ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/home
> 
> 
> /atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
> java.ext.dirs=/usr/share/java/ext
> java.version=1.4.2
> Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
> Which.error=Accessing System.getProperty(...) threw:
> java.lang.NullPointerException
> sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> #----   END: Which report
> 
> -------------------------------------------
> XML Parser information
> -------------------------------------------
> XML Parser : gnu.xml.stream.SAXParser
> XML Parser Location: unknown
> Namespace-aware parser : gnu.xml.stream.SAXParser
> Namespace-aware parser Location: unknown
> 
> -------------------------------------------
> XSLT Processor information
> -------------------------------------------
> XSLT Processor : org.apache.xalan.transformer.TransformerIdentityImpl
> XSLT Processor Location:
> file:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar
> 
> -------------------------------------------
> System properties
> -------------------------------------------
> ant.library.dir : /home/atsaloli/opt/apache-ant-1.8.2/lib
> path.separator : :
> java.vm.name : GNU libgcj
> java.vm.specification.name : Java(tm) Virtual Machine Specification
> java.runtime.version : 1.4.2
> java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> java.vm.specification.version : 1.0
> line.separator :
> 
> java.vm.specification.vendor : Sun Microsystems Inc.
> gnu.classpath.home.url : file:///usr/lib64
> gnu.classpath.version : 0.92
> gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
> java.specification.version : 1.4
> gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo
> java.library.path : /usr/lib64/gcj-4.1.2
> gnu.classpath.vm.shortname : libgcj
> java.class.version : 48.0
> java.specification.name : Java(tm) Platform API Specification
> os.version : 2.6.18-338.9.1.el5.lve0.8.32
> gnu.classpath.home : /usr
> user.home : /home/atsaloli
> file.encoding : UTF-8
> ant.home : /home/atsaloli/opt/apache-ant-1.8.2
> os.name : Linux
> user.name : atsaloli
> java.class.path :
> /home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/cl
> 
> 
> asses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/a
> 
> 
> pache-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-an
> 
> 
> t-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1
> 
> 
> .2.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home
> 
> 
> /atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-
> 
> 
> ant-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jun
> 
> 
> it4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsalol
> 
> 
> i/opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/
> 
> 
> apache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/
> 
> 
> lib/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.
> 
> 
> jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/ap
> 
> 
> ache-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1
> 
> 
> .8.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/l
> 
> 
> ib/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.
> 
> 
> 3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/a
> 
> 
> pache-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/b
> 
> 
> cel-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/
> 
> 
> atsaloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-a
> 
> 
> nt-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.
> 
> 
> 2/lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testuti
> 
> 
> l.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apach
> 
> 
> e-ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/ho
> 
> 
> me/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar
> java.io.tmpdir : /tmp
> os.arch : x86_64
> java.fullversion : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
> user.language : en
> java.specification.vendor : Sun Microsystems Inc.
> user.dir : /home/atsaloli/opt/apache-ant-1.8.2
> java.vm.info : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51)
> java.version : 1.4.2
> java.ext.dirs : /usr/share/java/ext
> gnu.gcj.user.realname :
> sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> java.vendor : Free Software Foundation, Inc.
> java.vendor.url : http://gcc.gnu.org/java/
> java.vm.vendor : Free Software Foundation, Inc.
> file.separator : /
> java.vm.version : 4.1.2 20080704 (Red Hat 4.1.2-51)
> http.agent : gnu-classpath/0.92 (libgcj/4.1.2 20080704 (Red Hat 4.1.2-51))
> gnu.cpu.endian : little
> gnu.gcj.precompiled.db.path : /usr/lib64/gcj-4.1.2/classmap.db
> user.region : US
> gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed
> 
> -------------------------------------------
> Temp dir
> -------------------------------------------
> Temp dir is /tmp
> Temp dir is writeable
> Temp dir alignment with system clock is -306 ms
> 
> -------------------------------------------
> Locale information
> -------------------------------------------
> Timezone GMT-05:00 offset=-14400000
> 
> -------------------------------------------
> Proxy information
> -------------------------------------------
> 
> #
> 
> Best,
> -at
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by Nicolas Lalevée <ni...@hibnet.org>.
Le 23 oct. 2011 à 20:34, Jesse Glick a écrit :

> On 10/21/2011 11:34 AM, Nicolas Lalevée wrote:
>> I have search in every maven repository I know, it seems the jai-core.jar has disappeared...
>> 
>>> fetch.xml:116: Unable to resolve
>>> artifact: Unable to get dependency information: Unable to read the
>>> metadata file for artifact 'javax.media:jai-core:jar': Error getting
>>> POM for 'javax.media:jai-core' from the repository: Error transferring
>>> file
>>>  javax.media:jai-core:pom:1.1.3
>>> 
>>> from the specified remote repositories:
>>>  remote (http://repository.jboss.org/maven2),
>>>  central (http://repo1.maven.org/maven2)
> 
> It it still there, but the repo URL is wrong; should be [1]. I have fixed fetch.xml accordingly.
> 
> (There is a similar artifact at [2].)
> 
> [1] https://repository.jboss.org/nexus/content/groups/public/
> [2] http://maven.glassfish.org/content/groups/public/

thanks, both added to my list of maven repository.

Nicolas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by Tom Wilcox <hu...@gmail.com>.
Jesse Glick <jesse.glick <at> oracle.com> writes:

> 
> On 10/21/2011 11:34 AM, Nicolas Lalevée wrote:
> > I have search in every maven repository I know, it seems the jai-core.jar 
has disappeared...
> >
> >> fetch.xml:116: Unable to resolve
> >> artifact: Unable to get dependency information: Unable to read the
> >> metadata file for artifact 'javax.media:jai-core:jar': Error getting
> >> POM for 'javax.media:jai-core' from the repository: Error transferring
> >> file
> >>   javax.media:jai-core:pom:1.1.3
> >>
> >> from the specified remote repositories:
> >>   remote (http://repository.jboss.org/maven2),
> >>   central (http://repo1.maven.org/maven2)
> 
> It it still there, but the repo URL is wrong; should be [1]. I have fixed 
fetch.xml accordingly.
> 
> (There is a similar artifact at [2].)
> 
> [1] https://repository.jboss.org/nexus/content/groups/public/
> [2] http://maven.glassfish.org/content/groups/public/
> 

What is going on with the Ant fetch.xml repositories?

They all suck...

Here's our fetch.xml after fixing several bad repositories.. (Please note, we 
cheated and downloaded maven-artifact-2.0.4-dep.jar into $ANT_HOME/lib 
ourselves)....

<?xml version="1.0"?>

<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<!--
  =======================================================================
    Build file to fetch optional libraries for Apache Ant
  =======================================================================
-->
<project name="fetch" default="all" basedir=".">

<description>
  This build file downloads JAR files that optional Ant tasks use,
  and installs them in a location that is accessible the next time Ant runs.

  You can choose three locations, by going -Ddest=LOCATION on the command line
  -Ddest=user     user lib dir  ${user.home}/.ant/lib
  -Ddest=system   ant lib dir   ${ant.home}/lib
  -Ddest=optional optional dir  $${basedir}/lib/optional  (for Ant developers)

  You may also need to set proxy settings. On Java1.5, Ant tries to get
  this from the OS, unless you use the -noproxy option.

  Proxies can be configured manually setting the JVM proxy values in the
  ANT_OPTS environment variable.

  For example, to set the proxy up in the tcsh shell, the command would be
  something like:

  For csh/tcsh:
    setenv ANT_OPTS "-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
  For bash:
    export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
  For Windows, set the environment variable in the appropriate dialog box
  and open a new console. or, by hand
    set ANT_OPTS = -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080
</description>

  <!-- Give user a chance to override without editing this file
       (and without typing -D each time it compiles it) -->
  <property file="${user.home}/.ant/ant.properties"/>
  <property name="lib.dir" location="lib" />
  <property name="optional.dir" location="${lib.dir}/optional" />
  <property name="userlib.dir" location="${user.home}/.ant/lib" />

  <!-- load in our properties table -->
  <property file="${lib.dir}/libraries.properties"/>

  <!-- Temporary cache for working files -->
  <property name="temp.dir" location="${user.home}/.ant/tempcache" />
  <property name="keep.temp.dir" value="true" />

  <import file="get-m2.xml" />

  <target name="pick-dest">
    <fail>
      <condition>
        <not>
          <isset property="dest"/>
        </not>
      </condition>ERROR
Set -Ddest=LOCATION on the command line
  -Ddest=user     user lib dir  ${user.home}/.ant/lib
  -Ddest=system   ant lib dir   ${ant.home}/lib
  -Ddest=optional optional dir  $${basedir}/lib/optional  (for Ant developers)
    </fail>

    <condition property="dest.dir"
      value="${lib.dir}">
      <equals arg1="${dest}" arg2="system" />
    </condition>
    <condition property="dest.dir"
      value="${optional.dir}">
      <equals arg1="${dest}" arg2="optional" />
    </condition>
    <condition property="dest.dir"
      value="${userlib.dir}">
      <equals arg1="${dest}" arg2="user" />
    </condition>
    <fail unless="dest.dir">Unknown destination : ${dest}</fail>
    <echo>Downloading to ${dest.dir}</echo>
    <property name="m2.dest.dir" value="${dest.dir}" />
  </target>


  <target name="macros" depends="pick-dest,get-m2"
    xmlns:artifact="antlib:org.apache.maven.artifact.ant">

    <macrodef name="f2">
      <attribute name="project" />
      <attribute name="archive" default="@{project}"/>
      <attribute name="repository" default="${m2.repo}"/>
      <sequential>
        <fail>
        Unknown archive @{archive} -no property @{archive}.version defined in 
${lib.dir}/libraries.properties.
          <condition>
            <not>
            <isset property="@{archive}.version"/>
            </not>
          </condition>
        </fail>
        <artifact:dependencies pathID="@{archive}.path">
          <dependency groupID="@{project}"
            artifactID="@{archive}"
            version="${@{archive}.version}"/>
          <remoteRepository url="@{repository}" />
        </artifact:dependencies>
        <!-- now we are left with the problem of getting the files
             into our directory -->
        <copy todir="${dest.dir}">
          <path refid="@{archive}.path" />
          <flattenmapper/>
        </copy>
      </sequential>
    </macrodef>
  </target>

  <target name="nonm2-macros" depends="pick-dest">
    <macrodef name="get-ftp-file">
      <attribute name="host" />
      <attribute name="port" default="21"/>
      <attribute name="remotedir" />
      <attribute name="filename" />
      <attribute name="localdir" default="${dest.dir}" />
      <attribute name="user" default="anonymous"/>
      <attribute name="pw" default="anonymous"/>
      <sequential>
        <ftp server="@{host}" port="@{port}" userid="@{user}" password="@{pw}" 
passive="true"
            remotedir="@{remotedir}" action="get" depends="true" 
preserveLastModified="true"
            skipFailedTransfers="true">
          <fileset dir="@{localdir}">
            <include name="@{filename}" />
          </fileset>
        </ftp>
      </sequential>
    </macrodef>

  </target>



  <!-- any init stuff -->
  <target name="init" depends="macros" />

  <target name="init-no-m2" depends="nonm2-macros" />

  <target name="init-cache">
    <available property="temp.cache.already.exists" file="${temp.dir}" 
type="dir" />
    <condition property="user.wants.temp.cache">
      <and>
        <isset property="keep.temp.dir" />
        <not>
          <or>
            <equals arg1="${keep.temp.dir}" arg2="false" casesensitive="false" 
/>
            <equals arg1="${keep.temp.dir}" arg2="no" casesensitive="false" />
            <equals arg1="${keep.temp.dir}" arg2="off" casesensitive="false" />
          </or>
        </not>
      </and>
    </condition>
    <condition property="delete.temp.cache">
      <and>
        <not>
          <isset property="temp.cache.already.exists" />
        </not>
        <not>
          <isset property="user.wants.temp.cache" />
        </not>
      </and>
    </condition>
  </target>

  <target name="-setup-temp-cache" depends="init-cache" 
unless="temp.cache.already.exists"
          description="Setup temporary cache for downloaded files">
    <mkdir dir="${temp.dir}" />
  </target>

  <target name="-cleanup-temp-cache" depends="init-cache" if="delete.temp.cache"
          description="Gets rid of the temporary cache directory">
    <delete dir="${temp.dir}" />
  </target>


  <target name="diag" depends="init">
    <echoproperties />
  </target>

  <target name="logging"
    description="load logging libraries"
    depends="init">
    <f2 project="log4j" />
    <f2 project="commons-logging" archive="commons-logging-api" />
  </target>

  <target name="junit"
    description="load junit libraries"
    depends="init">
    <f2 project="junit" />
  </target>

  <target name="xml"
    description="load full XML libraries (xalan, resolver)"
    depends="init">
    <f2 project="xalan" />
    <f2 project="xml-resolver" />
  </target>

  <target name="networking"
    description="load networking libraries (commons-net; jsch)"
    depends="init">
    <f2 project="commons-net" />
    <f2 project="com.jcraft" archive="jsch"/>
    <available property="have.commons.net" 
classname="org.apache.commons.net.ftp.FTPClientConfig"/>
  </target>

  <target name="regexp"
    description="load regexp libraries"
    depends="init">
    <f2 project="regexp" />
    <f2 project="oro" />
  </target>

  <target name="antlr"
    description="load antlr libraries"
    depends="init">
    <f2 project="antlr" />
  </target>

  <target name="bcel"
    description="load bcel libraries"
    depends="init">
    <f2 project="bcel" />
  </target>

  <target name="jdepend"
    description="load jdepend libraries"
    depends="init">
    <f2 project="jdepend" />
  </target>

  <target name="bsf"
    description="load bsf libraries"
    depends="init">
    <f2 project="bsf" />
  </target>

  <target name="jruby"
          description="load jruby"
          depends="bsf">
    <f2 project="org.jruby" archive="jruby"/>
  </target>

  <target name="beanshell"
          description="load beanshell support"
          depends="bsf">
    <f2 project="org.beanshell" archive="bsh"/>
    <f2 project="org.beanshell" archive="bsh-core"/>
  </target>

  <target name="jython"
          description="load jython"
          depends="bsf">
    <f2 project="jython" archive="jython"/>
  </target>

  <target name="rhino"
          description="load rhino"
          depends="bsf">
    <f2 project="rhino" archive="js"/>
  </target>

  <target name="script"
          description="load script languages (except jython)"
          depends="bsf,jruby,beanshell,rhino"/>

  <target name="debugging"
    description="internal ant debugging"
    depends="init">
    <f2 project="which" />
  </target>

  <target name="javamail" depends="init"
          description="load javamail">
    <f2 project="javax.mail" archive="mail"/>
  </target>

  <target name="jspc" depends="init" description="loads Jasper">
    <f2 project="tomcat" archive="jasper-compiler"/>
    <f2 project="tomcat" archive="jasper-runtime"/>
    <f2 project="javax.servlet" archive="servlet-api"/>
  </target>

  <target name="jai" depends="init"
          description="load java advanced imaging">
    <f2 project="javax.media" archive="jai-core" 
repository="https://repository.jboss.org/nexus/content/groups/public/"/>
    <f2 project="com.sun.media" archive="jai-codec" 
repository="http://maven.alfresco.com/nexus/content/groups/public/"/>
  </target>

  <target name="netrexx" depends="init-no-m2,-setup-temp-cache,networking,-
fetch-netrexx,-fetch-netrexx-no-commons-net,-cleanup-temp-cache"
          description="load NetRexx compiler" />

  <target name="-fetch-netrexx" depends="-setup-temp-cache"
          description="FTPs NetRexx compiler from IBM site" 
if="have.commons.net">
    <get-ftp-file host="ftp.software.ibm.com" 
remotedir="/software/awdtools/netrexx"
            filename="NetRexx.zip" localdir="${temp.dir}" />
    <copy todir="${dest.dir}" flatten="true">
      <zipfileset src="${temp.dir}/NetRexx.zip">
        <include name="NetRexx\lib\NetRexxC.jar" />
        <include name="NetRexx\browse\license.txt" />
      </zipfileset>
    </copy>
  </target>

  <target name="-fetch-netrexx-no-commons-net" depends="-setup-temp-cache"
          description="FTPs NetRexx compiler from IBM site" 
unless="have.commons.net">
    <get src="ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip" 
dest="${temp.dir}/NetRexx.zip" skipexisting="true"/>
    <copy todir="${dest.dir}" flatten="true">
      <zipfileset src="${temp.dir}/NetRexx.zip">
        <include name="NetRexx\lib\NetRexxC.jar" />
        <include name="NetRexx\browse\license.txt" />
      </zipfileset>
    </copy>
  </target>

  <target name="all"
    description="load all the libraries (except jython)"
    
depends="logging,junit,xml,networking,regexp,antlr,bcel,jdepend,bsf,debugging,sc
ript,javamail,jspc,jai,netrexx" />

</project>


HTH





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

Posted by Jesse Glick <je...@oracle.com>.
On 10/21/2011 11:34 AM, Nicolas Lalevée wrote:
> I have search in every maven repository I know, it seems the jai-core.jar has disappeared...
>
>> fetch.xml:116: Unable to resolve
>> artifact: Unable to get dependency information: Unable to read the
>> metadata file for artifact 'javax.media:jai-core:jar': Error getting
>> POM for 'javax.media:jai-core' from the repository: Error transferring
>> file
>>   javax.media:jai-core:pom:1.1.3
>>
>> from the specified remote repositories:
>>   remote (http://repository.jboss.org/maven2),
>>   central (http://repo1.maven.org/maven2)

It it still there, but the repo URL is wrong; should be [1]. I have fixed fetch.xml accordingly.

(There is a similar artifact at [2].)

[1] https://repository.jboss.org/nexus/content/groups/public/
[2] http://maven.glassfish.org/content/groups/public/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org