You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2018/09/27 21:07:00 UTC

[jira] [Updated] (KNOX-1463) Use maven-dependency-plugin to ensure all dependencies are declared

     [ https://issues.apache.org/jira/browse/KNOX-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Risden updated KNOX-1463:
-------------------------------
    Attachment: KNOX-1463.patch
        Status: Patch Available  (was: In Progress)

This patch does the follow:
 * Enables maven-dependency-plugin for dependency analysis
 * Ignores declared but unused dependencies (Can look at this separately)
 ** Wanted to only add dependencies and not look to remove currently
 * Checks that all used dependencies are declared in the pom.xml
 ** This makes sure that all modules list the dependencies they use

A few things that this enables:
 * Checking that there aren't any surprise dependencies (like Guava - see for example KNOX-1467, KNOX-1468, and others)
 * Work towards removing dependencies (like not having both commons-lang and commons-lang3 ???)

> Use maven-dependency-plugin to ensure all dependencies are declared
> -------------------------------------------------------------------
>
>                 Key: KNOX-1463
>                 URL: https://issues.apache.org/jira/browse/KNOX-1463
>             Project: Apache Knox
>          Issue Type: Sub-task
>          Components: Build
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: 1.2.0
>
>         Attachments: KNOX-1463.patch
>
>
> https://maven.apache.org/plugins/maven-dependency-plugin/examples/failing-the-build-on-dependency-analysis-warnings.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)