Sure, here is an example project boiled down to the minimum. The
arquillian module demonstrates the problem, and it is a commonly
recommended way by RedHat JBoss / Arquillian project to use
scope=import for these bom dependency concentrators.

After investigation, I find that several of these boms have redundant
and mismatched dependency versions. Perhaps they ought to fix this,
but I'm seeing huge amount of mess of messages with this common and
recommended kind of arq configuration.

Messages are of the format:

[WARNING] Multiple conflicting imports of dependency
'org.seleniumhq.selenium:selenium-server:jar' into model
'com.acme:arquillian:pom:1.0-SNAPSHOT' @
'/home/jieryn/workspaces/maven-3.4.0-testing/arquillian/pom.xml' ('42
: 25, org.jboss.arquillian.selenium:selenium-bom:2.53.0
/home/jieryn/.m2/repository/org/jboss/arquillian/selenium/selenium-bom/2.53.0/selenium-bom-2.53.0.pom',
'42 : 25, org.jboss.arquillian.selenium:selenium-bom:2.53.1
/home/jieryn/.m2/repository/org/jboss/arquillian/selenium/selenium-bom/2.53.1/selenium-bom-2.53.1.pom').
To resolve this conflict, either declare the dependency directly in
the dependency management of model
'com.acme:arquillian:pom:1.0-SNAPSHOT' to override what gets imported
or, as of Maven 3.4, rearrange the causing imports in the inheritance
hierarchy to apply standard override logic based on artifact
coordinates. Without resolving this conflict, your build relies on
indeterministic behaviour.



On Sat, Aug 20, 2016 at 5:13 AM, Karl Heinz Marbaise <khmarba...@gmx.de> wrote:
> Hi,
>
> On 20/08/16 07:05, Christian Schulte wrote:
>>
>> Am 08/19/16 um 21:10 schrieb jieryn:
>>>
>>> I am seeing a huge amount of additional warnings at the start of the
>>> build now, that is intentional I believe? Do we have a wiki or any
>>> documentation about resolving these issues? For example, I'm seeing
>>> this because I use Arquillian and their standard dependencyManagement
>>> bom scope=import style.
>>
>>
>> Intentional. No release notes yet.
>
>
>
> I posted that for a longer time ago..that I started on them already..
>
> https://github.com/khmarbaise/maven-release-notes
>
> Kind regards
> Karl Heinz
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to