-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(maven): Correctly convert repositories
When resolving artifacts using a `ProjectBuilder`, remote repositories from the Eclipse Aether library have to be converted to the model used by the Maven repository system. So far, only the most prominent properties have been converted. In certain constellations, this is not sufficient. In a concrete case, resolution failed for an artifact located in a repository that was defined in a pom of a transitive dependency. For this repository the information about the required proxy was lost, and so network requests caused exceptions. Fix this by also dealing with the properties related to the proxy and authentication. Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
- Loading branch information
1 parent
b4523c9
commit acfb440
Showing
2 changed files
with
189 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters