A test which demonstrates maven's recursive inheritance where
a distinct value is taken from each parent contributing to the
the final model of the project being assembled.
A test which demonstrates maven's recursive inheritance where
we are testing to make sure that elements stated in a model are
not clobbered by the same elements elsewhere in the lineage.
A test which demonstrates maven's recursive inheritance where
a distinct value is taken from each parent contributing to the
the final model of the project being assembled.
A test which demonstrates maven's recursive inheritance where
a distinct value is taken from each parent contributing to the
the final model of the project being assembled.
Verifies the version of a dependency listed in a parent's
dependencyManagement section is chosen over another version of the same
dependency, listed transitively.
How the test project is set up:
1. dependencyManagement lists dependencies on a & b,
with an exclusion on c in b.
2. the child project lists a dependency on project a only
3. a depends on b (which is transitive to the child project),
and b depends on c.
Test that this is the resulting ordering of plugins after merging:
Given:
parent: X -> A -> B -> D -> E
child: Y -> A -> C -> D -> F
Result:
X -> Y -> A -> B -> C -> D -> E -> F
Test that this is the resulting ordering of reports after merging:
Given:
parent: X -> A -> B -> D -> E
child: Y -> A -> C -> D -> F
Result:
X -> Y -> A -> B -> C -> D -> E -> F
Test that this is the resulting ordering of plugins after merging:
Given:
model: X -> A -> B -> D -> E
profile: Y -> A -> C -> D -> F
Result:
X -> Y -> A -> B -> C -> D -> E -> F