International-Data-Spaces-Association / Java-Representation-of-IDS-Information-Model

Apache License 2.0
2 stars 7 forks source link

Feature Request: Provide infomodel version #10

Open tmberthold opened 3 years ago

tmberthold commented 3 years ago

See feature request originally posted in Messaging-Services: https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/issues/249

DominikPinsel commented 3 years ago

Hello everyone,

looks like this issue is related to my problem. If not please tell me and I will open a new one. I’d also like to read the version of the information model from the information model java library.

Something like this:

BaseConnector.class.getPackage().getImplementationVersion()

At the time writing this call returns null.

This version is defined in the MANIFEST.MF of the JAR. It’s possible to configure this in the maven-jar-plugin. Here is the documentation of the plugin https://maven.apache.org/shared/maven-archiver/examples/manifest.html

Maybe you can add the version there and maybe this also solves the issue of @tmberthold ?

Greetings Dominik

Dominik Pinsel dominik.pinsel@daimler.com, Daimler TSS GmbH, legal info/Impressum

tmberthold commented 2 years ago

+1