eiffel-community / eiffel-remrem-publish

eiffel-remrem-publish
https://eiffel-community.github.io/eiffel-remrem-publish
Apache License 2.0
8 stars 77 forks source link

/version entrypoint is not working when executed with maven command #166

Open tobiasake opened 5 years ago

tobiasake commented 5 years ago

Description

"/version" entrypoint is not working when executed with maven command, "mvn spring-boot:run"

It seems that versions is retrieved from some manifest file which is available when RemRem-Publish is executed with the war file, but when it is executed with "mvn spring-boot:run" command, manifest file seems to be missing and version can not be retrieved.

Motivation

Exemplification

Benefits

Possible Drawbacks

jainadc9 commented 2 years ago

Hi,

The version endpoint fetches version information from manifest file. Manifest file is generated when jar is generated.

So it cant be generated while executing the maven spring-boot:run goal.

For the endpoint to work jar has to be generated and executed .