-
Notifications
You must be signed in to change notification settings - Fork 39
fix: set current sdk version using @project.version@ #154
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
Changes from all commits
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 |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ | |
| <jdk.target>11</jdk.target> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
|
|
||
| <akkaserverless-sdk.version>0.7.0-beta.10</akkaserverless-sdk.version> | ||
| <akkaserverless-sdk.version>@project.version@</akkaserverless-sdk.version> | ||
| <akka-grpc.version>1.1.1</akka-grpc.version> | ||
| <akka-streams.version>2.6.14</akka-streams.version> | ||
| <scala.binary.version>2.13</scala.binary.version> | ||
|
|
@@ -206,7 +206,7 @@ | |
| <plugin> | ||
| <groupId>com.akkaserverless</groupId> | ||
| <artifactId>akkaserverless-maven-plugin</artifactId> | ||
| <version>@project.version@</version> | ||
| <version>${D}{akkaserverless-sdk.version}</version> | ||
|
Contributor
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.
Member
Author
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 to avoid premature substitution. It's used everywhere in this file whenever we want the archetype to have a ${var}. However, it may not be needed. I can check it later, but don't want to change more than necessary here.
Member
Author
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.
Contributor
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. Trixy! |
||
| <executions> | ||
| <execution> | ||
| <goals> | ||
|
|
||
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.
Actually we had already a solution for this, but it was not being used for the sdk version, but only for the maven-plugin version.
We want sdk, testkit and maven-plugin to use
akkaserverless-sdk.versionand it's now set using@project.version@.