Skip to content

Commit 911d0f0

Browse files
committed
fix: modify version range for archetypes and samples to avoid 2.x release is picked up for 1.x
1 parent 336ebf0 commit 911d0f0

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

aws-serverless-jersey-archetype/src/main/resources/archetype-resources/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repositories {
77

88
dependencies {
99
implementation (
10-
'com.amazonaws.serverless:aws-serverless-java-container-jersey:[1.9,)',
10+
'com.amazonaws.serverless:aws-serverless-java-container-jersey:[1.9,2.0)',
1111
'com.fasterxml.jackson.core:jackson-databind:2.15.0',
1212
'io.symphonia:lambda-logging:1.0.3'
1313
)

aws-serverless-spark-archetype/src/main/resources/archetype-resources/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88
dependencies {
99
implementation (
1010
'com.sparkjava:spark-core:2.9.4',
11-
'com.amazonaws.serverless:aws-serverless-java-container-spark:[1.0,)',
11+
'com.amazonaws.serverless:aws-serverless-java-container-spark:[1.9,2.0)',
1212
'com.fasterxml.jackson.core:jackson-databind:2.15.0',
1313
'io.symphonia:lambda-logging:1.0.3'
1414
)

aws-serverless-spring-archetype/src/main/resources/archetype-resources/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies {
99
implementation (
1010
'org.springframework:spring-webmvc:5.3.31',
1111
'org.springframework:spring-context:5.3.31',
12-
'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)',
12+
'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.9,2.0)',
1313
'org.apache.logging.log4j:log4j-core:2.19.0',
1414
'org.apache.logging.log4j:log4j-api:2.19.0',
1515
'org.apache.logging.log4j:log4j-slf4j-impl:2.19.0',

aws-serverless-springboot2-archetype/src/main/resources/archetype-resources/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repositories {
99
dependencies {
1010
implementation (
1111
'org.springframework.boot:spring-boot-starter-web:2.7.18',
12-
'com.amazonaws.serverless:aws-serverless-java-container-springboot2:[1.0,)',
12+
'com.amazonaws.serverless:aws-serverless-java-container-springboot2:[1.9,2.0)',
1313
'io.symphonia:lambda-logging:1.0.3'
1414
)
1515

aws-serverless-struts-archetype/src/main/resources/archetype-resources/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ configurations {
1313

1414
dependencies {
1515

16-
implementation ('com.amazonaws.serverless:aws-serverless-java-container-struts:[1.0,)') {
16+
implementation ('com.amazonaws.serverless:aws-serverless-java-container-struts:[1.9,2.0)') {
1717
exclude group: 'org.apache.struts', module: 'struts2-core'
1818
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
1919
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'

samples/jersey/pet-store/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repositories {
77

88
dependencies {
99
implementation (
10-
'com.amazonaws.serverless:aws-serverless-java-container-jersey:[1.9,)',
10+
'com.amazonaws.serverless:aws-serverless-java-container-jersey:[1.9,2.0)',
1111
'com.fasterxml.jackson.core:jackson-databind:2.15.0',
1212
'io.symphonia:lambda-logging:1.0.3'
1313
)

samples/jersey/pet-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>com.amazonaws.serverless</groupId>
3636
<artifactId>aws-serverless-java-container-jersey</artifactId>
37-
<version>[1.9,)</version>
37+
<version>[1.9,2.0)</version>
3838
</dependency>
3939

4040
<dependency>

samples/spark/pet-store/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88
dependencies {
99
implementation (
1010
'com.sparkjava:spark-core:2.9.4',
11-
'com.amazonaws.serverless:aws-serverless-java-container-spark:[1.0,)',
11+
'com.amazonaws.serverless:aws-serverless-java-container-spark:[1.9,2.0)',
1212
'com.fasterxml.jackson.core:jackson-databind:2.15.0',
1313
'io.symphonia:lambda-logging:1.0.3'
1414
)

samples/spark/pet-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>com.amazonaws.serverless</groupId>
3636
<artifactId>aws-serverless-java-container-spark</artifactId>
37-
<version>[1.6,)</version>
37+
<version>[1.9,2.0)</version>
3838
</dependency>
3939

4040
<!-- https://mvnrepository.com/artifact/com.sparkjava/spark-core -->

samples/spring/pet-store/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies {
99
implementation (
1010
'org.springframework:spring-webmvc:5.3.31',
1111
'org.springframework:spring-context:5.3.31',
12-
'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)',
12+
'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.9,2.0)',
1313
'org.apache.logging.log4j:log4j-core:2.19.0',
1414
'org.apache.logging.log4j:log4j-api:2.19.0',
1515
'org.apache.logging.log4j:log4j-slf4j-impl:2.19.0',

samples/spring/pet-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>com.amazonaws.serverless</groupId>
3737
<artifactId>aws-serverless-java-container-spring</artifactId>
38-
<version>[1.9,)</version>
38+
<version>[1.9,2.0)</version>
3939
</dependency>
4040

4141
<dependency>

samples/springboot2/pet-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<dependency>
4545
<groupId>com.amazonaws.serverless</groupId>
4646
<artifactId>aws-serverless-java-container-springboot2</artifactId>
47-
<version>[1.6,)</version>
47+
<version>[1.9,2.0)</version>
4848
</dependency>
4949

5050
<!-- https://mvnrepository.com/artifact/io.symphonia/lambda-logging -->

samples/struts/pet-store/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ configurations {
1313

1414
dependencies {
1515
implementation (
16-
'com.amazonaws.serverless:aws-serverless-java-container-struts:[1.9,)',
16+
'com.amazonaws.serverless:aws-serverless-java-container-struts:[1.9,2.0)',
1717
'org.apache.struts:struts2-convention-plugin:6.3.0.2',
1818
'org.apache.struts:struts2-rest-plugin:6.3.0.2',
1919
'org.apache.struts:struts2-bean-validation-plugin:6.3.0.2',

samples/struts/pet-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<dependency>
3737
<groupId>com.amazonaws.serverless</groupId>
3838
<artifactId>aws-serverless-java-container-struts</artifactId>
39-
<version>[1.9,)</version>
39+
<version>[1.9,2.0)</version>
4040
</dependency>
4141

4242
<dependency>

0 commit comments

Comments
 (0)