Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tobiasake opened this issue Sep 2, 2019 · 1 comment
Open
Labels
bug Something is wrong and needs fixing.

Comments

@tobiasake
Copy link
Contributor

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

@tobiasake tobiasake added the bug Something is wrong and needs fixing. label Sep 2, 2019
@jainadc9
Copy link
Contributor

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong and needs fixing.
Projects
None yet
Development

No branches or pull requests

2 participants