summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr P. Karwasz <piotr.github@karwasz.org>2022-08-04 23:47:54 +0200
committerPiotr P. Karwasz <piotr.github@karwasz.org>2022-08-04 23:47:54 +0200
commit6594b8cd51d277c1c3e64300a0c138ad54fd4c67 (patch)
treed8aa00f8bb834489ce84251f3a2aa1614fe77c04
parentf6a3d456ef92b3457f465724eff4388e7d1b775f (diff)
downloadant-6594b8cd51d277c1c3e64300a0c138ad54fd4c67.tar.gz
Fix retrieval from non-default repositories
Since the `<remoterepo>` tag is not in the scope of the `<resolve>` target, fetching artifacts from repositories different from Maven Central fails (e.g. JAI).
-rw-r--r--fetch.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch.xml b/fetch.xml
index ac231ea36..038ee120e 100644
--- a/fetch.xml
+++ b/fetch.xml
@@ -119,8 +119,8 @@ Set -Ddest=LOCATION on the command line
</not>
</condition>
</fail>
- <resolver:remoterepo url="@{repository}" id="@{id}"/>
<resolver:resolve>
+ <resolver:remoterepo url="@{repository}" id="@{id}"/>
<dependencies id="@{archive}.path">
<dependency groupId="@{project}"
artifactId="@{archive}"