Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
org.apache.uima.fit.maven.util.Util.getParameterDocumentation(JavaSource, String, String) fails with an IllegalArgumentException stating that the parameter constant cannot be found if that constant is defined in another class, e.g. in a superclass, an interface, etc. A warning may be sufficient in such a situation.
The following exception was generated while trying to use the maven-uimafit-plugin goal "enhance" on Apache cTAKES.
Caused by: java.lang.IllegalArgumentException: Parameter name constant [PARAM_WINDOW_ANNOT_KEY] in class [org.apache.ctakes.dictionary.lookup2.ae.AbstractJCasTermAnnotator] at org.apache.uima.fit.maven.util.Util.getParameterDocumentation(Util.java:95) at org.apache.uima.fit.maven.EnhanceMojo.enhanceConfigurationParameter(EnhanceMojo.java:453) at org.apache.uima.fit.maven.EnhanceMojo.execute(EnhanceMojo.java:263) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 31 more