Elliotte Rusty Harold created MSHARED-1299:
----------------------------------------------

             Summary: Used and Unused javax.annotation-api dependency
                 Key: MSHARED-1299
                 URL: https://issues.apache.org/jira/browse/MSHARED-1299
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-dependency-analyzer
            Reporter: Elliotte Rusty Harold


See https://github.com/apache/maven-enforcer/pull/289 where this bug occurred.

A dependency on javax.annotation-api is indeed used by enforcer-rules/pom.xml. 
However, the dependency analyzer reports it as unused.

Might involve annotations with source only retention, except that if we remove 
the declaration then the dependency analyzer reports it as used but undeclared. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to