Skip to content
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

[general] Add maven-enforcer-plugin #4897

Merged
merged 7 commits into from
Nov 20, 2024
Merged

Conversation

bigscoop
Copy link
Contributor

@bigscoop bigscoop commented Jun 7, 2024

  • Added maven-enforcer-plugin for all modules in order to automatically check dependency tree for inconsistencies
    For now there are 3 modules that do have unresolved inconsistencies, there the maven-enforcer-plugin is temporarily disabled. Will create corresponding issues and analyze the problem later.

  • Fixed

Warning:  The project org.knowm.xchange:xchange-parent:pom:5.1.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects.
For such purposes you should use the maven-enforcer-plugin.
See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html

by moving the prerequisite to maven-enforcer-plugin

  • Updated minimal required maven version

@timmolter timmolter merged commit 4da727e into knowm:develop Nov 20, 2024
1 check passed
@bigscoop bigscoop deleted the enforcer-plugin branch December 3, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants