maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MSHARED-567) remove dependency on Maven core
Date Fri, 08 Jul 2016 22:21:10 GMT

    [ https://issues.apache.org/jira/browse/MSHARED-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15368592#comment-15368592
] 

Hervé Boutemy commented on MSHARED-567:
---------------------------------------

while working on this, I found that when you remove maven-core as optional dependency, you
find that plexus-container is used for logging

by extension from maven-core, which was optional, it is told optional: but the code does not
check if logging is injected or not

really, is this code about java tool really used somewhere?
and is it used in a non Maven context, ie without plexus container?

I really find this feature strange in maven-shared-utils given its requirements

> remove dependency on Maven core
> -------------------------------
>
>                 Key: MSHARED-567
>                 URL: https://issues.apache.org/jira/browse/MSHARED-567
>             Project: Maven Shared Components
>          Issue Type: Wish
>          Components: maven-shared-utils
>    Affects Versions: maven-shared-utils-3.1.0
>            Reporter: Hervé Boutemy
>
> while creating an API for java tool in MSHARED-304, Maven core's Toolchain API is used:
this makes maven-shared-utils dependant on Maven core.
> Since maven-shared-utils is expected to be a fundamental utilities library, ideally which
could replace plexus-utils, depending on Maven core will cause a chicken and egg issue, since
Maven core should be able to use maven-shared-utils
> for example, I'm working on MSHARED-562 and this dependency makes me think that I cannot
let the new code in maven-shared-utils and create a dependency from Maven core on maven-shared-utils...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message