Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1959

improve eclipse feature projects to have them build ok in Eclipse without errors

    XMLWordPrintableJSON

Details

    Description

      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).

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: