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 2018/07/07 21:32:00 UTC
[jira] [Resolved] (UIMA-4934) Detect license text in JavaDoc
[ https://issues.apache.org/jira/browse/UIMA-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Eckart de Castilho resolved UIMA-4934.
----------------------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 2.5.0uimaFIT)
> Detect license text in JavaDoc
> ------------------------------
>
> Key: UIMA-4934
> URL: https://issues.apache.org/jira/browse/UIMA-4934
> Project: UIMA
> Issue Type: Improvement
> Components: uimaFIT-Maven-Plugin
> Reporter: Richard Eckart de Castilho
> Priority: Major
>
> The uimaFIT maven plugin tries to pick up the documentation of a component from the JavaDoc of the implementing class. However, if there is no JavaDoc for the class, but there is a JavaDoc-like license header at the beginning of the file, then this license header is picked up again.
> This can be fixed by:
> * adding JavaDoc for the class
> * using a line-comment or block-comment for the license header instead of a `/**`-like JavaDoc block
> Another option (which this bug is for) is for the uimaFIT plugin to allow configuring a regular expression which is matched against the JavaDoc comment. If the regex matches, then the JavaDoc would be classified as a license (or potentially other non-documentation item) and would be ignored. E.g.
> {noformat}
> <plugin>
> <groupId>org.apache.uima</groupId>
> <artifactId>uimafit-maven-plugin</artifactId>
> <configuration>
> <ignoreJavaDocMatching>.*Licensed to.*</ignoreJavaDocMatching>
> </configuration>
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)