You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2016/05/13 19:29:12 UTC

[jira] [Created] (UIMA-4933) Failure if parameter constant not defined in same file/class as configuration parameter

Richard Eckart de Castilho created UIMA-4933:
------------------------------------------------

             Summary: Failure if parameter constant not defined in same file/class as configuration parameter
                 Key: UIMA-4933
                 URL: https://issues.apache.org/jira/browse/UIMA-4933
             Project: UIMA
          Issue Type: Bug
          Components: uimaFIT-Maven-Plugin
            Reporter: Richard Eckart de Castilho
             Fix For: 2.3.0uimaFIT


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. 

{noformat}
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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)