forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retrieve jars from IvyInfo using a collection of coordinates instead …
…of jar_library targets. Using a target as the parameter type for retrieving jars tightly coupled lookup in ivy reports. This changes the retrieval method so that it accepts coordinate like objects instead. Testing Done: Updated tests and ran them locally, CI away on PR. Bugs closed: 2959 Reviewed at https://rbcommons.com/s/twitter/r/3495/ closes pantsbuild#2959
- Loading branch information
1 parent
586c641
commit e556ab8
Showing
4 changed files
with
69 additions
and
23 deletions.
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
32 changes: 32 additions & 0 deletions
32
tests/python/pants_test/backend/jvm/tasks/ivy_utils_resources/report_with_flat_graph.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?> | ||
<!-- This is emulating the structure of a report created with a fetch resolve. --> | ||
<ivy-report version="1.0"> | ||
<info organisation="toplevel" module="toplevelmodule" revision="latest" /> | ||
<dependencies> | ||
<module organisation="org1" name="name1"> | ||
<revision name="0.0.1"> | ||
<caller organisation="toplevel" name="toplevelmodule" callerrev="latest"/> | ||
<artifacts> | ||
<artifact location="ivy2cache_path/org1/name1.jar" extra-classifier="tests"/> | ||
</artifacts> | ||
</revision> | ||
</module> | ||
<module organisation="org2" name="name2"> | ||
<revision name="0.0.1"> | ||
<caller organisation="toplevel" name="toplevelmodule" callerrev="latest"/> | ||
<artifacts> | ||
<artifact type="bundle" ext="jar" location="ivy2cache_path/org2/name2.jar"/> | ||
</artifacts> | ||
</revision> | ||
</module> | ||
<module organisation="org3" name="name3"> | ||
<revision name="0.0.1"> | ||
<caller organisation="toplevel" name="toplevelmodule" callerrev="latest"/> | ||
<artifacts> | ||
<artifact type="jar" ext="tar.gz" location="ivy2cache_path/org3/name3.tar.gz"/> | ||
</artifacts> | ||
</revision> | ||
</module> | ||
</dependencies> | ||
</ivy-report> |
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