*Description:* I am encountering an issue with the Plexus Component 
Metadata plugin in my Maven project. The plugin is failing to generate 
metadata for correct Java syntax when using Checker Framework annotations, 
particularly @ArrayLen.

*Problem Description:* The issue arises with the @ArrayLen annotation and 
potentially other Checker Framework annotations. Despite using correct Java 
syntax, the Plexus Component Metadata plugin fails to generate the 
necessary metadata.

*Error Messages:*  Error generating metadata: : Failed to extract 
descriptors: syntax error @[43,40] in 
file:/home/rohanjha/OpenSourcProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/DefaultConfiguration.java
 
-> [Help 1]

Referred line :

 /** Constant for optimization. */
private static final Configuration @ArrayLen(0) [] EMPTY_CONFIGURATION_ARRAY 
=
new Configuration[0];

*Environment Details:*

   - Maven version: 3.8.4
   - Plexus Component Metadata Plugin version: 2.2.0
   - Checker Framework version: 3.44.0
   - Java version: 11
   - Operating System: Ubuntu 20.04

-- 
You received this message because you are subscribed to the Google Groups 
"mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojohaus-dev/4dc3b72d-df27-424f-b498-336183058898n%40googlegroups.com.

Reply via email to