Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Copy link
Copy Markdown
Member Author

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.version and it's now set using @project.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>
Expand Down Expand Up @@ -206,7 +206,7 @@
<plugin>
<groupId>com.akkaserverless</groupId>
<artifactId>akkaserverless-maven-plugin</artifactId>
<version>@project.version@</version>
<version>${D}{akkaserverless-sdk.version}</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -206,7 +206,7 @@
<plugin>
<groupId>com.akkaserverless</groupId>
<artifactId>akkaserverless-maven-plugin</artifactId>
<version>@project.version@</version>
<version>${D}{akkaserverless-sdk.version}</version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${D}?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The 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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trixy!

<executions>
<execution>
<goals>
Expand Down