antenna
antenna copied to clipboard
Additional Maven properties in AntennaGradlePlugin configuration
Summary of the Feature
In our project setup we want to use additional Maven properties with AntennaGradlePlugin, e.g. for disclosure document configuration:
<configuration> <!--Properties for Disclosure Document --> <productName>${project.artifactId}</productName> <productFullname>${project.name}</productFullname> <version>${project.version}</version>
Acceptance Criteria
- [ ] There is a solution to use basic properties like
artifactId
,name
orversion
of Gradle project in Antenna configuration file.
Definition of Done
- [ ] Acceptance criteria fulfilled
- [ ] A PR is created, the CI infrastructure reports green
- [ ] The PR is reviewed and approved
- [ ] No TODOs left in the code unless explained in the ticket, if something else is still open, this is summarized in a comment in the issue
- [ ] Test cases are created to prove the functionality of the feature
- [ ] Documentation is updated
Hi @volsus83,
actually the properties artifactId
and version
should be useable in your workflow.xml file. But atm we do not provide the name
property.
With the PR https://github.com/eclipse/antenna/pull/221 we introduced reading gradle properties file, probably this would be the way to define and user properties.
This feature will be available in the next version of antenna, which will be released this week.
Br bs-ondem
Hi @bs-ondem, thanks for your fast reply and your reference to #221. I suggest to keep this issue open until we have checked new feature in planned release.
Best regards