Browse Source

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).
master
Piotr P. Karwasz 2 years ago
parent
commit
6594b8cd51
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      fetch.xml

+ 1
- 1
fetch.xml View File

@@ -119,8 +119,8 @@ Set -Ddest=LOCATION on the command line
</not> </not>
</condition> </condition>
</fail> </fail>
<resolver:remoterepo url="@{repository}" id="@{id}"/>
<resolver:resolve> <resolver:resolve>
<resolver:remoterepo url="@{repository}" id="@{id}"/>
<dependencies id="@{archive}.path"> <dependencies id="@{archive}.path">
<dependency groupId="@{project}" <dependency groupId="@{project}"
artifactId="@{archive}" artifactId="@{archive}"


Loading…
Cancel
Save