-
Notifications
You must be signed in to change notification settings - Fork 2k
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
KeyVault updating versions for release #3149
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<relativePath>../../pom.client.xml</relativePath> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @JonathanGiles do you know if having a reference a SNAPSHOT version for the parent pom will cause any issues for people consuming this JAR if we publish a non-SNAPSHOT version of these packages? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would rather that we start publishing releases of all 'pom' artifacts as releases, rather than snapshots. I am happy with versioning it as 1.0.0 or 1.0.0-rc1 (or -alpha1 / -beta1, but I think -rc1 is probably best). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So your suggesting that we also publish the parent poms at the same time? Would you suggest we do that as on-off or every time we publish a package? If we do it every time that would seem like we would need to version these parent POMs often. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would only publish new pom releases when they have changed. In the short term this will be more frequent than a bit further down the road when we reach more of a steady state. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And to clarify, yes, versions will increment each time and often. I am ok with that. I would like to ensure that all child modules kept current with the latest versions also (so when key vault depends on a newer version, we would also update batch, event hubs, etc). |
||
</parent> | ||
|
||
<version>1.2.0</version> | ||
<version>1.2.1</version> | ||
<groupId>com.microsoft.azure</groupId> | ||
<artifactId>azure-keyvault-parent</artifactId> | ||
<packaging>pom</packaging> | ||
|
@@ -34,7 +34,7 @@ | |
</scm> | ||
|
||
<properties> | ||
<azure-keyvault.version>1.2.0</azure-keyvault.version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason you aren't using this version in all the individual keyvault pom files that is importing this as a parent pom? That would reduce copy and paste effort. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After reading a little about using this approach it sounds like there are some weird issues so for now lets just make sure we update all the places. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is where having the versions.txt approach I discussed with @weshaggard would be very useful. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree. |
||
<azure-keyvault.version>1.2.1</azure-keyvault.version> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't update the parent pom version here like you did the other places.