Skip to content

Add additional metadata to the .pom files in the maven artifacts #4613

@EmanuelLoos

Description

@EmanuelLoos

Is your feature request related to a problem? Please describe.
In order for apps using wallet-core to be included in F-Droid, wallet-core needs to be published to a maven repository which F-Droid trusts, one option being mavenCentral. I did some testing using the artifacts from GitHub and found that the .pom files are missing some metadata required by mavenCentral.

Describe the solution you'd like

After the packaging and before the dependency tag add something like the following in the generated .pom file:

  <name>Trust Wallet Core</name>
  <description>Cross-platform, cross-blockchain wallet library.</description>
  <url>https://developer.trustwallet.com/wallet-core</url>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>FILL_OUT_NAME</name>
      <email>FILL_OUT_EMAIL</email>
      <organization>Trust Wallet</organization>
      <organizationUrl>https://trustwallet.com</organizationUrl>
    </developer>
  </developers>
  <scm>
    <url>https://github.com/trustwallet/wallet-core</url>
  </scm>

Describe alternatives you've considered
None.

Checklist

Resources

https://github.com/trustwallet/wallet-core/packages/700258
https://github.com/trustwallet/wallet-core/packages/1838567
https://github.com/trustwallet/wallet-core/packages/1784044
https://github.com/trustwallet/wallet-core/packages/1784039
https://github.com/trustwallet/wallet-core/packages/1784043
https://github.com/trustwallet/wallet-core/packages/1937616

Additional context

The email address provided in the metadata needs to have an OpenPGP key published on:

This key is needed for signing the artifacts as described in #4614

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions