Skip to content

Allow MAVEN_HOME or M2_HOME for integration tests #235

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

Merged
merged 3 commits into from
Jul 30, 2022

Conversation

cab105
Copy link
Contributor

@cab105 cab105 commented Jul 17, 2022

The IntegrationTestBaseClass is looking for the MAVEN_HOME environment variable, which only applies for Maven 1.x instead of M2_HOME which applies to Maven 2.x. This PR adds support for the second environment variable.

@cab105
Copy link
Contributor Author

cab105 commented Jul 17, 2022

This PR includes an additional fix to ensure the version of spring-boot-starter-parent exists in Maven Central (3.x doesn't according to https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent)

@cab105
Copy link
Contributor Author

cab105 commented Jul 18, 2022

That's my take. Okay let me take it out and verify.

@cab105 cab105 requested a review from fabapp2 July 18, 2022 17:36
@fabapp2 fabapp2 changed the title Fix integration test Allow MAVEN_HOME or M2_HOME for integration tests Jul 30, 2022
@fabapp2 fabapp2 merged commit 8bb5d8d into spring-projects-experimental:main Jul 30, 2022
@fabapp2 fabapp2 added the type: enhancement New feature or request label Sep 26, 2022
@fabapp2 fabapp2 added this to the v0.12.0 milestone Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants