Ability to specify version without name
- Dominant language
- Java
- Stars
- 71
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
It currently seems to not be possible to annotate a component with a version only and have uimaFIT fill in the rest.
**Describe the solution you'd like**
It should be possible to specify just `@ResourceMetaData(version = "6.5.1")` and have the uimaFIT enhance goal fill in the other values (in particular name) if the respective `overrideXXX` parameters are specified in the plugin configuration.
**Describe alternatives you've considered**
It could be nice if uimaFIT could pick up the version from a `@Version` annotation in the `package-info.java` file.
**Additional context**
Being able to override the version is kind of a workaround for https://github.com/bndtools/bnd/issues/6048
Contributor guide
Research direction
Start at the uimaFIT enhance goal and its plugin configuration, then trace how @ResourceMetaData values are processed. Verify support for version-only metadata, filling in the remaining values when the respective overrideXXX parameters are set; consider the package-info.java @Version alternative separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100