[ https://issues.apache.org/jira/browse/MDEP-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MDEP-550: -------------------------------- Description: {{javax.mail:mail:1.4.7}} has {{javax.activation}} as a dependency, and (if not excluded), the analyze goal shows: {noformat} [WARNING] Used undeclared dependencies found: [WARNING] javax.activation:activation:jar:1.1:compile {noformat} 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 was: 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 > 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: 2.10, 3.0.0 > 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: > {noformat} > [WARNING] Used undeclared dependencies found: > [WARNING] javax.activation:activation:jar:1.1:compile > {noformat} > 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)