diff options
author | Piotr P. Karwasz <piotr.github@karwasz.org> | 2022-08-04 23:47:54 +0200 |
---|---|---|
committer | Piotr P. Karwasz <piotr.github@karwasz.org> | 2022-08-04 23:47:54 +0200 |
commit | 6594b8cd51d277c1c3e64300a0c138ad54fd4c67 (patch) | |
tree | d8aa00f8bb834489ce84251f3a2aa1614fe77c04 | |
parent | f6a3d456ef92b3457f465724eff4388e7d1b775f (diff) | |
download | ant-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.xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}" |