Skip to content

WIP: Implement method to resolve imports#559

Open
cvogt wants to merge 2 commits intocvogt:masterfrom
Baccata:handle-import-scope
Open

WIP: Implement method to resolve imports#559
cvogt wants to merge 2 commits intocvogt:masterfrom
Baccata:handle-import-scope

Conversation

@cvogt
Copy link
Owner

@cvogt cvogt commented Sep 11, 2017

creating a PR for easier comparison

In order to resolve imports, one need to :
- resolve the properties of the xml declaration of the import. This
means that the parents have to be resolved first.
- resolve the properties of the dependencies contained by the import.
This means that when looking up values in the xml, you potentially have
to resolve the transitive poms of the import first.

This therefore parameterise the "lookup" and "properties" method in
order to take the scope into consideration. Typically the argument will
be "transitivePom" or "transitivePom and transitiveImports"

Also changes the order of how the transitivePom and imports are mixed
together.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants