Article 59N5J Unable to build Apache-ant-1.10.5

Unable to build Apache-ant-1.10.5

by
SINISTER750
from LinuxQuestions.org on (#59N5J)
I'm trying to build BLFS 8.4
An error occurs when trying to download the runtime dependencies using the fetch.xml ant build script:

Code:bootstrap/bin/ant -f fetch.xml -Ddest=optionalError:
Code:BUILD FAILED
/sources/BLFS/apache-ant-1.10.5/fetch.xml:212: The following error occurred while executing this line:
sources/BLFS/apache-ant-1.10.5/fetch.xml:122: Unable to resolve artifact: Missing:
--------
1) org.apache.ant:ant-antunit:jar:1.4

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.ant -DartifactId=ant-antunit -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:

mvn deploy:deploy-file -DgroupId=org.apache.net -DartifactId=ant-antunit -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.apache.maven:super-pom:pom:2.0
2) org.apache.ant:ant-antunit:jar:1.4

----------
1 required artifact is missing.

for artifact:
org.apache.maven:super-pom:pom:2.0

from the specified remote repositories:
central (http://repo1.maven.org/maven2/)Due to hardware limitations I am building BLFS 8.4 on the host machine.latest?d=yIl2AUoC8zA latest?i=IlZ-bEl53nc:bo3MGE5ZYsI:F7zBnMy latest?i=IlZ-bEl53nc:bo3MGE5ZYsI:V_sGLiP latest?d=qj6IDK7rITs latest?i=IlZ-bEl53nc:bo3MGE5ZYsI:gIN9vFwIlZ-bEl53nc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments