Skip to content

Please correct instructions on how to test and build spring-data-mongodb locally #4372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
denis-zhdanov opened this issue Apr 25, 2023 · 1 comment
Assignees
Labels
type: documentation A documentation update

Comments

@denis-zhdanov
Copy link

Problem

Current sprng-data-mongodb documentation instructs to do the following:

1. docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-mongodb-github springci/spring-data-openjdk8-with-mongodb-4.0:latest /bin/bash

and then execute tests from docker. The problem is that it fails with the following error:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.132 s
[INFO] Finished at: 2023-04-25T01:03:54Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.3.0:enforce (enforce-maven-version) on project spring-data-mongodb-parent:
[ERROR] Rule 1: org.apache.maven.enforcer.rules.version.RequireJavaVersion failed with message:
[ERROR] Detected JDK version 1.8.0-222 (JAVA_HOME=/opt/java/openjdk/jre) is not in the allowed range [17,).

Task

Make sure that it's possible to test and build spring-data-mongodb locally using provided instructions

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 25, 2023
@christophstrobl
Copy link
Member

thanks @denis-zhdanov, right should be springci/spring-data-openjdk17-with-mongodb-5.0.3

@christophstrobl christophstrobl self-assigned this Apr 25, 2023
@christophstrobl christophstrobl added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 25, 2023
christophstrobl added a commit that referenced this issue May 23, 2023
@christophstrobl christophstrobl added this to the 4.2 M1 (2023.1.0) milestone May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

No branches or pull requests

3 participants