I had the exact some problem as mentioned here:
Unable to properly install binary edition of Apache Ant .
I followed the steps by replacing http://repository.jboss.org/maven2 with https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/ but am still getting this error:
jspc:
[artifact:dependencies] Downloading: tomcat/jasper-compiler/4.1.36/jasper-compil
er-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-compil
er-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)
This is the only module that doesn’t install. Can one of you generous souls graciously help this lowly noob out? Thanks.
Those versions of of the jasper modules are missing POM files in Maven Central. That is why the download is failing:
Is it possible to use more recent versions?
Update
The various libraries versions are controlled by the following file:
Version 1.8.2 of ANT appears to be broken.I tried tweaking this file and finally gave up and upgraded to the latest version of ANT:
I suggest an upgrade, or alternative take a copy of this version’s properties file.