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 2013/12/19 01:24:07 UTC

[jira] [Commented] (UIMA-3508) "generate" mojo adds source path to project, not resource path

    [ https://issues.apache.org/jira/browse/UIMA-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852383#comment-13852383 ] 

Richard Eckart de Castilho commented on UIMA-3508:
--------------------------------------------------

"generate" operates on the class files, thus it must run after the "compile" phase. However, resources are copied before the "compile" phase, so adding the output directory as a resource directory to the project will not work. Looks like "generate" must directly write its output to target/classes.


> "generate" mojo adds source path to project, not resource path
> --------------------------------------------------------------
>
>                 Key: UIMA-3508
>                 URL: https://issues.apache.org/jira/browse/UIMA-3508
>             Project: UIMA
>          Issue Type: Bug
>          Components: uimaFIT-Maven-Plugin
>    Affects Versions: 2.0.0uimaFIT
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>             Fix For: 2.0.1uimaFIT
>
>
> The "generate" mojo generates resource files (e.g. XML descriptors) - nothing that would compile. But it internally adds a source path to the project. The consequence is, that the generated resources show up in Eclipse as a source folder and appear ok, but in fact the generated resources do not end up in the JAR.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)