I tried to do a docker build using the Java/Swim Docker file. But I see a build failure
▶ docker build ./ -f ./java.Dockerfile -t java:greenhouse-node-v1
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> 1 actionable task: 1 executed
Could not resolve all files for configuration ':compileClasspath'.
> Could not find ai.swim:swim-server:3.9.2-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/ai/swim/swim-server/3.9.2-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/ai/swim/swim-server/3.9.2-SNAPSHOT/swim-server-3.9.2-SNAPSHOT.pom
- https://repo.maven.apache.org/maven2/ai/swim/swim-server/3.9.2-SNAPSHOT/swim-server-3.9.2-SNAPSHOT.jar
- https://oss.sonatype.org/content/repositories/snapshots/ai/swim/swim-server/3.9.2-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/ai/swim/swim-server/3.9.2-SNAPSHOT/swim-server-3.9.2-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/ai/swim/swim-server/3.9.2-SNAPSHOT/swim-server-3.9.2-SNAPSHOT.jar
Required by:
project :
> Could not find ai.swim:swim-client:3.9.2-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/ai/swim/swim-client/3.9.2-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/ai/swim/swim-client/3.9.2-SNAPSHOT/swim-client-3.9.2-SNAPSHOT.pom
- https://repo.maven.apache.org/maven2/ai/swim/swim-client/3.9.2-SNAPSHOT/swim-client-3.9.2-SNAPSHOT.jar
- https://oss.sonatype.org/content/repositories/snapshots/ai/swim/swim-client/3.9.2-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/ai/swim/swim-client/3.9.2-SNAPSHOT/swim-client-3.9.2-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/ai/swim/swim-client/3.9.2-SNAPSHOT/swim-client-3.9.2-SNAPSHOT.jar
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 21s
The command '/bin/sh -c /bin/bash -c './gradlew build -Pconfig=$CONFIG'' returned a non-zero code: 1