antenna icon indicating copy to clipboard operation
antenna copied to clipboard

Additional Maven properties in AntennaGradlePlugin configuration

Open volsusdev opened this issue 5 years ago • 2 comments

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 or version 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

volsusdev avatar Aug 06 '19 07:08 volsusdev

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

bs-ondem avatar Aug 06 '19 08:08 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

volsusdev avatar Aug 07 '19 07:08 volsusdev