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

Add enforcer rule to fail when direct dependency <version> is declared #16

Open
ctrueden opened this issue Aug 10, 2018 · 0 comments
Open

Comments

@ctrueden
Copy link
Member

All dependency version declarations should be of the form:

<groupId>foo</groupId>
<artifactId>bar</artifactId>
<version>${bar.version}</version>

Otherwise, the melting-pot script, and potentially other tooling like that, will not be able to override the versions at build time.

It is really unintuitive though, so no one knows to do this without being told. Let's let the tooling tell people for us, by failing the build when this situation is detected.

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

No branches or pull requests

1 participant