elharo commented on PR #289:
URL: https://github.com/apache/maven-enforcer/pull/289#issuecomment-1712645957

   It is certainly used. I'm not sure why the dependency analyzer reports it as 
both used and unused. Likely a bug there I need to investigate:
   
   ```
   $ grep -R "import javax.annotation" .
   
./enforcer-api/src/main/java/org/apache/maven/enforcer/rule/api/EnforcerRuleHelper.java:import
 javax.annotation.Nonnull;
   
./enforcer-api/src/main/java/org/apache/maven/enforcer/rule/api/EnforcerRule.java:import
 javax.annotation.Nonnull;
   
./enforcer-api/src/main/java/org/apache/maven/enforcer/rule/api/EnforcerRule.java:import
 javax.annotation.Nullable;
   
./maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/internal/EnforcerRuleCache.java:import
 javax.annotation.PreDestroy;
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to