uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] Closed: (UIMA-1959) improve eclipse feature projects to have them build ok in Eclipse without errors
Date Thu, 02 Dec 2010 17:29:10 GMT

     [ https://issues.apache.org/jira/browse/UIMA-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marshall Schor closed UIMA-1959.
--------------------------------

    Resolution: Fixed

> improve eclipse feature projects to have them build ok in Eclipse without errors
> --------------------------------------------------------------------------------
>
>                 Key: UIMA-1959
>                 URL: https://issues.apache.org/jira/browse/UIMA-1959
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Build, Packaging and Test
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: build-parent-pom-2
>
>
> The feature.xml file needs to have the version of the feature (spelled using OSGi conventions,
not Maven conventions - meaning to use periods, not dashes) injected into the feature.xml
from the pom version.  This was being done by using Maven's "filtering" of resources specifying
this in the pom in a <resources> element with <filtering> set to true.
> This worked for building with Maven, but Eclipse builds didn't work - the project shows
an "error" because substitutable values aren't allowed in the feature.xml.
> Fix this by (a) moving the feature.xml to src/main/resources and adding a step to copy
it (for Eclipse to see and use) to the top level, with filtering.  
> Since this is common for all feature projects, add a profile for this in the project-wide
common parent, and activate it with a marker-file-identifying-eclipse-feature.
> (For now, also copy into feature projects until next project-wide pom is released).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message