Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Expose info.version as a param that can be passed in through the POM #57

Closed
quentin-sensome opened this issue Jul 31, 2018 · 6 comments
Closed
Assignees

Comments

@quentin-sensome
Copy link

quentin-sensome commented Jul 31, 2018

Hi,

It would be nice to be able to configure the version of the OpenAPI specifications via the pom.xml file. Something like this:

<plugin>
  <groupId>com.google.cloud.tools</groupId>
  <artifactId>endpoints-framework-maven-plugin</artifactId>
  <version>2.0.0</version>
  <configuration>
    <basePath>/_ah/api</basePath>
    <hostname>myapp.appspot.com</hostname>
    <info.version>1.0.0</info.version>
  </configuration>
</plugin>

As of now, it makes it quite difficult to use the plugin with configuration management tools, and forces to intervene manually in deployment pipelines to increment versions. Having the possibility to configure this would smoothen the process a lot.

@quentin-sensome quentin-sensome changed the title Expose info.title as a param that can be passed in through the POM Expose info.version as a param that can be passed in through the POM Jul 31, 2018
@patflynn
Copy link

@tangiel is this a parameter to the endpoints tool?

@tangiel
Copy link

tangiel commented Jul 31, 2018

Not at the moment.

@patflynn
Copy link

patflynn commented Jul 31, 2018 via email

@tangiel
Copy link

tangiel commented Aug 1, 2018

Yep.

@patflynn
Copy link

patflynn commented Aug 1, 2018

@quentin-sensome you may want to follow cloudendpoints/endpoints-java#156 to see if this gets prioritized.

@JoeWang1127
Copy link

close as not planned

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants