Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dependency imports should always be fetched from upstream (#1027)
There are two places that we call `mergeParents()`: - Merging data from parent pom.xml files - Importing dependency management from another project In `mergeParents()`, we first check if `relativePath` is defined to know if we can parse parent locally. However, this only applies for the first case but not for importing dependency management. Also, once we start fetching parent pom.xml from upstream, we should no longer parse locally. This PR adds `allowLocal` to `mergeParents()` to specify if we allow parsing local parent pom.xml, and once a parent is fetched from upstream, `allowLocal` is set to false. --------- Co-authored-by: Rex P <106129829+another-rex@users.noreply.github.com>
- Loading branch information