-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Update swagger-parser to 2.0.1 #123
Conversation
This is a valid point. We can leave this PR open until the |
Definitely a valid point but I would suggest using the SNAPSHOT version of 2.0.1 so as to uncover potential issues before the official release. There were issues (regressions) upgrading to the latest swagger parser before and that's why we are using the latest SNAPSHOT version in the master to avoid running into similar issue. |
We can not have both requirements:
I tend to agree with @jimschubert. We will always have the case that we would like to test what will be impacted with the update of one of our dependencies. So we need to come up with a solution. Maybe a solution would be to rename on this branch our version to From time to time (daily for example) we merge We ask interested users to test the version This way we have a way to test |
Would it be out of the question to commit a local lib of the SNAPSHOT every 1-2 days? This way we would have repeatable builds, and still be able to evaluate the changes across branches. |
@jimschubert: I am sorry, but I do not understand what you mean... |
@jmini we can put the jar (and any transient SNAPSHOT jars) in a lib folder as unmanaged artifacts. They'd be in the class path and compiled into the shadow jar. I would need to see how to do this with maven and the plug-in. |
@jimschubert: I do not think that this is the maven way of handling dependencies. And yes, this will cause trouble with people testing the maven plugin (and overriding some dependencies in their pom). And having jars (binaries) committed in a git repo does not seems right. It is ok for the gradle-wrapper (that is project independent and almost always the same) but not for dependencies.
Because not having "1." is important for later investigations, I propose to go with "3.". |
Because
2.0.1
version of swagger-parser will be published soon (see swagger-api/swagger-parser#717) this PR give us a chance to test it in OpenAPI Generator before it is released.