maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Belingueres (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MDEP-550) Warn the user if javax.activation is being listed as used undeclared dependency when target java compiler class is >= 6
Date Wed, 04 Jan 2017 15:25:58 GMT
Gabriel Belingueres created MDEP-550:
----------------------------------------

             Summary: Warn the user if javax.activation is being listed as used undeclared
dependency when target java compiler class is >= 6
                 Key: MDEP-550
                 URL: https://issues.apache.org/jira/browse/MDEP-550
             Project: Maven Dependency Plugin
          Issue Type: Improvement
          Components: analyze
    Affects Versions: 3.0.0, 2.10
         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T13:41:47-03:00)
Maven home: C:\productos\apache-maven-3.3.9\bin\..
Java version: 1.8.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_51\jre
Default locale: es_AR, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
            Reporter: Gabriel Belingueres
            Priority: Minor


javax.mail:mail:1.4.7 has javax.activation as a dependency, and (if not excluded), the analyze
goal shows:

[WARNING] Used undeclared dependencies found:
[WARNING]    javax.activation:activation:jar:1.1:compile

When in fact Java 6+ already includes the javax.activation package, not needing the cited
dependency.

The idea is that the analyze goal could show a warning alerting the user about this situation.

TIA,
Gabriel



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

Mime
View raw message