chore: add Cloud Agent development environment (JDK 16 + Maven) - #43
Merged
Conversation
Co-authored-by: Alejandro Uribe Sánchez <alejouribesanchez@gmail.com>
alejouribesanchez
marked this pull request as ready for review
August 20, 2026 15:40
amaldona
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Cursor Cloud Agent development environment for
veryfi-javaso the repository is usable out of the box (build, tests, coverage)..cursor/Dockerfile— based on the officialmaven:3.8.5-eclipse-temurin-16image, pinning Eclipse Temurin JDK 16 + Maven 3.8.5, and addinggit/curlplus a non-rootubuntuuser. JDK 16 matches the project'smaven.compiler.targetand the JDK used by the GitHub Actions CI. JDK 16 (rather than a newer JDK such as 21) is required because JaCoCo0.8.7cannot instrument bytecode produced by newer JDKs..cursor/environment.json— runs as theubuntuuser, builds from the Dockerfile, and usesmvn -B -ntp -DskipTests packageas an idempotentinstallstep that warms the Maven local repository and compiles the project.This is a library SDK with no long-running services, so no
start/terminalscommands are needed. The end-to-end flow is exercised by the mocked JUnit test suite (141 tests).Validation
The committed Dockerfile image was built and the full flow was run inside the resulting container (fresh
~/.m2, dependencies pulled from Maven Central):.cursor/Dockerfile16.0.2(Temurin), Maven3.8.5, userubuntu,JAVA_HOME=/opt/java/openjdkinstall(mvn -B -ntp -DskipTests package)mvn -B -ntp testinstallidempotence