Skip to content

Commit 38082c3

Browse files
committed
rollback double runtime
1 parent 146b6a8 commit 38082c3

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,20 @@
102102
</snapshotRepository>
103103
</distributionManagement>
104104

105+
<repositories>
106+
<repository>
107+
<id>ossrh-snapshots</id>
108+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
109+
<releases>
110+
<enabled>false</enabled>
111+
</releases>
112+
<snapshots>
113+
<enabled>true</enabled>
114+
<updatePolicy>always</updatePolicy>
115+
</snapshots>
116+
</repository>
117+
</repositories>
118+
105119
<dependencyManagement>
106120
<dependencies>
107121
<dependency>

powertools-e2e-tests/src/test/java/software/amazon/lambda/powertools/testutils/Infrastructure.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ public void destroy() {
204204
private Stack createStackWithLambda() {
205205
boolean createTableForAsyncTests = false;
206206
Stack stack = new Stack(app, stackName);
207+
207208
List<String> packagingInstruction = Arrays.asList(
208209
"/bin/sh",
209210
"-c",
@@ -515,7 +516,7 @@ private JavaRuntime mapRuntimeVersion(String environmentVariableName) {
515516
String javaVersion = System.getenv(environmentVariableName); // must be set in GitHub actions
516517
JavaRuntime ret = null;
517518
if (javaVersion == null) {
518-
throw new IllegalArgumentException("JAVA_VERSION is not set");
519+
throw new IllegalArgumentException(environmentVariableName + " is not set");
519520
}
520521
if (javaVersion.startsWith("8")) {
521522
ret = JavaRuntime.JAVA8AL2;

0 commit comments

Comments
 (0)