Skip to content

Commit eb5d5ee

Browse files
octonatofranciscolopezsancho
authored andcommitted
fix: update sample sdk version with sed (lightbend#160)
1 parent 396425a commit eb5d5ee

12 files changed

Lines changed: 20 additions & 77 deletions

File tree

.circleci/config.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -203,29 +203,25 @@ jobs:
203203
command: |
204204
cd samples/java-valueentity-shopping-cart
205205
echo "Running mvn with SDK version: '$SDK_VERSION'"
206-
mvn versions:set -DnewVersion=$SDK_VERSION
207-
mvn verify -Pit
206+
mvn -Dakkaserverless-sdk.version=$SDK_VERSION verify -Pit
208207
- run:
209208
name: Run integration tests for Shopping Cart Event Sourced Entity sample
210209
command: |
211210
cd samples/java-eventsourced-shopping-cart
212211
echo "Running mvn with SDK version: '$SDK_VERSION'"
213-
mvn versions:set -DnewVersion=$SDK_VERSION
214-
mvn verify -Pit
212+
mvn -Dakkaserverless-sdk.version=$SDK_VERSION verify -Pit
215213
- run:
216214
name: Run integration tests for Counter Value Entity sample
217215
command: |
218216
cd samples/valueentity-counter
219217
echo "Running mvn with SDK version: '$SDK_VERSION'"
220-
mvn versions:set -DnewVersion=$SDK_VERSION
221-
mvn verify -Pit
218+
mvn -Dakkaserverless-sdk.version=$SDK_VERSION verify -Pit
222219
- run:
223220
name: Run integration tests for Counter Replicated Entity sample
224221
command: |
225222
cd samples/replicatedentity-counter
226223
echo "Running mvn with SDK version: '$SDK_VERSION'"
227-
mvn versions:set -DnewVersion=$SDK_VERSION
228-
mvn verify -Pit
224+
mvn -Dakkaserverless-sdk.version=$SDK_VERSION verify -Pit
229225
- save_deps_cache
230226

231227
publish:

maven-java/akkaserverless-maven-archetype-event-sourced-entity/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<modelVersion>4.0.0</modelVersion>
33

44
<artifactId>akkaserverless-maven-archetype-event-sourced-entity</artifactId>
5-
<version>1.0-SNAPSHOT</version>
5+
<version>0.7.0-beta.15</version>
66
<packaging>maven-archetype</packaging>
77
<parent>
88
<groupId>com.akkaserverless</groupId>
99
<artifactId>akkaserverless-maven-java</artifactId>
10-
<version>1.0-SNAPSHOT</version>
10+
<version>0.7.0-beta.15</version>
1111
</parent>
1212

1313
<name>Akka Serverless Maven Archetype (Event Sourced entity)</name>

maven-java/akkaserverless-maven-archetype-value-entity/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<modelVersion>4.0.0</modelVersion>
33

44
<artifactId>akkaserverless-maven-archetype</artifactId>
5-
<version>1.0-SNAPSHOT</version>
5+
<version>0.7.0-beta.15</version>
66
<packaging>maven-archetype</packaging>
77
<parent>
88
<groupId>com.akkaserverless</groupId>
99
<artifactId>akkaserverless-maven-java</artifactId>
10-
<version>1.0-SNAPSHOT</version>
10+
<version>0.7.0-beta.15</version>
1111
</parent>
1212

1313
<name>Akka Serverless Maven Archetype (Value entity)</name>

maven-java/akkaserverless-maven-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
<groupId>com.akkaserverless</groupId>
88
<artifactId>akkaserverless-maven-plugin</artifactId>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>0.7.0-beta.15</version>
1010
<packaging>maven-plugin</packaging>
1111
<parent>
1212
<groupId>com.akkaserverless</groupId>
1313
<artifactId>akkaserverless-maven-java</artifactId>
14-
<version>1.0-SNAPSHOT</version>
14+
<version>0.7.0-beta.15</version>
1515
</parent>
1616

1717
<name>Akka Serverless Maven Plugin</name>

maven-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.akkaserverless</groupId>
77
<artifactId>akkaserverless-maven-java</artifactId>
8-
<version>1.0-SNAPSHOT</version>
8+
<version>0.7.0-beta.15</version>
99
<packaging>pom</packaging>
1010

1111
<url>https://www.lightbend.com/akkaserverless</url>

samples/java-customer-registry/pom.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<akkasls.dockerTag>${project.version}</akkasls.dockerTag>
1818
<akkasls.mainClass>customer.Main</akkasls.mainClass>
1919
<jdk.target>11</jdk.target>
20-
<akkaserverless-sdk.version>${project.version}</akkaserverless-sdk.version>
20+
<akkaserverless-sdk.version>0.7.0-beta.15</akkaserverless-sdk.version>
2121
<akka-grpc.version>1.1.1</akka-grpc.version>
2222
</properties>
2323

@@ -51,16 +51,6 @@
5151
</configuration>
5252
</plugin>
5353

54-
<plugin>
55-
<!--
56-
this plugin allow us to change the version of this projects and submodules
57-
we use it in CI to align the project with the current SDK version
58-
-->
59-
<groupId>org.codehaus.mojo</groupId>
60-
<artifactId>versions-maven-plugin</artifactId>
61-
<version>2.8.1</version>
62-
</plugin>
63-
6454
<plugin>
6555
<groupId>org.xolstice.maven.plugins</groupId>
6656
<artifactId>protobuf-maven-plugin</artifactId>

samples/java-eventing-shopping-cart/pom.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<akkasls.dockerTag>${project.version}</akkasls.dockerTag>
1919
<akkasls.mainClass>shopping.Main</akkasls.mainClass>
2020
<jdk.target>11</jdk.target>
21-
<akkaserverless-sdk.version>${project.version}</akkaserverless-sdk.version>
21+
<akkaserverless-sdk.version>0.7.0-beta.15</akkaserverless-sdk.version>
2222
<akka-grpc.version>1.1.1</akka-grpc.version>
2323
</properties>
2424

@@ -51,16 +51,6 @@
5151
<target>${jdk.target}</target>
5252
</configuration>
5353
</plugin>
54-
55-
<plugin>
56-
<!--
57-
this plugin allow us to change the version of this projects and submodules
58-
we use it in CI to align the project with the current SDK version
59-
-->
60-
<groupId>org.codehaus.mojo</groupId>
61-
<artifactId>versions-maven-plugin</artifactId>
62-
<version>2.8.1</version>
63-
</plugin>
6454

6555
<plugin>
6656
<groupId>org.xolstice.maven.plugins</groupId>

samples/java-eventsourced-shopping-cart/pom.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<jdk.target>11</jdk.target>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2121

22-
<akkaserverless-sdk.version>${project.version}</akkaserverless-sdk.version>
22+
<akkaserverless-sdk.version>0.7.0-beta.15</akkaserverless-sdk.version>
2323
<akka-grpc.version>1.1.1</akka-grpc.version>
2424
</properties>
2525

@@ -55,16 +55,6 @@
5555
</compilerArgs>
5656
</configuration>
5757
</plugin>
58-
59-
<plugin>
60-
<!--
61-
this plugin allow us to change the version of this projects and submodules
62-
we use it in CI to align the project with the current SDK version
63-
-->
64-
<groupId>org.codehaus.mojo</groupId>
65-
<artifactId>versions-maven-plugin</artifactId>
66-
<version>2.8.1</version>
67-
</plugin>
6858

6959
<plugin>
7060
<groupId>org.xolstice.maven.plugins</groupId>

samples/java-valueentity-shopping-cart/pom.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<jdk.target>11</jdk.target>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2121

22-
<akkaserverless-sdk.version>${project.version}</akkaserverless-sdk.version>
22+
<akkaserverless-sdk.version>0.7.0-beta.15</akkaserverless-sdk.version>
2323
<akka-grpc.version>1.1.1</akka-grpc.version>
2424
</properties>
2525

@@ -52,16 +52,6 @@
5252
<target>${jdk.target}</target>
5353
</configuration>
5454
</plugin>
55-
56-
<plugin>
57-
<!--
58-
this plugin allow us to change the version of this projects and submodules
59-
we use it in CI to align the project with the current SDK version
60-
-->
61-
<groupId>org.codehaus.mojo</groupId>
62-
<artifactId>versions-maven-plugin</artifactId>
63-
<version>2.8.1</version>
64-
</plugin>
6555

6656
<plugin>
6757
<groupId>org.xolstice.maven.plugins</groupId>

samples/replicatedentity-counter/pom.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<jdk.target>11</jdk.target>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2121

22-
<akkaserverless-sdk.version>${project.version}</akkaserverless-sdk.version>
22+
<akkaserverless-sdk.version>0.7.0-beta.15</akkaserverless-sdk.version>
2323
<akka-grpc.version>1.1.1</akka-grpc.version>
2424
</properties>
2525

@@ -52,16 +52,6 @@
5252
<target>${jdk.target}</target>
5353
</configuration>
5454
</plugin>
55-
56-
<plugin>
57-
<!--
58-
this plugin allow us to change the version of this projects and submodules
59-
we use it in CI to align the project with the current SDK version
60-
-->
61-
<groupId>org.codehaus.mojo</groupId>
62-
<artifactId>versions-maven-plugin</artifactId>
63-
<version>2.8.1</version>
64-
</plugin>
6555

6656
<plugin>
6757
<groupId>org.xolstice.maven.plugins</groupId>

0 commit comments

Comments
 (0)