mojohaus/license-maven-plugin

Aggregate third party report fails on multimodule maven that has module with cross dependencies

Open

#317 opened on Apr 3, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (127 forks)auto 404
add-third-partyhelp wanted

Repository metrics

Stars
 (115 stars)
PR merge metrics
 (PR metrics pending)

Description

We are performing a release mvn release:prepare release:perform on a multimodule maven project. Some module depends from other modules. The typical scenario is: parent |->model |->client (depends from model) |->web (depends from model)

The release plugin change the version and run a clean verify in all pom.xml after that run deploy site:deploy goals. The aggregate-add-third-party mojo run on parent project and to resolve all dependencies of children modules. It fails when one of child module depends on other child (web -> model) because aggregate-add-third-party is not able to resolve the child module with the new version since it has been never installed.

Contributor guide